Skip to content

Releases: adonisjs/core

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

Allow unknown flags via configure command

25 Oct 05:43
Compare
Choose a tag to compare
  • refactor: allow unknownFlags in configure command 6ef6e04
  • chore: update dependencies 7179a48

Full Changelog: v6.1.5-30...v6.1.5-31

Merge bodyparser augmented types

20 Oct 16:34
Compare
Choose a tag to compare
Pre-release
  • fix: merge bodyparser augmented types 16370b8

Full Changelog: v6.1.5-29...v6.1.5-30

Update http server dependency

19 Oct 14:55
Compare
Choose a tag to compare
Pre-release
  • chore: update dependencies f041efe

Full Changelog: v6.1.5-28...v6.1.5-29

A little bug fix

19 Oct 04:03
Compare
Choose a tag to compare
A little bug fix Pre-release
Pre-release
  • fix: module augementation references for the http module d87ea2f

Full Changelog: v6.1.5-27...v6.1.5-28

Breaking changes

18 Oct 04:27
Compare
Choose a tag to compare
Breaking changes Pre-release
Pre-release

The following breaking changes only impact you if you are using the Alpha release. We have communicated with the alpha testers with in-depth post related to the following breaking changes.

  • Use config providers for the hash config
  • Remove YAML front matter from stubs
  • Remove HTTP service provider

Commits

  • fix: register edge templates under metaFiles to be copied in prod build 2e3fff4
  • test: increase codemods timeouts 164775e
  • test: increase codemods timeouts c304024
  • fix: export hash drivers helper 9ecf151
  • fix: typing issues 0ec2dee
  • chore: update peer dependencies range 0b99ef9
  • chore: export hash/phc_formatter 03eb01c
  • refactor: remove stubs factory from the core main factories export c714b64
  • refactor: share emitter with the BaseEvent class 0f75edd
  • refactor: export env/editor fd6234a
  • fix: module augmentation code 70d4871
  • refactor: merge http_service_provider with app_provider 6c247fc
  • refactor: get rid of drivers collection and use config providers 819b5bf
  • refactor: update stubs to use newer exports API cb9b434
  • chore: update dependencies 9dc8520
  • fix(stubs): use "import type" when possible (#4259) 5f1d994
  • chore: pin swc version 6974d65
  • fix: do not overwrite inline error reporters and messages provider 17a2b3a

What's Changed

Full Changelog: v6.1.5-26...v6.1.5-27

Update dependencies

06 Sep 12:55
Compare
Choose a tag to compare
Update dependencies Pre-release
Pre-release
  • chore: update application and http-server packages e0087cf
  • chore: update dependencies 4b83925

Full Changelog: v6.1.5-25...v6.1.5-26

Update range of peer dependencies

04 Sep 11:36
Compare
Choose a tag to compare
Pre-release
  • chore: update dependencies 89ce087

Full Changelog: v6.1.5-24...v6.1.5-25