@dotcms/experiments 26.8.7-1 → 26.8.10-1-next.2504

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +28 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -21,6 +21,7 @@ The `@dotcms/experiments` SDK is the official dotCMS JavaScript library that hel
21
21
 
22
22
  - [Overview](#overview)
23
23
  - [Installation](#installation)
24
+ - [Which SDK Version Should I Use?](#which-sdk-version-should-i-use)
24
25
  - [Getting Started](#getting-started)
25
26
  - [Public API](#public-api)
26
27
  - [withExperiments HOC](#withexperiments-higher-order-component)
@@ -50,7 +51,33 @@ Or using Yarn:
50
51
  yarn add @dotcms/experiments
51
52
  ```
52
53
 
53
- Align `@dotcms/experiments` with the same version line as your other `@dotcms/*` packages (for example `^1.5.6`).
54
+ ## Which SDK Version Should I Use?
55
+
56
+ dotCMS SDKs are published in lockstep with dotCMS itself: every `@dotcms/*` package ships
57
+ at the **exact same version number** as the dotCMS release it was built for (e.g. dotCMS
58
+ `26.7.14-1` → `@dotcms/client@26.7.14-1`, `@dotcms/react@26.7.14-1`, and so on).
59
+
60
+ **Simple rule of thumb: use the SDK version that matches your dotCMS instance's version.**
61
+
62
+ You don't have to upgrade the SDK every time dotCMS releases a new version (or vice versa).
63
+ Most releases don't change anything the SDKs rely on, so an older SDK usually keeps working
64
+ fine against a newer dotCMS instance. Occasionally, though, a release does include a real
65
+ breaking change — and if your SDK is older than that point, it will stop working correctly.
66
+
67
+ You don't need to track this yourself: your dotCMS instance always knows the oldest SDK
68
+ version it still supports, and the SDK checks itself against it automatically. If you're
69
+ using an SDK that's too old, you'll see a clear warning in your console telling you to
70
+ upgrade.
71
+
72
+ **Recommendation:** pin your SDKs to the same version as your dotCMS instance, and only bump
73
+ them when you upgrade dotCMS — or when the console tells you to.
74
+
75
+ > **On an LTS release?** LTS releases don't currently get their own matching SDK version.
76
+ > Until that's addressed, use the SDK version published for the closest regular release at
77
+ > or before your LTS version.
78
+ >
79
+ > Want more background on how dotCMS releases and support windows work? See
80
+ > [Release & Support Lifecycle](https://dev.dotcms.com/docs/release-support-lifecycle).
54
81
 
55
82
  ## Getting Started
56
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/experiments",
3
- "version": "26.08.07-01",
3
+ "version": "26.8.10-1-next.2504",
4
4
  "description": "Official JavaScript library to use Experiments with DotCMS.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,10 +25,10 @@
25
25
  "peerDependencies": {
26
26
  "react": ">=18",
27
27
  "react-dom": ">=18",
28
- "@dotcms/client": "26.08.07-01",
29
- "@dotcms/react": "26.08.07-01",
30
- "@dotcms/uve": "26.08.07-01",
31
- "@dotcms/types": "26.08.07-01"
28
+ "@dotcms/client": "26.8.10-1-next.2504",
29
+ "@dotcms/react": "26.8.10-1-next.2504",
30
+ "@dotcms/uve": "26.8.10-1-next.2504",
31
+ "@dotcms/types": "26.8.10-1-next.2504"
32
32
  },
33
33
  "module": "./index.esm.js",
34
34
  "type": "module",