boxlang-express 0.2.3
Released .
- Fix:
res.render()on BoxLang 1.17.0 was still broken after 0.1.8's fix —app.set("views", dir)registered the required mapping, butRequestBoxContext.getConfig()memoizes its merged config struct on first read and never invalidates it. The context that runsapp.bxs(captured bylisten()when it buildsHttpBridge, then reused for every request afterward) may have already read+cached its config via an earlierapp.use()/route call before the mapping was registered — so the mapping was live on the runtime'sConfigurationbut invisible to every request'sinclude, andrender()kept failing exactly as before.app.set("views", dir)now also callsgetBoxContext().clearConfigCache()right after registering the mapping, forcing that context to pick it up. Verified end-to-end against a real running server on BoxLang 1.17.0+58 — every route serving a view now returns 200 instead of 500.