You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed: transaction {} leaked into every concurrent request
(models/IsolatedContext.bx). All requests ran under the BoxLang
context of the script that built the app, and BoxLang keeps the open
transaction and its connection on the context. While one request was
inside transaction {}, queries in any other request joined that
transaction: isInTransaction() was true there, and a rollback in the
first request undid the second request's writes. Each request now runs
under a ThreadBoxContext of its own, as do scheduled jobs, WebSocket
callbacks and app.ws() upgrade middleware, so JDBC state is private to
each and its connections are released when it ends. About 13
microseconds a request. Changed behaviour: an app.inject() call no
longer joins a transaction opened around it in a spec. Any app that uses
transactions should upgrade.