Skip to content

Releases: adonisjs/assembler

Update Env module allowing us to use Identifier

30 Mar 15:43
Compare
Choose a tag to compare
  • chore: migrate to release-it (b573ce2)
  • chore: migrate to release-it (3d75537)
  • chore: bump node version (5589087)
  • chore: update dependencies (00b4217)

Fix addVitePlugin when using defineConfig

29 Feb 20:20
Compare
Choose a tag to compare
  • fix(codemods): fails to add Vite plugin when using defineConfig 0e92531

Full Changelog: v7.2.2...v7.2.3

Hooks fix

26 Feb 14:59
Compare
Choose a tag to compare
  • test: increase timeouts for hooks registering tests a0612a2
  • fix: wait for assembler hooks node to be resolved de9a026

Full Changelog: v7.2.1...v7.2.2

DevServer hooks bugfix

24 Feb 14:33
Compare
Choose a tag to compare
  • test: use another port in dev server test 92eb2c6
  • fix: dev hooks not executing 6304c94

Full Changelog: v7.2.0...v7.2.1

Hooks and Codemods

24 Feb 11:41
Compare
Choose a tag to compare

Changes

This version adds several new features:

  • An addVitePlugin method in the Codemods API that can be used by package creators to add a new Vite plugin to the end-user configuration
  • Makes the project property of the codemods api public. This allows package authors to have direct access to ts-morph when they need to perform more specific modifications in the end-user code.
  • Added bundler and dev server hooks. See #75

Commits

  • feat: add bundler and dev server hooks (#75) 38a2835
  • refactor: make project public 5a476d6
  • chore: update readme db8b35a
  • feat: add addVitePlugin method 95f0cfa

What's Changed

Full Changelog: v7.1.1...v7.2.0

Rewrite builded Ace file

29 Jan 12:57
Compare
Choose a tag to compare

During the build process, we now rewrite from-scratch the ace.js file included in the build folder so as to remove all references to ts-node. That way, you can now run node ace my-command in your build project without having to install ts-node.

See this issue that explains the problem : adonisjs/core#4361

Warning

Any modifications to the ace.js file will be lost during the build process since the file is rewritten from scratch. If you want to have any additional code that runs before Ace starts, you should instead do it inside the bin/console.ts file.

Commits

  • test: fix wrong test assertion adcc145
  • refactor: rewrite builded ace file (#67) a2801ff
  • chore: update dependencies fa322d7

v7.1.0...v7.1.1

Disable experimental warnings

19 Jan 04:45
Compare
Choose a tag to compare

As of today, TSNode exports a loader hook which must be applied using the --loader Node.js CLI flag. However, the --loader flag was experimental and emits a warning. This release disables that warning for a nicer CLI experience.

With that said, we are waiting on Ts-node to export an import hook that can be applied using the --import Node.js CLI flag and then we can safely remove the flags in use to suppress warnings.

Commits

  • test: fix breaking test 6f28f35
  • refactor: disable loader warnings e74612b
  • chore: update dependencies 4744ee1

v7.0.0...v7.1.0

Stable major release

08 Jan 01:18
14aab7b
Compare
Choose a tag to compare

Please consult the following release to learn more about the breaking changes

Commits

  • chore: publish under latest tag 22d6926
  • Merge pull request #66 from adonisjs/next 14aab7b
  • Merge branch 'develop' into next 9a8d68e
  • test: fix failing tests a02eaf5
  • refactor: remove usage --expiremental-meta-resolve flag 831d361
  • chore: bundle types.ts file via tsup as well b4ed967
  • chore: update dependencies 7dad0d4
  • chore(release): 5.9.6 5f23411
  • test: fix breaking tests 0572331
  • refactor: install @japa/runner@2.5.1 as the latest one is ESM only 330aa21
  • chore: add engine key 7189b93
  • chore: update dependencies 189d7b9
  • fix: remove deprecated string options on examples d261515
  • chore: update dependencies 4f11032

What's Changed

New Contributors

Full Changelog: v5.9.6...v7.0.0

Add addPolicies codemod

25 Dec 12:26
Compare
Choose a tag to compare
Pre-release
  • docs: fix incorrect method name dec6700
  • feat: add addPolicy codemod 49cea4d

Full Changelog: v7.0.0-0...v7.0.0-1

v7.0.0-0

20 Dec 08:24
Compare
Choose a tag to compare
v7.0.0-0 Pre-release
Pre-release

Breaking changes

  • Renamed assets.serve property to assets.enabled. Since the same property is used by the bundler, the serve is not an appropriate name.
  • The addJapaPlugin method now accepts an array of import declarations. Earlier it was a single import declaration as an object.

Features

  • Use package detection when copying lockfiles to the build folder.

Commits

  • test: update snapshots 9f7860f
  • refactor: ignore snapshots from prettier e408ab1
  • test: fix test broken on windows f455e35
  • refactor: fix linting errors ba48335
  • refactor: small internal refactors and add documentation 05ba15b

What's Changed

  • Bundler automatically detect used package manager by @Julien-R44 in #65

Full Changelog: v6.1.3-29...v7.0.0-0