Skip to content

Commit b2782c3

Browse files
committed
chore: release v0.2.15
- Bump version to 0.2.15 - Update CHANGELOG with changes since v0.2.14 - Sync package-lock.json version Change-Id: I917c36498ea32639b8af6727a5b0425b87248e75 Co-developed-by: Cursor <noreply@cursor.com>
1 parent 0f5488d commit b2782c3

3 files changed

Lines changed: 32 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.15] - 2026-02-24
9+
10+
### Added
11+
12+
- Add file-based cache for auto-upgrade version checks
13+
- Use XDG_CACHE_HOME on Linux/macOS, LOCALAPPDATA on Windows
14+
- Respect check interval (1 hour default) to avoid frequent npm requests
15+
- Add 6 test cases to protect auto-upgrade flow
16+
17+
### Changed
18+
19+
- Replace update-notifier with direct latestVersion for reliable auto-upgrade
20+
- update-notifier spawns async detached process; notifier.update never populated in same run
21+
- Use latestVersion() for synchronous fetch within the same process
22+
- Change default update check interval from 8 hours to 1 hour
23+
- Use npm install -g @latest instead of npm update -g to force latest version
24+
- npm update may report "up to date" without actually upgrading
25+
26+
### Fixed
27+
28+
- Fix auto-upgrade updating wrong installation (global vs local node_modules)
29+
- Detect if running from project's node_modules; update the correct installation
30+
- Add cwd when spawning local npm install for project updates
31+
- Fix "version still old" after upgrade when running from local project
32+
33+
### Removed
34+
35+
- Remove update-notifier and @types/update-notifier dependencies
36+
837
## [0.2.14] - 2026-03-16
938

1039
### Added

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai-coding-workshop/commit-msg",
3-
"version": "0.2.14",
3+
"version": "0.2.15",
44
"type": "module",
55
"main": "dist/index.js",
66
"bin": {

0 commit comments

Comments
 (0)