Releases: adonisjs/core
OnHttpServerMessage hook
Changes
Added a new onHttpServerMessage
hook that can be used to intercept the message sent by your HTTP Server. This hook must be defined in the adonisrc.ts
file, like other hooks.
import { defineConfig } from '@adonisjs/core/app';
export default defineConfig({
unstable_assembler: {
onHttpServerMessage: [() => import('./my_http_server_message_hook.js')]
},
})
Commits
- feat: pass onHttpServerMessage hook from rcFile to assembler DevServer (82ecae3)
Full Changelog: v6.4.0...v6.5.0
Update Env module allowing us to use Identifier
- chore: remove support for VineJS 2.0 (b49f28f)
- chore: switch to release-it (0c9216d)
- chore: update dependencies (2d2bac7)
- chore: allow to use new VineJS major release (e1d0325)
- chore: allow to use new VineJS major release (071254f)
- refactor: pass flags and arguments as array in
ace
command (df6466d)
Fix `add` command
Changes
- The
ace add
command was incorrectly available under the nameace install
.ace add
command is now available
Commits
Full Changelog: v6.3.0...v6.3.1
New codemods APIs, ace add command, and experimental assembler hooks
Changes
-
We now have a
node ace add
command which allows you to install and configure a package. In a single command, where before you would have had to donpm install ...
thennode ace configure ...
. This will be documented in more detail in the coming days. See adonisjs/v6-docs#44 -
The Codemods API now exposes the
getTsMorphProject
method, which retrieves an instance of tsmorph. This allows package authors to have direct access to ts-morph when they need to perform more specific modifications in the end-user code. Documentation https://docs.adonisjs.com/guides/scaffolding#gettsmorphproject -
The Codemods API also introduces two new methods:
registerVitePlugin
andregisterJapaPlugin
. See documentation here: https://docs.adonisjs.com/guides/scaffolding#registerviteplugin -
Added experimental assembler hooks. These hooks must be defined in the
adonisrc.ts
file and enable certain pieces of code to be executed at specific times during the build or dev server lifecycle. This feature will be useful for the new Vite integration we are experimenting :// adonisrc.ts export default defineConfig({ unstable_assembler: { onBuildStart: [ () => import('@my-package/hooks/build_start') ], onBuildEnd: [ () => import('@my-package/hooks/build_end') ], onSourceFileChanged: [ () => import('@my-package/hooks/source_file_changed') ], onDevServerStart: [ () => import('@my-package/hooks/dev_server_start') ], } })
Commits
- ci: use
main
as reference for test job ee4baba - test: fix test that fails when runned locally cf79688
- ci: remove test job
next
reference 295061f - chore: migrate to husky 9 1ca3b45
- chore: update dependencies fdd332e
- chore: update minimum node version e33b342
- feat: add getTsMorphProject method (#4414) ee96efe
- feat: add registerVitePlugin and registerJapaPlugin (#4412) db03e4c
- feat: do not run assets bundler when disabled in rc file (#4429) be6ca03
- chore: add extraneous package c0a86f3
- feat: add hooks for build and dev server (#4428) ca600ce
- style: lint file f01d683
- feat: add
node ace add
command (#4296) e7c668c - fix: description of --api and --resource flags d83e970
- fix(commands): swapped description in make:controller 8848191
What's Changed
- fix(commands): swapped description -a & -r for make:controller by @Blackwidow-sudo in #4420
- Add an
node ace add
command by @Julien-R44 in #4296 - feat: add hooks for build and dev server by @Julien-R44 in #4428
- feat: do not run assets bundler when explicitely disabled in rc file by @Julien-R44 in #4429
- feat: add registerVitePlugin and registerJapaPlugin by @Julien-R44 in #4412
- feat: add getTsMorphProject method by @Julien-R44 in #4414
New Contributors
- @Blackwidow-sudo made their first contribution in #4420
Full Changelog: v6.2.3...v6.3.0
Respect singular CLI flag when creating a new controller
- fix: respect singular command flag to create singular controller 05d23e8
Full Changelog: v6.2.2...v6.2.3
Add test_utils submodule
Full Changelog: v6.2.1...v6.2.2
Add all helpers to REPL context via loadHelpers method
- refactor: update 'http:server_ready' event payload to include duration f5afe9c
- feat: add all helpers to repl context via loadHelpers command 1e3d6e4
- chore: update dependencies 6f60fee
Full Changelog: v6.2.0...v6.2.1
v6.2.0
Warning
During the public release on 24th of January, we will also create a proper changelog with a migration guide from AdonisJS v5 to AdonisJS v6. Even though the new version is public on npm, please do not install it until the migration guide is out.
Please consult the following releases to view the list of breaking changes and new additions.
- Breaking changes - https://github.com/adonisjs/core/releases/tag/v6.0.0-0
- New additions - https://github.com/adonisjs/core/releases/tag/v6.1.3-0
- New additions - https://github.com/adonisjs/core/releases/tag/v6.1.4-0
- Breaking changes - https://github.com/adonisjs/core/releases/tag/v6.1.5-5
- New additions - https://github.com/adonisjs/core/releases/tag/v6.1.5-9
- New additions - https://github.com/adonisjs/core/releases/tag/v6.1.5-16
- New additions - https://github.com/adonisjs/core/releases/tag/v6.1.5-18
Commits
- chore: publish under the latest tag 31668b7
- Merge pull request #4335 from adonisjs/next b7f8547
- ci: update workflow file name 22f8e40
- docs: update badges urls 66e96c7
- Merge branch 'develop' into next 4d2026f
- test: remove optional importer param 2f53731
- test: do not use withCoreProviders method internally 05d56dd
- chore: cleanup dependencies 9613852
- refactor: remove ace shell child process runner 0a45d5b
- feat: export types for helpers exported from poppinns/utils eeb31cf
- refactor: remove deprecated type helpers usage 7b43060
- chore: update dependencies 72fe65c
- chore: update dependencies 87c2554
- change: add PATCH as a default method for CORS headers (#4244) b5f0606
- Update app.txt (#4169) 617200b
- docs(contributing): fix content table link (#4085) a83daa3
- Update README.md (#4069) 0ae2620
- fix: default hasher mismatch fix (#4005) cbd734e
What's Changed
- fix: default hasher mismatch fix by @arabbani in #4005
- [ci skip] Fix badge for CI test in Readme by @Doc94 in #4069
- docs(contributing): fix content table link by @geetsww in #4085
- refactor: use
node:fs
instead offs-extra
by @targos in #4104 - feat: allow multiple ext for bundlers config file by @Julien-R44 in #4130
- feat: add
makeUsingStub
to BaseCommand by @Julien-R44 in #4147 - Update app.txt by @bartduisters in #4169
- feat: add
Configure.installPackages
method by @Julien-R44 in #4188 - feat: prompt environment in make:preload file by @Julien-R44 in #4187
- change: add PATCH as a default method for CORS headers by @mr-feek in #4244
- fix(stubs): use "import type" when possible by @RomainLanz in #4259
- Re-export some helpers from poppinss/utils by @Julien-R44 in #4294
- Time for final release by @thetutlage in #4335
New Contributors
- @arabbani made their first contribution in #4005
- @Doc94 made their first contribution in #4069
- @geetsww made their first contribution in #4085
- @bartduisters made their first contribution in #4169
- @mr-feek made their first contribution in #4244
Full Changelog: v5.9.0...v6.2.0
Disable spinner when installing packages in verbose mode
- test: fix breaking tests 5f89937
- refactor: disable cliui spinner when running in verbose mode ee482c4
Full Changelog: v6.1.5-37...v6.1.5-38
Export assert and Secret helpers
- refactor: export assert helpers from assert submodule 669382c
- feat: export all assert helpers 4cc5fd5
- feat: re-export Secret 6a7d531
- feat: re-export some helpers from poppinss/utils (#4294) aff8634
What's Changed
- Re-export some helpers from poppinss/utils by @Julien-R44 in #4294
Full Changelog: v6.1.5-36...v6.1.5-37