Releases: smartive/utils
Releases · smartive/utils
Release list
v4.0.0
v4.0.0-next.1
4.0.0-next.1 (2026-07-31)
⚠ BREAKING CHANGES
- deleteCacheTags() now removes all registrations of affected queries and returns the number of (query, tag) pairs removed. RedisCacheTagsProvider.truncateCacheTags() throws without a non-empty keyPrefix.
- the package now ships only dist/ (src/ is no longer published) and requires Node.js >= 20.
Co-authored-by: Cursor cursoragent@cursor.com
- fix(links): preserve only a leading plus in getTelLink
Co-authored-by: Cursor cursoragent@cursor.com
- test: add unit coverage for providers, utils, and links
Co-authored-by: Cursor cursoragent@cursor.com
- ci: run full checks before release and drop changelog plugin
Co-authored-by: Cursor cursoragent@cursor.com
- ci: allow test imports from dist before build in eslint
Co-authored-by: Cursor cursoragent@cursor.com
Features
v3.1.1
v3.1.0
v3.0.0
3.0.0 (2026-02-16)
⚠ BREAKING CHANGES
- refactor cache tags implementation to support multiple backends / providers. See README for more information on how to use them
- switch to ESM module (CommonJS is not supported anymore). Make sure to adjust your project settings accordingly.
Features
- add Noop cache provider for testing purposes (5f5e895)
- enhance classNames function to support more use cases (d9c67a1)
- make error handling of cache tags providers configurable (#217) (3e1c210), closes #218
- refactor cache implementation to support multiple backends and switch to ESM modules (719861b)
- Rename everything and simplify naming (ceb90de)
- replace @vercel/postgres by @neondatabase/serverless (e1e9736)
- switch to classes (b84d169)
Bug Fixes
- add missing neon database implementation (a734685)
- error handling in Redis (da599ea)
- error level and documentation (5dc9692)
- remove Dato prefix from CacheTags objects (60f3b97)
- SQL injection vulnerability in Neon cache provider table names (#214) (7cfb647)
- switch to SCAN instead of KEYS for Redis (06dca13)
- use separate exports per provider (1297d85)