boxlang-express 0.2.32
Released .
- 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 insidetransaction {}, queries in any other request joined that transaction:isInTransaction()wastruethere, and a rollback in the first request undid the second request's writes. Each request now runs under aThreadBoxContextof its own, as do scheduled jobs, WebSocket callbacks andapp.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: anapp.inject()call no longer joins a transaction opened around it in a spec. Any app that uses transactions should upgrade.