Skip to content

Releases: rooseveltframework/roosevelt

0.16.2

13 Mar 13:15
e51c6fe
Compare
Choose a tag to compare
  • Added deprecation check for old compiler sub modules.
  • Various dependencies bumped.

0.16.1

28 Feb 13:04
51a5881
Compare
Choose a tag to compare
  • Stopped the config auditor from complaining about obsolete scripts.
  • Fixed cases where some CLI flags weren't being applied to config.
  • Test fixes.
  • Various dependencies bumped.

0.16.0

19 Feb 19:04
a36bf27
Compare
Choose a tag to compare
  • Replaced browserify with webpack. This has significant breaking API changes. You will need to totally rewrite your JS bundles from browserify bundles to webpack bundles to upgrade to this version of Roosevelt. It is also recommended that you remove all references to old build artifacts such as .build and .bundled in your application as well from package.json, .gitignore, etc.
  • Eliminated concept of separate JS compilers in favor of declaring this via your webpack config. Note: webpack defaults to minifying JS using terser.
  • Eliminated concept of CSS preprocessor middleware modules in favor of built-in support for LESS, Sass, and Stylus. Other CSS preprocessors can be used as well with a bit of extra configuration.
  • API changes:
    • Removed symlinkToPublic, compiler, output, whitelist, and blacklist params from js.
    • Replaced js.bundles with js.webpack.
    • Removed css.symlinkToPublic.
    • Replaced css.compiler.params.cleanCSS with css.minifier.
    • Added css.compiler.enable.
    • Replaced css.compiler.nodeModule with css.compiler.module.
    • Replaced css.compiler.params with css.compiler.options.
    • css.output is now relative to publicFolder instead of staticsRoot.
    • clientViews.output is now relative to publicFolder instead of staticsRoot.
    • Removed cleanTimer (Obsolete in absense of .build).
  • App cleaner has been removed.
  • source-configs integration is now more tightly knit.
  • Config auditor no longer complains about missing params.
  • Auditor now checks config params on a case-by-case basis.
  • ES6 style variables can now be used in rooseveltConfig referencing other rooseveltConfig entries.
  • Introduced views bundler: An API that allows you to expose view code to frontend JS for client-side templating.
  • Added a button to the validation error page to display the page anyway and another button to disable the validator entirely until the server restarts.
  • Fixed bug with frontend reload causing it to inject the script tag in the wrong location in some situations.
  • Fixed bug where router would cause app routes to fail when no controller files exist.
  • Fixed bug where auto build scanner would crash the app when generateFolderStructure is false.
  • Fixed bug which resulted in a cryptic error if a Roosevelt app was moved to another directory.
  • Fixed bug where symlink failed errors would appear when generateFolderStructure is false.
  • Complete rewrite of HTML validator and related helper scripts.
  • Refactored multipart middlware.
  • Various dependencies bumped.
  • CI improvements.
  • Many rewritten tests.

0.15.1

09 Nov 19:08
ff742b1
Compare
Choose a tag to compare
  • Fixed bug causing apps to crash in dev mode.
  • Various dependencies bumped.

0.15.0

02 Nov 04:58
4f7e567
Compare
Choose a tag to compare
  • Moved CSS minification from roosevelt-less to Roosevelt using clean-css as a direct dependency. The clean-css library had an update with breaking changes so the rooseveltConfig params in advanced and aggressiveMerging in cleanCSS are now outdated.
  • New default script npm run proddev: Runs the app in production mode, but with the public folder hosted by the Roosevelt app. This is useful for doing development in production mode without having to stage a complex simulation of your production environment, which would likely include hosting static files via another web server better-suited to serving statics like Apache or nginx.
  • Roosevelt now sources configs internally using source-configs.
  • Validator will now be disabled if HTTP_PROXY or HTTPS_PROXY are set but localhost is not in NO_PROXY.
  • Fixed a bug where not having devDependencies or dependencies objects in your app's package.json would throw errors when installing dependencies. Accordingly re-reverted most changes in 0.14.1 to fix buggy behavior with devDependencies in npm installs.
  • The check-dependencies call will now only apply to production dependencies.
  • Some internal refactoring to clean things up.
  • Various dependencies bumped.

0.14.6

10 Jul 16:00
e7c9d8c
Compare
Choose a tag to compare
  • Fixed a bug that caused devDependencies of Roosevelt to be removed if npm i was run more than once.
  • Fixed a bug that caused the automated testing to break if your clone of Roosevelt was not named "roosevelt."
  • Various dependencies bumped.

0.14.5

20 Jun 05:51
0f3d475
Compare
Choose a tag to compare
  • staticsSymlinksToPublic will now create missing subdirectories necessary to create a symlink in a target location.
  • Fixed a bug which caused Java hs_err_pid error logs to pile up in your app directory under certain conditions.
  • Fixed a bug which caused frontend reload to not work on the various error pages.
  • Added code comment above frontend reload script tag to explain that it is injected by Roosevelt.
  • Did some copyediting on frontend reload logging.
  • Various dependencies bumped.

0.14.4

13 Jun 16:13
3c2d0e3
Compare
Choose a tag to compare
  • Added automatic browser reloading when your frontend code changes (via reload).
  • A console warning will now appear explaining why public static assets don't load in prod mode when alwaysHostPublic is set to false (the default).
  • New Express variable added: routes containing a list of all routes loaded in the application.
  • Various dependencies bumped.
  • CI improvements.

0.14.3

01 Jun 22:44
284d6dc
Compare
Choose a tag to compare
  • Restored move of several things to devDependencies to shrink production builds. Feature is now activated using ROOSEVELT_DEPLOYMENT environment variable. There are also new corresponding npm run commands dev-install and dev-prune to manage this. See README for more details.
  • Copyediting on several logs to improve clarity.
  • Various dependencies bumped.
  • CI improvements.

0.14.2

21 May 01:32
5ab8c72
Compare
Choose a tag to compare
  • Reverted most changes in 0.14.1 to fix #713, but preserved modularization of htmlValidator.js so that if any devDependencies are missing, the app will not crash in production mode.
  • Various dependencies bumped.