Releases: adonisjs/assembler
Releases · adonisjs/assembler
Codegen utilities addition, few breaking changes and many small improvements
8.0.0 (2026-02-25)
Check 8.0.0 pre-releases to get a better sense of what's added and changed
Breaking changes
- In this release we have renamed the following hooks and added a few new one's.
- onSourceFileChanged + fileChanged - onDevServerStarted + devServerStarted - onBuildCompleted + buildFinished - onBuildStarting + buildStarting + fileAdded + fileRemoved + devServerStarting + testsStarting + testsFinished
- Support Node 24 and above
- Use
@poppinss/ts-execinstead ofts-node - Remove concept of assets bundler in favor of inbuilt integration with Vite
Features
- add helpers to extract class methods, validator direct usage and method arguments (73ab533)
- add paths resolver (af7ce8d)
- add routes scanner (b6a4926)
- add support for invalidating controllers (1c57e01)
- add dev server shortcuts (#83) (fcef8f4)
- makeEntityIndex: allow transforming name and output (194861c)
What's Changed
- Refine Wording When Copying ace.js by @marcuspoehls in #81
- feat: add dev server shortcuts by @Julien-R44 in #83
- fix: extractor bug regex by @Julien-R44 in #84
- fix: move watcher to assembler and send IPC messages for file changes by @Julien-R44 in #85
- feat: improve codemod errors and support custom directories by @RomainLanz in #86
- feat: add raw assembler hooks and imports to rcFile by @kerwanp in #87
- feat: add comment option to IndexGeneratorSource by @kerwanp in #89
New Contributors
- @marcuspoehls made their first contribution in #81
- @kerwanp made their first contribution in #87
Full Changelog: v7.8.2...v8.0.0
Allow adding comments to auto generated files using the IndexGenerator
8.0.0-next.33 (2026-02-12)
Features
- add comment option to IndexGeneratorSource (#89) (4037aab)
- allow comment flag to be a boolean (c5a7932)
What's Changed
Full Changelog: v8.0.0-next.32...v8.0.0-next.33
Bug fixes in choosing VITE_HMR_PORT and ValidatorExtractor
8.0.0-next.32 (2026-02-01)
Bug Fixes
- await getRandomPort method call (02c92fc)
- support ctx.request.validateUsing with ValidatorExtractor (dd07eb2)
Full Changelog: v8.0.0-next.31...v8.0.0-next.32
Add more codemods
8.0.0-next.31 (2026-01-22)
Features
- add codetransformer.addControllerMethod codemod (adfc592)
- add codetransformer.addLimiter codemod (040e0b7)
- add CodeTransformer.addValidator codemod (1c3a8e8)
- add support for applying mixins to a model (d66f850)
Full Changelog: v8.0.0-next.30...v8.0.0-next.31
Choose random VITE_HMR_PORT and inject DEV_MODE environment variable to dev server process
Choose random VITE_HMR_PORT and inject DEV_MODE environment variable to dev server process
Pre-release
Pre-release
8.0.0-next.30 (2026-01-10)
Features
- remove noisy logs of index generator initial generation (71921ce)
- use a random VITE_HMR_PORT and inject DEV_MODE env var when running dev server (443ffc9)
Full Changelog: v8.0.0-next.29...v8.0.0-next.30
New codemods
8.0.0-next.29 (2026-01-07)
Features
Improve codemod errors and read custom directories from adonisrc.ts file
8.0.0-next.28 (2025-12-31)
Features
What's Changed
- feat: improve codemod errors and support custom directories by @RomainLanz in #86
Full Changelog: v8.0.0-next.27...v8.0.0-next.28
Use `InferInput` instead of `Infer` for Routes Scanner
Add support for filtering routes via RoutesScanner
8.0.0-next.26 (2025-12-18)
Features
- export filter function to filter out routes from being processed (3fc4a6c)
Full Changelog: v8.0.0-next.25...v8.0.0-next.26
Share hooks with the init hook to allow registering additional hooks 😅
8.0.0-next.25 (2025-12-18)
Features
- remove skip array rules in favor of filterFn in routes scanner (954b673)
- share hooks instance with the init hook (2c6bc0d)
Full Changelog: v8.0.0-next.24...v8.0.0-next.25