Releases: adonisjs/application
Adding additional ways to resolve paths
Added support for tmp
directory and tmpPath
, which generates the path to the tmp directory.
Also, added a new method makePathFromCwd
, which uses the project root directory and not the build root directory as the base path
Removing container binding
Application shouldn't make the decision to bind self to the container and must be done by the consumer of the module
- refactor: do not bind self to container 987d8f9
Adding `isReady` and `isShuttingdown` flags
Using package.json to fetch the app name and version
Introducing another place to maintain the application name and version wasn't a great choice. Instead, we have removed the need of adding them to .adonisrc.json
file and instead using package.json
file to fetch the app name, version and @adonisjs/core
version.
- chore(package): set github repo links 61e7ac9
- docs(readme): update docs with recent changes ff372ae
- refactor: accept pkg file to read name,version and adonis version 849a659
- refactor(rcFile): remove name and version in favor of package.json file be6d1b8
- refactor: add comments to application properties ced3825
- chore(package): update dependencies cf6caa6
- chore(deps-dev): update cz-conventional-changelog requirement fro… (#12) 49201bf
- chore(deps-dev): update cz-conventional-changelog requirement b042b13
Dependency updates
Commits:
- chore(package): adding @adonisjs/fold as a peer dependency 4a93b11
- chore(deps-dev): update husky requirement from ^2.3.0 to ^3.0.0 (#3) 2cf767b
- chore(deps-dev): update @adonisjs/fold requirement from ^5.0.9 to… (#5) 9302194
- chore(deps-dev): update typedoc-plugin-markdown requirement from ^… (#7) 44d81d2
- chore(deps-dev): update typedoc-plugin-markdown requirement c415ad3
- chore(deps-dev): update @adonisjs/fold requirement from ^5.0.9 to ^6.1.0 fff7129
- chore(deps-dev): update husky requirement from ^2.3.0 to ^3.0.0 e6da732
Commit Range:
v1.0.3...master
Support for app version and better version parsing
In this release, we rename the version
property to adonisVersion
and the version
now indicates the application version defined inside .adonisrc.json
file.
The application and Adonis version are parsed by semver and you can lookup the different properties on the version object to make version related decisions.
Also, two new environment variables will be set
appName
property from.adonisrc.json
file is used to setAPP_NAME
environment variableversion
property from.adonisrc.json
file is used to setAPP_VERSION
environment variable.
Commits:
- docs(readme): add maintainers 1d7436e
- docs: update docs 40f93bb
- feat: parse adonisVersion and app version 6671d78
- refactor: cleanup readme, and remove adonis typings 34baf4d
- chore(package): update dependencies 666ea0d
Commit Range:
v1.0.2...master
Finalizing rcFile contents
In this release, we swap intent
with environment
inside .adonisrc.json
file. The environment
is used by the application
instance as well and feels more consistent.
Also, adonisrc.schema.json
file is added for VScode autocomplete
Commits:
- feat: add adonisrc.schema.json file to vscode visual editing 5e5f382
- refactor: use environment over intent for preload node 75103fd
Commit Range:
v1.0.1...master
Support for configurable start directory
Along with all directories, now users can also define the start
directory via .adonisrc.json
file.
Commits:
- feat: add support for configurable start directory 92034c7
Commit Range:
v1.0.0...master