You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,30 @@
1
+
### Version: 5.1.0
2
+
#### Date: Mar-02-2026
3
+
Fix: Added support of asset fields in assets & entries class.
4
+
5
+
### Version: 5.0.1
6
+
#### Date: feb-23-2026
7
+
Fix: Added support of special symbols in regex method with safe pattern.
8
+
9
+
### Version: 5.0.0
10
+
#### Date: Feb-16-2026
11
+
Breaking: Cache persistence is now a separate plugin. When using a cache policy other than `IGNORE_CACHE`, you must pass `cacheOptions.persistenceStore`. Install `@contentstack/persistence-plugin` and use `new PersistenceStore({ ... })` as the store. The SDK no longer bundles persistence code or accepts `storeType` in `cacheOptions`.
12
+
Enhancement: SDK defines only the `PersistenceStore` interface (getItem/setItem); full implementation lives in the plugin for a lighter core package.
13
+
Fix: Sync API returns non-Axios response causing undefined data and recursive sync failure
14
+
15
+
### Version: 4.11.2
16
+
#### Date: feb-11-2026
17
+
Fix: JS core & axios version bump
18
+
19
+
20
+
### Version: 4.11.2
21
+
#### Date: feb-11-2026
22
+
Fix: JS core & axios version bump
23
+
24
+
### Version: 4.11.1
25
+
#### Date: Feb-09-2026
26
+
Fix: Fix security issues
27
+
1
28
### Version: 4.11.0
2
29
#### Date: Jan-19-2026
3
30
Enhancement: Integrated getContentstackEndpoint method of Utils SDK for endpoint selection
To use cache policies (`CACHE_THEN_NETWORK`, `CACHE_ELSE_NETWORK`, `NETWORK_ELSE_CACHE`), you must provide a persistence store via `cacheOptions.persistenceStore`. Install the optional persistence plugin and pass a `PersistenceStore` instance:
See [@contentstack/persistence-plugin](https://www.npmjs.com/package/@contentstack/persistence-plugin) for options (`storeType`, `maxAge`, custom storage).
216
+
217
+
### Development
218
+
219
+
When contributing or running tests from the repository, run `npm run build` before running tests. The published package includes a pre-built `dist/` directory.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
0 commit comments