Skip to content

Releases: adonisjs/core

Add test_utils submodule

26 Jan 11:16
Compare
Choose a tag to compare
  • feat: add @adonisjs/core/test_utils submodule 9fa0de3
  • chore: update dependencies cdef23a

Full Changelog: v6.2.1...v6.2.2

Add all helpers to REPL context via loadHelpers method

22 Jan 13:11
Compare
Choose a tag to compare
  • refactor: update 'http:server_ready' event payload to include duration f5afe9c
  • feat: add all helpers to repl context via loadHelpers command 1e3d6e4
  • chore: update dependencies 6f60fee

Full Changelog: v6.2.0...v6.2.1

v6.2.0

08 Jan 03:09
Compare
Choose a tag to compare

Warning

During the public release on 24th of January, we will also create a proper changelog with a migration guide from AdonisJS v5 to AdonisJS v6. Even though the new version is public on npm, please do not install it until the migration guide is out.

Please consult the following releases to view the list of breaking changes and new additions.

Commits

  • chore: publish under the latest tag 31668b7
  • Merge pull request #4335 from adonisjs/next b7f8547
  • ci: update workflow file name 22f8e40
  • docs: update badges urls 66e96c7
  • Merge branch 'develop' into next 4d2026f
  • test: remove optional importer param 2f53731
  • test: do not use withCoreProviders method internally 05d56dd
  • chore: cleanup dependencies 9613852
  • refactor: remove ace shell child process runner 0a45d5b
  • feat: export types for helpers exported from poppinns/utils eeb31cf
  • refactor: remove deprecated type helpers usage 7b43060
  • chore: update dependencies 72fe65c
  • chore: update dependencies 87c2554
  • change: add PATCH as a default method for CORS headers (#4244) b5f0606
  • Update app.txt (#4169) 617200b
  • docs(contributing): fix content table link (#4085) a83daa3
  • Update README.md (#4069) 0ae2620
  • fix: default hasher mismatch fix (#4005) cbd734e

What's Changed

New Contributors

Full Changelog: v5.9.0...v6.2.0

Disable spinner when installing packages in verbose mode

26 Dec 12:37
Compare
Choose a tag to compare
  • test: fix breaking tests 5f89937
  • refactor: disable cliui spinner when running in verbose mode ee482c4

Full Changelog: v6.1.5-37...v6.1.5-38

Export assert and Secret helpers

26 Dec 08:55
Compare
Choose a tag to compare
Pre-release
  • 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

Full Changelog: v6.1.5-36...v6.1.5-37

Fix make commands to use unix path in import statements

25 Dec 13:45
Compare
Choose a tag to compare
  • fix: convert import path to use unix slash 72413b9

Full Changelog: v6.1.5-35...v6.1.5-36

Add registerPolicies codemod

25 Dec 13:05
Compare
Choose a tag to compare
Pre-release
  • 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

22 Dec 11:18
Compare
Choose a tag to compare
Pre-release

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

28 Nov 10:46
Compare
Choose a tag to compare
  • 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

23 Nov 07:36
Compare
Choose a tag to compare
  • 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 and usingEdgeJS 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