Skip to content

Releases: smartive/utils

v4.0.0

Choose a tag to compare

@Walkeezy Walkeezy released this 31 Jul 09:08
4646c08

Breaking Changes

  • Package renamed from @smartive/datocms-utils to @smartive/utils
  • All DatoCMS cache tag utilities, providers, and types removed — stay on @smartive/datocms-utils@3 if you still need them

v4.0.0-next.1

v4.0.0-next.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Jul 07:09
392c7d2

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

Choose a tag to compare

@github-actions github-actions released this 31 Jul 08:09
b12ea6b

3.1.1 (2026-07-31)

Bug Fixes

  • release: publish maintenance updates (#270) (b12ea6b)

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 17 Feb 12:41
f9eccf3

3.1.0 (2026-02-17)

Features

  • add support for request headers when building query ID (#219) (f9eccf3)

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Feb 13:04
b57a831

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)

v3.0.0-next.14

v3.0.0-next.14 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Feb 12:49
5dc9692

3.0.0-next.14 (2026-02-16)

Bug Fixes

  • error level and documentation (5dc9692)

v3.0.0-next.13

v3.0.0-next.13 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Feb 12:43
3e1c210

3.0.0-next.13 (2026-02-16)

Features

  • make error handling of cache tags providers configurable (#217) (3e1c210), closes #218

v3.0.0-next.12

v3.0.0-next.12 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Feb 08:49
da599ea

3.0.0-next.12 (2026-02-16)

Bug Fixes

  • error handling in Redis (da599ea)

v3.0.0-next.11

v3.0.0-next.11 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Feb 08:15
7cfb647

3.0.0-next.11 (2026-02-16)

Bug Fixes

  • SQL injection vulnerability in Neon cache provider table names (#214) (7cfb647)

v3.0.0-next.9

v3.0.0-next.9 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Feb 14:35
60f3b97

3.0.0-next.9 (2026-02-15)

Bug Fixes

  • remove Dato prefix from CacheTags objects (60f3b97)