Update dependency roosevelt to v0.33.2 - #829
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/roosevelt-0.x
branch
from
August 24, 2026 07:39
e3e46c4 to
9bda62e
Compare
renovate
Bot
force-pushed
the
renovate/roosevelt-0.x
branch
from
August 25, 2026 12:07
9bda62e to
7a3fc34
Compare
renovate
Bot
force-pushed
the
renovate/roosevelt-0.x
branch
from
August 26, 2026 19:33
7a3fc34 to
8e0915e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.31.8→0.33.2Release Notes
rooseveltframework/roosevelt (roosevelt)
v0.33.2Compare Source
v0.33.1Compare Source
--buildand-bcommand line flags starting a server instead of only running the build. Serving a static site was added in 0.33.0 by keying offmakeBuildArtifactsbeingstaticsOnly, which is also what--buildsets, so the two behaviors could not be told apart and--buildbegan serving the app it had just built.buildOnlyparam, which is what--buildand-bset now. What gets built and whether the app then serves it are separate questions, so they are separate params. CallinginitServer(init) rather thanstartServerdoes the same thing and is the better fit for a build script that drives Roosevelt directly.v0.33.0Compare Source
watchStaticsparam, defaulted to true. In development mode Roosevelt now rebuilds your static files as you edit the files they are built from, then tells the browser to reload. To migrate:js json. Otherwise it restarts your whole app the moment a static file changes and wins the race, so the rebuild never gets to happen and you keep paying for a full restart.watchStatics.enableto false to prefer the old behavior.onStaticsRebuiltevent, fired after a rebuild and before the browser reloads, for build work of your own that Roosevelt knows nothing about.roosevelt-blocklistcomment on their first line, which is also what keeps them from being served as pages.onBeforeStaticsnow also fires before each rebuild performed by thewatchStaticsfeature.startServerwhenmakeBuildArtifactsis set tostaticsOnlyso that it will serve a static site the same as any other app.onBeforeStaticsfiring after thecopyandsymlinks.engine(path, options, callback), so any engine Express itself would accept can build a page.v0.32.0Compare Source
expressVersionparam from your Roosevelt config if it is present.rooseveltConfig.jsrather thanrooseveltConfig.json, which means it can hold comments, real numbers and booleans instead of strings that get converted, and code, which matters because some config options might need to contain things JSON cannot express which before could only be done by overriding the config in your app in Roosevelt's constructor. To migrate, runnpx roosevelt-migrate-configin your app directory, then delete the old file.csrfProtection.requireTokenstotrueto keep them working.requireTokensset totrueif anything untrusted is hosted on a subdomain you share. That is the only way to stop an untrusted request coming from another subdomain of your own site, because browsers report those the same way they report your own pages.csrfProtection.exemptions.csrfProtection.requireTokensto"whenHeaderMissing"if you need to support browsers too old to report where a request came from, since they are otherwise refused.csrfProtection.trustedOriginsto allow another site you expect requests from, such as a payment provider posting back to your app.csrfProtection.blockCrossSiteRequests, which defaults totrue. Set it tofalseto stop asking, which leaves your app protected only by whateverrequireTokensis set to.expressSessionconfig does not setcookie.sameSite, since that setting is one of the protections against another site making requests as your logged in users.js.webpackwithjs.bundler, which takesenableandmodule. For example"bundler": { "enable": true, "module": "webpack" }.js.webpack.bundlesorjs.customBundler.bundlesup tojs.bundles.js.webpack.customBundlerFunctionorjs.customBundler.customBundlerFunctionwithjs.customBundlerFunction. There is now one place to supply your own bundler rather than two.js.customBundlerparam was removed. Choosing a bundler and supplying your own are no longer separate settings.outputsandsourceslisting the files it wrote and read. Do that and Roosevelt will skip the bundle on the next start when none of those files changed, which previously only worked with webpack.terser-webpack-plugin. If you want to use it, you will need to add it as a dependency if your app.better-sqlite3to 13.x. That release no longer ships prebuilt binaries, so it is compiled when you install it, which needs Python and a C++ compiler whatever you develop on. See getting started docs for info on how to install that on your system.!support from wildcard rules, such as the ones incsrfProtection.exemptionsandfrontendReload.exceptionRoutes. They no longer read a leading!as meaning "everything except this." A rule written that way now matches nothing instead of nearly everything, so any route that was being skipped because of one will start being checked again.expressSessionStore.maxInactivity. This will probably be seen more as a bug fix than a breaking change for most apps, but if you prefer or your app depends on sessions pretty much never expiring, you may want to setexpressSessionStore.maxInactivityto 11 years to restore the old behavior and to match theexpressSession.cookie.maxAgedefault.expressSessionStore.presetOptions.ttlandexpressSessionStore.presetOptions.max. Neither was ever read by the session store Roosevelt ships, so removing them changes no behavior; delete them from your config. UseexpressSessionStore.maxInactivityto say how long an abandoned session is kept.css.compilerwithout settingcss.compiler.module, set it to"less"to keep what you had.clientControllers.defaultBundledefaulting toviews.js, which is the same filename the views bundler defaults to, so an app that turned onexposeAllfor both without naming its bundles had them written to the same file. It now defaults tocontrollers.js, as the documentation always said.logging,formidable, andbodyParser.urlEncodedlosing their other defaults when an app supplied only part of one. Settinglogging.methods.infotofalseused to leavelogging.methods.httpunset, which switched off HTTP logging for an app that never asked for that. Roosevelt now fills in whatever you left out, matching how params such ascssandhttpalready behaved, and options it knows nothing about are still passed through untouched.trustProxyparam, which tells Roosevelt how many web servers sit in front of your app so it can work out who is really calling. It defaults to"auto", which means Roosevelt picks:1inproduction-proxymode, which is the mode that says a web server sits in front of your app, andfalseeverywhere else. With it set,req.ipis the visitor rather than your own web server, and Roosevelt can tell that a visitor arrived over HTTPS even though the app itself was handed a plain HTTP request.scriptsentry in yourpackage.json:npx roosevelt-generate-certs,npx roosevelt-generate-secrets,npx roosevelt-generate-session-secret, andnpx roosevelt-migrate-config. You can delete the matchingscriptsentries from your app.logging.quieterStartupparam which shows notices that repeat on every start at most once a day rather than every time, to cut down on console noise while developing. Off by default. Notices that report an actual problem always print. Can also be set with the--quieter-startupor-qcommand line flags or theQUIETER_STARTUPenvironment variable.incrementalBuildsparam. Set tofalseto rebuild everything on every start.expired.clearoption of the SQLite session store to be ignored, making it impossible to switch off the clearing of expired sessions.terser-webpack-pluginamong its own dependencies, and Roosevelt was loading that plugin directly to configure minification. Roosevelt no longer loads it at all, because Webpack minifies in production on its own.testIfSymlinksWorkfile behind in your project.js.customBundlerFunction.html.folderPerPageparam was set to an improperly formatted string, or to a value that is neither a boolean nor a string. Such values now fall back to the default destination.NODE_PORTenvironment variable to blank out the configured HTTP port.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.