Skip to content

Releases: Pop-Code/nestjs-console

Release v9.0.0

16 Jul 01:59
c2cd90b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.0.1...v9.0.0

Release v7.0.1

25 Nov 10:04
Compare
Choose a tag to compare

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

28 Jul 11:57
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.0...v7.0.0

Release v6.0.0

10 Jul 09:22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.0.1...v6.0.0

Release v5.0.1

20 May 20:37
Compare
Choose a tag to compare

BREAKING CHANGE

  • Signature of @Console decorator has been updated.
    ConsoleOptions has been replaced by CreateCommandOptions, to update from ^4.0.0 you simply have to change property name by command.
    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.0 or using yarn yarn 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

New Contributors

Full Changelog: v4.0.0...v5.0.1

Release v4.0.0

16 Oct 09:30
Compare
Choose a tag to compare
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

16 Sep 08:58
Compare
Choose a tag to compare
chore: update deps and add dependabot

Release v3.1.1

30 Jul 13:15
Compare
Choose a tag to compare

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

10 Jun 08:25
Compare
Choose a tag to compare
Update actions

Release v3.0.5

05 May 17:19
Compare
Choose a tag to compare

Fix #140 and Fix #145 remove allowSyntheticDefaultImports to fit default nest application