Skip to content

Releases: adonisjs/assembler

Codegen utilities addition, few breaking changes and many small improvements

25 Feb 05:23

Choose a tag to compare

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-exec instead of ts-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

Full Changelog: v7.8.2...v8.0.0

Allow adding comments to auto generated files using the IndexGenerator

12 Feb 10:47

Choose a tag to compare

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

  • feat: add comment option to IndexGeneratorSource by @kerwanp in #89

Full Changelog: v8.0.0-next.32...v8.0.0-next.33

Bug fixes in choosing VITE_HMR_PORT and ValidatorExtractor

01 Feb 07:24

Choose a tag to compare

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

22 Jan 18:11

Choose a tag to compare

Add more codemods Pre-release
Pre-release

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

10 Jan 10:58

Choose a tag to compare

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

07 Jan 18:14

Choose a tag to compare

New codemods Pre-release
Pre-release

8.0.0-next.29 (2026-01-07)

Features

  • add CodeTransform addNamedImport, addDefaultImport and raw assembler hooks (#87) (c17c6a9)

Improve codemod errors and read custom directories from adonisrc.ts file

31 Dec 12:46

Choose a tag to compare

8.0.0-next.28 (2025-12-31)

Features

  • improve codemod errors and support custom directories (#86) (b855b2b)

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

19 Dec 10:12

Choose a tag to compare

8.0.0-next.27 (2025-12-19)

Bug Fixes

  • use InferInput instead of Infer within RoutesScanner (7337ca5)

Add support for filtering routes via RoutesScanner

18 Dec 04:29

Choose a tag to compare

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 😅

18 Dec 04:02

Choose a tag to compare

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