Releases: adonisjs/core
Releases · adonisjs/core
Export assert and Secret helpers
- refactor: export assert helpers from assert submodule 669382c
- feat: export all assert helpers 4cc5fd5
- feat: re-export Secret 6a7d531
- feat: re-export some helpers from poppinss/utils (#4294) aff8634
What's Changed
- Re-export some helpers from poppinss/utils by @Julien-R44 in #4294
Full Changelog: v6.1.5-36...v6.1.5-37
Fix make commands to use unix path in import statements
- fix: convert import path to use unix slash 72413b9
Full Changelog: v6.1.5-35...v6.1.5-36
Add registerPolicies codemod
- refactor: make:provider command allow to skip registering provider a0eda84
- refactor: make:preload command allow to skip registering preload file 3c425d0
- fix: make:middleware to properly register nested middleware b2f62b2
- feat: add registerPolicies codemod 4280f5f
- refactor: remove ConfigureCommand.publishStub method fa6cf32
Full Changelog: v6.1.5-34...v6.1.5-35
Improvements and some breaking changes
Breaking changes
This release moves installPackages
and listPackagesToInstall
methods from the ConfigureCommand
to Codemods
class. As a result, existing packages using these methods to configure themselves will fail (until they are updated as well).
Rename container:resolved
event to container_binding:resolved
.
Features
- Add
importAll
helper in REPL. This allows importing all TypeScript files from a directory and assign the output to a variable. - Add
isCuid
method to check if value is a string formatted as a CUID.
Commits
- feat: add importAll REPL helper 434faf6
- refactor: handle usecase when configuring a non-existing module 11c5448
- refactor: export isCuid helper method 12d852a
- refactor: commands description, flags and aliases 45d8134
- chore: update assembler 4a98cae
- test: cleanup tests 26cf77d
- refactor: move all configure command actions to codemods module 1e608ab
- feat: allow creating validator for a resource 3bc53d1
- refactor: rename container:resolved event to container_binding:resolved 5ea7676
- refactor: rename preload stubs directory name a6ab2f4
- feat: export ace codemods 4a8643d
- feat: allow injecting Emitter, Application and Repl classes 4333db2
- chore: update dependencies e337d0d
Full Changelog: v6.1.5-33...v6.1.5-34
Fix incorrect event name and register middleware in stack
- fix: incorrect event name emitter after http request is finished 05ef96b
- refactor: import core providers using lazy functions 647834e
- feat(make:middleware): register middleware inside a stack dc9b37d
Full Changelog: v6.1.5-32...v6.1.5-33
Improvements and a couple of new features
- Add support to define action names when making a new controller. This is how command looks like
node ace make:controller index show
- Defer loading commands of an application, when the executed command is known and part of any installed package
- Toggle
usingVineJS
andusingEdgeJS
flags when respective service providers are imported. - Add an easy to use API to register middleware on a resource.
- Add codemods to register a Japa plugin
- Breaking changes in Events buffer API - https://github.com/adonisjs/events/releases/tag/v9.0.0-1
- Make registered transports inherit level from the logger level.
Commits
- ci: disable timeout for configure command fd23026
- ci: update node versions 06fe56a
- chore: update dependencies fc287aa
- chore: update peer dependencies 239f32a
- feat: report duration of starting the web process via ignitor 4e10ffd
- feat: add --force flag to force create files during configure command 2a029bb
- refactor: toggle usingVineJS and usingEdgeJS flags inside their service providers 8988cbb
- feat: allow defining actions for make:controller command d6a29fe
- refactor: experimental defer loading app commands when commandName is known e2d03e1
- chore: update dependencies ba4faad
Full Changelog: v6.1.5-31...v6.1.5-32
Allow unknown flags via configure command
Full Changelog: v6.1.5-30...v6.1.5-31
Merge bodyparser augmented types
- fix: merge bodyparser augmented types 16370b8
Full Changelog: v6.1.5-29...v6.1.5-30
Update http server dependency
- chore: update dependencies f041efe
Full Changelog: v6.1.5-28...v6.1.5-29
A little bug fix
- fix: module augementation references for the http module d87ea2f
Full Changelog: v6.1.5-27...v6.1.5-28