Skip to content

Latest commit

 

History

History
206 lines (160 loc) · 6.45 KB

CHANGELOG.md

File metadata and controls

206 lines (160 loc) · 6.45 KB

0.7.4 (2023-09-09)

Changes

  • allow to pass meta as JSON string #71
  • Adds stream objectMode support and print stream to stdout #72
  • show params of events #74

0.7.3 (2022-10-06)

Changes

  • add --$local option to call #66

0.7.2 (2022-08-13)

Changes

  • add REPL history #64

0.7.1 (2022-05-19)

Changes

  • rewritten types #62. Typescript users need it for Moleculer >=v0.14.20.
  • add --loadFull to call command #61
  • alias array supported #59

0.7.0 (2022-01-08)

Rewritten codebase without vulnerable vorpal #57

Thanks to @AndreMaz, he has rewritten the REPL module because we had a lot of issue with the unmaintained vorpal dependency. This new version is compatible with the previous versions and support everything what supported in previous versions but it can open new opportunities for us in the future.

Kudos to André 🎉

You may encounter changes in operations, this is why we increased the major version number.


0.6.6 (2021-06-27)

Changes

  • add cache keys & cache clear commands.

0.6.5 (2021-05-20)

Changes

  • improve info packet to show metrics reporter and tracing exporter.
  • fix 'actions' command separation.

0.6.4 (2020-04-09)

Setting meta keys for call, dcall, emit & broadcast commands

To set meta keys, use # prefix for arguments.

moleculer λ call greeter.echo --a 5 --#b 3
>> Response:
{ params: { a: 5 }, meta: { b: 3, '$repl': true } }

Changes

  • update deps & audit fix
  • remove console log

0.6.3 (2020-02-24)

Changes

  • add autocomplete to dcall.
  • return vorpal instance in broker.repl().
  • fix metrics execution if metrics is disabled.

0.6.2 (2019-12-15)

Changes

  • change chalk to kleur.
  • fix middleware printing in info command.
  • new metrics command for Moleculer v0.14.
  • filtering in services command considers the service version.
  • update dependencies

0.6.1 (2019-09-21)

Changes

  • fixed exit/quit command issue.

0.6.0 (2019-09-17)

Changes

  • add $rest: true into ctx.meta when using call or dcall commands.
  • add meta option to bench command. bench <action> [jsonParams] [meta]
  • fixed vulnerability issues in the vorpal library.
  • supporting Moleculer v0.14

0.5.7 (2019-03-25)

Changes

  • added destroy method that allows to destroy a locally running service by providing serviceName

0.5.6 (2019-02-20)

Changes

  • add meta parameter for call & dcall commands.
  • update deps

0.5.5 (2019-01-08)

Changes

  • add repl options to change default delimiter (mol $).
    broker.repl({ 
        delimiter: "moleculer λ", 
        customCommands: [...]
    });
  • update deps

0.5.4 (2018-12-18)

Changes

  • add streaming support for call and dcall commands.
  • update deps

0.5.3 (2018-11-21)

Changes

  • fix some bugs
  • show service version if it's 0
  • fix autocomplete bugs
  • add cls command to clear console

0.5.2 (2018-08-13)

Changes

  • fix number of services in nodes result
  • update dependencies

0.5.1 (2018-07-25)

Changes

  • handle JSON parsing error.
  • update dependencies

0.5.0 (2018-07-08)

Changes

  • support Moleculer v0.13.x
  • filtering feature in nodes, services, actions & events command. (E.g.: actions -f users.*)
  • unix-like key value pair normalization is switched off.

0.4.0 (2018-03-03)

Changes

  • support Moleculer v0.12.x
  • support custom REPL commands
  • new command: bench [options] <action> [jsonParams]: Benchmark services
  • new command: env: List of environment variables
  • new command: clear: Clear cacher
  • measure execution time in call & dcall commands
  • add autocomplete to emit and bench as well
  • extendable with custom commands via ServiceBroker options (replCommands)
  • new options in call & dcall commands:
    • --load - load params from a JSON file. The filename generated from action name. E.g. for posts.find˙action the filename is <current_dir>/posts.find.params.json
    • --load [filename] - load params from the specified JSON file
    • --save - save response to file. The filename generated from action name. E.g. for posts.find˙action the filename is <current_dir>/posts.find.response.json. The extension is .json when the response is object. Otherwise it is .txt.
    • --save [filename] - save reponse to the specified file
  • new options in nodes command:
    • --raw - print entire service registry to then console as JSON
    • --save [filename] - save then entire service registry to the specified file as JSON