paymongo-cli 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.0] - 2026-01-24
11
+
12
+ ### Added
13
+
14
+ - **Dev Server Background Mode** - Run dev server in detached mode with `paymongo dev --detach`:
15
+ - `paymongo dev status` - Check if dev server is running in background
16
+ - `paymongo dev stop` - Stop the background dev server
17
+ - `paymongo dev logs` - View dev server logs with `-f` follow option
18
+ - Process state management via DevProcessManager service
19
+ - **Project-Specific Webhook Paths** - Webhooks now use project slug in URL (`/webhook/{project-slug}`)
20
+ - **Automatic Webhook Cleanup** - Stale webhooks from previous sessions are cleaned up on dev start
21
+ - **Registered Webhook Tracking** - Track webhooks created by the CLI for proper cleanup
22
+
23
+ ### Improved
24
+
25
+ - **Webhook Trigger Error Handling** - Enhanced error messages for webhook delivery failures:
26
+ - Specific handling for HTTP 404, 4xx, and 5xx errors
27
+ - Connection refused (ECONNREFUSED) guidance
28
+ - Host not found (ENOTFOUND) troubleshooting
29
+ - Timeout error handling with actionable suggestions
30
+ - **Dev Server Output** - Clearer display of external and local webhook URLs with forwarding info
31
+ - **Webhooks List** - Added helpful note for ngrok tunnel URLs
32
+
33
+ ### Fixed
34
+
35
+ - **ES Module Compatibility** - Added `__dirname` compatibility for ES modules in web server
36
+ - **ESLint Warnings** - Resolved all 19 ESLint warnings
37
+
10
38
  ## [1.1.0] - 2026-01-24
11
39
 
12
40
  ### Added
@@ -100,6 +128,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
100
128
 
101
129
  | Version | Release Date | Highlights |
102
130
  |---------|--------------|------------|
131
+ | [1.2.0] | 2026-01-24 | Dev server background mode, improved error handling, webhook cleanup |
103
132
  | [1.1.0] | 2026-01-24 | Type safety, Zod validation, rate limiting, dependency updates |
104
133
  | [1.0.0] | 2026-01-24 | Initial public release |
105
134
 
@@ -107,6 +136,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
107
136
 
108
137
  ## Upgrade Guide
109
138
 
139
+ ### Upgrading to 1.2.0
140
+
141
+ ```bash
142
+ npm install -g paymongo-cli@latest
143
+ ```
144
+
145
+ **Breaking Changes:** None. This is a backward-compatible release.
146
+
147
+ **New Features:**
148
+ - Run dev server in background with `--detach` flag
149
+ - New subcommands: `dev status`, `dev stop`, `dev logs`
150
+ - Automatic cleanup of stale webhooks
151
+ - Improved error messages for webhook triggers
152
+
110
153
  ### Upgrading to 1.1.0
111
154
 
112
155
  ```bash
@@ -136,6 +179,7 @@ npm install -g paymongo-cli
136
179
  - [Issue Tracker](https://github.com/leodyversemilla07/paymongo-cli/issues)
137
180
  - [PayMongo API Documentation](https://developers.paymongo.com/)
138
181
 
139
- [Unreleased]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.1.0...HEAD
182
+ [Unreleased]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.2.0...HEAD
183
+ [1.2.0]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.1.0...v1.2.0
140
184
  [1.1.0]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.0.0...v1.1.0
141
185
  [1.0.0]: https://github.com/leodyversemilla07/paymongo-cli/releases/tag/v1.0.0