Skip to content

Enhancements for 1.2 #2176

@Unitech

Description

@Unitech

Install development version:

$ npm install Unitech/pm2#development -g
$ pm2 update

Features

  • Deep CLI refactor #2203 Deep CLI refactor
  • allow module to have descriptions (json desription via pm2 show + after installation)
  • [https://github.com/Unitech/pm2/commit/2db2e6734111647e5ae226437ec391dd7ada2f82] Githuib issues template
  • [https://github.com/Unitech/pm2/commit/20344a58f19e57a8dc8f4e7e1ed1f9afc29473ea] [https://github.com/Unitech/pm2/commit/610d68f8d7768d3880fec04dc6cdd3191fd4004f] [https://github.com/Unitech/pm2/commit/7783c15507cb3c99343144cfbbc76e0296edaee4] Reduce memory of 10mb by removing any Satan require in Daemon
  • executing "pm2 log" isn't a command but it doesn't fail #2105 alias pm2 log with pm2 logs (bug with commander)
  • --env NODE_ENV is not working #2142 pm2 restart --default?
  • Feature request: add interactive prompt #2090 interactive prompt
  • PM2 module system issues #1979 [https://github.com/Unitech/pm2/commit/4f810a1e381baa5fcc868bfcc7b266bd04b8eb3a] [https://github.com/Unitech/pm2/commit/2746c3861fe826e7e3f09627a5c1af6d82c73889] [https://github.com/Unitech/pm2/commit/618862fb4e0fa2e856c4013a477a2bd32c5d4cc1] enhance module system
  • Deprecate gracefulReload #2069 [https://github.com/Unitech/pm2/commit/5919ca61265f01ad78361c91524689a7faf4cfc9] Add deprecation message for gracefulReload
  • Build light PM2 API client #2175 create a light PM2 API client (++custom SOCK files, env cloning, env trim)
  • [https://github.com/Unitech/pm2/commit/bcf1acd85e1d0f06b5ce7602e2928140293a6377] upgrade PMX internals (smart algorithm fix, unref for event loop, copy path...)
  • [https://github.com/Unitech/pm2/commit/618862fb4e0fa2e856c4013a477a2bd32c5d4cc1] enhance visuals when installing pm2 module (check interactive, ora)
  • review pm2-deploy PR
  • deep restart (1efa186)
  • [https://github.com/Unitech/pm2/commit/bcf1acd85e1d0f06b5ce7602e2928140293a6377] pm2 start npm -- start (eq npm start) now fully supported with auto restarts
  • bundle all dependencies into PM2 NPM module for faster install (++fix modclean path problems)
  • custom filepath for saving dump files: pm2 save [filename.json]
  • [https://github.com/Unitech/pm2/commit/c4da9d3ff245446c17351dc8a156f5a64c984a64] upgrade to cli-table-2
  • [https://github.com/Unitech/pm2/commit/66a8b59b4d210b48ebae48152b6af8cd0fee0a0b] pm2 ls --watch (via clear)

pm2-deploy merged PR

[https://github.com/Unitech/pm2-deploy/pull/91] fix: Fixed a bug if package path contains spaces
[https://github.com/Unitech/pm2-deploy/pull/81] fix: tilde expansion of key
[https://github.com/Unitech/pm2-deploy/pull/87] fix: fix Broken relative path handling causes "deploy log append failed"
[https://github.com/Unitech/pm2-deploy/pull/79] feature: added pre-setup and post-setup hooks
[https://github.com/Unitech/pm2-deploy/pull/92] feature: fetch all tags from the remote
[https://github.com/Unitech/pm2-deploy/pull/32] feature: deploy [json] [environ] list -- show each commit with prefix of revert n
[https://github.com/Unitech/pm2-deploy/pull/89] feature: allow to pass ssh options

Bugs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions