Skip to content

Releases: adonisjs/core

Allow bun and pnpm@6 when using "ace add" command

22 Jun 04:44
Compare
Choose a tag to compare
  • chore: run tests before publishing package (5bf81d0)
  • fix: add command to allow bun and pnpm@6 (2e74375)
  • chore: update dependencies (8cc09c2)

Full Changelog: v6.12.0...v6.12.1

Update health checks setup and add support for bun to install dependencies

19 Jun 04:38
Compare
Choose a tag to compare
  • chore: upgrade to latest version of health checks (00bbbd6)
  • chore: add bun support for ace add (#4607) (57a81f7)
  • feat: create health checks controller when configuring health checks (f494c52)

What's Changed

New Contributors

Full Changelog: v6.11.0...v6.12.0

Add support for configuring health checks via configure command

16 Jun 06:23
Compare
Choose a tag to compare

Run the following command with the latest release to configure health checks

node ace configure health_checks

Commits

  • feat: add support to configure health checks via configure command (6fc19a3)
  • chore: update dependencies (dede44f)

Fix publish path of health checks module

09 Jun 15:55
Compare
Choose a tag to compare
  • fix: path of health module (d0ad21d)

Full Changelog: v6.10.0...v6.10.1

Add and export health module

09 Jun 15:40
Compare
Choose a tag to compare

This release introduces the new health module. The docs will follow soon.

Commits

  • feat: add and export health module (bce2b76)
  • chore: update dependencies (0cc018e)

Full Changelog: v6.9.1...v6.10.0

Stable assembler hooks

02 Jun 10:54
Compare
Choose a tag to compare

Changes

  • Assembler hooks are now stabilized. See the upgrade guide here. The unstable_assembler property is retained for backwards compatibility, but will be removed in a future minor release.
  • node ace add now support Yarn Berry

Commits

  • chore: update dependencies (430482f)
  • refactor: move to stable assembler hooks (bb24b7f)
  • chore: update dependencies (f00fd9a)
  • chore(commands): continue by default installation of packages (c48e72b)
  • fix: yarn berry support (#4586) (bdda97a)

What's Changed

New Contributors

Full Changelog: v6.9.0...v6.9.1

Add env:add command to define environment variable and its validation rules

30 Apr 08:44
Compare
Choose a tag to compare
  • Merge pull request #4533 from adonisjs/feat/set-env (c8251b5)
  • fix: fix breaking test (d80d7bf)
  • refactor: defineEnvVariables with omitFromExample (9cd7183)
  • feat: insert empty example in the .env.example (5a1a4e9)
  • feat: add env:add command (4508128)

Full Changelog: v6.9.0...v6.9.0

Moving HMR out of experimental phase

22 Apr 07:00
Compare
Choose a tag to compare

The support for HMR is now stable and you can start using it. For existing projects, you must upgrade the @adonisjs/core and the @adonisjs/assembler packages to their latest releases before you can start using the HMR mode.

This is what you need to do.

npm i -D hot-hook @adonisjs/assembler@latest
npm i @adonisjs/core@latest

Next update the package.json file with the following configuration

"hotHook": {
    "boundaries": [
      "./app/controllers/**/*.ts",
      "./app/middlewares/*.ts"
    ]
  }

And start the HTTP server as follows.

node ace serve --hmr

If you use npm scripts, then make sure to update the dev script as well in the package.json file.

{
  "scripts": {
    "dev": "node ace serve --hmr"
  }
}

Commits

  • chore: update dependencies (c370640)
  • refactor: move from --unstable-hmr to --hmr (40a85f9)

Full Changelog: v6.7.1...v6.8.0

Add a specific citgm script

16 Apr 08:13
a3a5e1e
Compare
Choose a tag to compare

Commits

  • chore: update dependencies (ab98096)
  • chore: add a citgm script (51d5c27)

Full Changelog: v6.7.0...v6.7.1

Experimental support for HMR

15 Apr 10:58
Compare
Choose a tag to compare

Alright, so we have finally landed support for HMR in experimental mode. Once you upgrade the @adonisjs/core and the @adonisjs/assembler packages to their latest releases, you can start using the HMR mode.

This is what you need to do.

npm i -D hot-hook @adonisjs/assembler@latest
npm i @adonisjs/core@latest

Next update the package.json file with the following configuration

"hotHook": {
    "boundaries": [
      "./app/controllers/**/*.ts",
      "./app/middlewares/*.ts"
    ]
  }

And start the HTTP server as follows.

node ace serve --unstable-hmr

If you use npm scripts, then make sure to update the dev script as well in the package.json file.

{
  "scripts": {
    "dev": "node ace serve --unstable-hmr"
  }
}

Commits

  • Merge pull request #4504 from adonisjs/feat/hmr (e472091)
  • refactor: remove unused symbols (fbdae40)
  • chore: update dependencies (4a9d201)
  • Merge branch 'develop' into feat/hmr (9b2aadc)
  • refactor: move to --unstable-hmr flag (cdc266a)
  • test: add test (6c2bff9)
  • feat: add serve --hmr flag (3e11c21)

What's Changed

Full Changelog: v6.6.0...v6.7.0