Releases: adonisjs/application
Stable major release
Please check the following releases to learn more about the breaking changes between @adonisjs/application@6
and @adonisjs/application@8
.
- Breaking changes - https://github.com/adonisjs/application/releases/tag/v6.0.0-0
- Breaking changes - https://github.com/adonisjs/application/releases/tag/v6.3.0-0
- New additions - https://github.com/adonisjs/application/releases/tag/v6.5.0-0
- New additions - https://github.com/adonisjs/application/releases/tag/v6.6.0-0
- Breaking changes - https://github.com/adonisjs/application/releases/tag/v6.7.0-0
- Breaking changes - https://github.com/adonisjs/application/releases/tag/v6.8.0-0
- Breaking changes - https://github.com/adonisjs/application/releases/tag/v7.1.2-11
- Breaking changes - https://github.com/adonisjs/application/releases/tag/v7.1.2-14
Additional breaking changes
- This release removes support for string based providers, commands and preload files. They must be defined as dynamic import functions inside the
.adonisrc.ts
file.
Commits
- chore: publish under latest tag f53d510
- Merge pull request #27 from adonisjs/next a070ef0
- chore: add application file removed during merge 07ff4d8
- Merge branch 'develop' into next ca498c7
- refactor: deprecate contractsPath method a3af5da
- refactor: remove support for string based providers, commands and preload files 601f0a3
- feat: add additional words to the list of singular controller names d4e9949
- chore: update dependencies c8a00fa
- chore(release): 5.3.0 53216e1
- chore(package): update dependencies a2d73e9
- feat: add
assetsDriver
to the RcFile properties (#24) f8e1bed - fix: add missing
inTest
method typing (#25) 61718f3
What's Changed
- refactor: use builtin
fs/promises
instead offs-extra
by @targos in #26 - Merge to develop for final release by @thetutlage in #27
New Contributors
- @thetutlage made their first contribution in #27
Full Changelog: v5.3.0...v8.0.0
Update fold
- chore: update dependencies fc77e76
Full Changelog: v8.0.0-4...v8.0.0-5
Add validator action name generator
- chore: update fold 2a0d47e
- refactor: validateName generator and add validatorActionName generator 4337662
Full Changelog: v8.0.0-3...v8.0.0-4
Make application class macroable
- refactor: make application class macroable 772b2a1
- chore: update dependencies 0ecd2d9
- chore: update dependencies 46c84a6
Full Changelog: v8.0.0-2...v8.0.0-3
Add new properties and support for app/mails directory
- feat: add support for mails directory and generator c84ac0f
- feat: add app.usingVineJS and app.usingEdgeJS flags f43df04
- chore: publish source maps and use tsc for generating types f59b632
- chore: update dependencies 7c00b78
Full Changelog: v8.0.0-1...v8.0.0-2
Export generators from main entrypoint
The generators
are imported internally by the Application class, hence having a sub-module export for them does not serve any purpose.
This release exports the generators
from the main module and removes the /generators
sub-module.
- import generators from '@adonisjs/application/generators'
+ import { generators } from '@adonisjs/application'
Commits
- refactor: improve error message when copying non-existing stubs 578d81f
- refactor: export generators from the main module 3ba036c
Full Changelog: v8.0.0-0...v8.0.0-1
Breaking change to our stubs system
This release changes they way we export variables from a stub.
Earlier, we were using YAML frontmatter to export variables from a stub. However, I had a realization that using YAML for this simple task was an overkill. Also, the js-yaml
package imports esprima (a JavaScript AST parser)
. Basically, we had a full-blown JS + YAML parser in place to export a couple of variables from stubs.
---
to: {{ app.makePath('app/controllers/foo.ts') }}
---
In this release, we get rid of YAML parsing altogether and use a simple function to define exports. For example:
{{{
exports({
to: app.makePath('app/controllers/foo.ts')
})
}}}
As a result, processing stubs is faster and the bundle size is small. I agree, bundle size is not an issue, but why pack bloat, when you do not need it :)
Difference in bundle size
Earlier

Now

Commits
- refactor: get rid of the front matter and use a dedicated exports function 62cdaf8
- fix: escape frontmatter json before parsing it 0447130
- refactor: split contents by windows and unix new lines 38245ec
- ci: add log messages to debug ci issues b8b96e6
- refactor: use EOL when parsing front-matter 7340791
- ci: fix failing test in ci 0b7c191
- ci: fix failing test in ci 8d16b67
- input: refactor: remove front-matter package in favor of custom,simple implementation c38ba2c
- refactor: rename exceptions.ts to errors.ts 5f238ec
- chore: use tsup for bundling 31ec5b7
- chore: update dependencies c94637d
Full Changelog: v7.1.2-16...v8.0.0-0
Allow a partial list of directories when using defineConfig method
- refactor: allow a partial list of directories in RCFileInput e087867
Full Changelog: v7.1.2-15...v7.1.2-16
Remove RC File JSON Schema
Full Changelog: v7.1.2-14...v7.1.2-15
Remove support for loading .adonisrc.json file
- refactor: remove support for loading .adonisrc.json file db92990
Full Changelog: v7.1.2-13...v7.1.2-14