Releases: adonisjs/core
Update dependencies
6.14.1 (2024-10-09)
Full Changelog: v6.14.0...v6.14.1
Add support for dd and dump helpers
The dd
helper can be used like console.log
but it provides a better visual experience and also comes with a HTML printer. The helper throws an exception and self handles itself to render the dumped value inside the browser (during an HTTP request) or in the console (default output).
You can use the dd
helper as follows.
import { dd } from '@adonisjs/core/services/dd'
dd(someValue)
The same helper is available in Edge template as @dd
tag. Also, within Edge templates you may use the @dump
to inspect a value without throwing an exception.
{{-- Dump and halt rendering --}}
@dd(someValue)
{{-- Dump and continue rendering --}}
@dump(someValue)
Bug Fixes
- handle case where stdout.columns can be undefined (437cb2d)
- handle case where whitespace is a negative value (638c457)
- handle NaN value case (619a3a8)
- use poppinss/colors as styleText is not widely supported (2a491ec)
Features
- add dumper and upgrade edge.js with new stacks functionality (f6e05ba)
- improve dd output and add edge plugin (9b18e6a)
Full Changelog: v6.13.1...v6.14.0
Keep APP_KEY as an empty value within the .env.example file
Use Ace Kernel errorHandler when running commands
Features
- use kernel errorHandler to handle errors (daa475e)
What's Changed
- chore: upgrade install-pkg by @benmccann in #4709
New Contributors
- @benmccann made their first contribution in #4709
Full Changelog: v6.12.1...v6.13.0
Allow bun and pnpm@6 when using "ace add" command
- 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
- 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
- Add bun support for ace add by @ShahriarKh in #4607
New Contributors
- @ShahriarKh made their first contribution in #4607
Full Changelog: v6.11.0...v6.12.0
Add support for configuring health checks via configure command
Fix publish path of health checks module
- fix: path of health module (d0ad21d)
Full Changelog: v6.10.0...v6.10.1
Add and export health module
This release introduces the new health module. The docs will follow soon.
Commits
Full Changelog: v6.9.1...v6.10.0
Stable assembler hooks
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