Skip to content

Supercharge Application

Choose a tag to compare

@thetutlage thetutlage released this 24 Sep 10:26

Up until now, the Application was just responsible for making paths to certain directories and namespaces. After this application, the application itself is capable of booting the entire AdonisJS app. It will

  • Process the environment variables (using @adonisjs/env module)
  • Process config (using @adonisjs/config module)
  • Setup logger and profiler (So that the boot process also writes log and profile actions)
  • Register/boot providers
  • Require preload files

This change will make it easier for 3rd party modules to boot an app like environment, register their provider and write tests.

Commits

  • test: add tests for normalizing nodeEnvironment 930f7fd
  • chore: publish package with next tag 3cade9f
  • feat: Application can now handle booting the app 814500b
  • chore(package): update dependencies f3e0b7f
  • chore(deps): bump minimist from 1.2.0 to 1.2.5 (#16) 8e95800

v2.0.0...v3.0.0