fix(smartupdate): improve update check caching, validation, and error handling
This commit is contained in:
+11
-1
@@ -1,5 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## Pending
|
||||
|
||||
### Fixes
|
||||
|
||||
- improve update check caching, validation, and error handling (smartupdate)
|
||||
- cache both update-available and up-to-date results with package version and registry context to avoid stale or incorrect cache reuse
|
||||
- return cached CLI update results correctly for time-based checks and handle changelog opening failures without unhandled rejections
|
||||
- validate package names and versions before registry access, preserve specific error types, and add deterministic cache-focused tests
|
||||
- add configurable cache store options and remove the unused smarttime dependency
|
||||
|
||||
## 2026-05-01 - 2.0.7 - fix(build)
|
||||
modernize build configuration and tighten TypeScript typings
|
||||
|
||||
@@ -89,4 +99,4 @@ Delivered multiple early improvements across versions 1.0.1 to 1.0.10.
|
||||
- Improved update information output
|
||||
- Fixed a bug that reset the timer
|
||||
- Updated dependencies
|
||||
- Included compile and maintenance-related updates
|
||||
- Included compile and maintenance-related updates
|
||||
|
||||
Reference in New Issue
Block a user