Releases: Pop-Code/nestjs-console
Releases · Pop-Code/nestjs-console
Release v10.0.0
- Support nestjs v11
- Support commander v12 & v13
- Update dependencies
- Update node engine to be >= v20 (required by commander nestjs@11)
Release v9.0.0
Release v7.0.1
What's Changed
- Bump ansi-regex from 5.0.0 to 5.0.1 by @dependabot in #391
- Bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #370
- Bump path-parse from 1.0.6 to 1.0.7 by @dependabot in #352
- Bump glob-parent from 5.1.1 to 5.1.2 by @dependabot in #328
- Bump lodash from 4.17.20 to 4.17.21 by @dependabot in #313
- Add commander version as direct dependency
- Update dependencies
- Remove node engine from the runtime requirements
Full Changelog: v7.0.0...v7.0.1
Release v7.0.0
Release v6.0.0
What's Changed
- Migrate to Nest8 by @Minishlink in #335
New Contributors
- @Minishlink made their first contribution in #335
Full Changelog: v5.0.1...v6.0.0
Release v5.0.1
BREAKING CHANGE
- Signature of
@Consoledecorator has been updated.
ConsoleOptions has been replaced by CreateCommandOptions, to update from ^4.0.0 you simply have to change propertynamebycommand.
eg:@Console({name: "myCommand"})=>@Console({command: "myCommand"}) - Command handler signature has changed. Options are now passed to the handler. See the command handler signature for more details
- Commander@< 7.2.0 is not any more supported. Please upgrade to latest version
npm install commander@^7.2.0or using yarnyarn add commander@^7.2.0 - The helper formatResponse has been removed
Changed
- Update tests
- Remove calls to
command.exitOverride()to simplify code - Native errors handling with commander
- update docs
- update dependencies
- Update to work with commander@7.2.0
Added
- All commands and sub commands are stored in the ConsoleService and can be found using the
ConsoleService.getCommand(name: string). Name is a command path separated by dots. eg:parent.command.subcommand - Sub commands can now be registered on other subCommand without any args. If a parent command define options, they can be retrieved using
command.parent.opts()inside the executed subCommand. This allow you to create group of command with global options based on parent options
What's Changed
- fix typo by @n0mer in #214
- add missing comma by @n0mer in #215
- Fix typos in readme by @marojeee in #227
- Bump @types/node from 14.11.8 to 14.14.11 by @dependabot in #259
- Update readme. Add app.close() before process.exit(). by @muhdfaiz in #276
- Update README. Add await for app.close() by @Dador in #283
- Bump node-notifier from 8.0.0 to 8.0.1 by @dependabot in #263
- Bump highlight.js from 10.2.1 to 10.4.1 by @dependabot in #255
- Bump @typescript-eslint/parser from 4.4.1 to 4.15.2 by @dependabot in #289
- v5.0.0 by @Rmannn in #304
New Contributors
- @n0mer made their first contribution in #214
- @marojeee made their first contribution in #227
- @muhdfaiz made their first contribution in #276
- @Dador made their first contribution in #283
Full Changelog: v4.0.0...v5.0.1
Release v4.0.0
BREAKING CHANGE: Remove Pretiier format helpers and use JSON.stringify instead to reduce package size. chore: update dependencies chore: Bump version docs: update docs
Release v3.1.2
chore: update deps and add dependabot
Release v3.1.1
Changed
Update dependencies
Update commander to v6
Added
Support required options (Warning, required options means option is required not the value. To force a required value use instead [option])
Release v3.0.6
Update actions