@dotcms/client 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.
package/README.md CHANGED
@@ -64,9 +64,33 @@ The `@dotcms/client` is a powerful JavaScript/TypeScript SDK designed to simplif
64
64
 
65
65
  #### Get a dotCMS Environment
66
66
 
67
- - **Recommended**: dotCMS Evergreen
68
- - **Minimum**: dotCMS v25.05
69
- - **Best Experience**: Latest Evergreen release
67
+ ##### Which SDK Version Should I Use?
68
+
69
+ dotCMS SDKs are published in lockstep with dotCMS itself: every `@dotcms/*` package ships
70
+ at the **exact same version number** as the dotCMS release it was built for (e.g. dotCMS
71
+ `26.7.14-1` → `@dotcms/client@26.7.14-1`, `@dotcms/react@26.7.14-1`, and so on).
72
+
73
+ **Simple rule of thumb: use the SDK version that matches your dotCMS instance's version.**
74
+
75
+ You don't have to upgrade the SDK every time dotCMS releases a new version (or vice versa).
76
+ Most releases don't change anything the SDKs rely on, so an older SDK usually keeps working
77
+ fine against a newer dotCMS instance. Occasionally, though, a release does include a real
78
+ breaking change — and if your SDK is older than that point, it will stop working correctly.
79
+
80
+ You don't need to track this yourself: your dotCMS instance always knows the oldest SDK
81
+ version it still supports, and the SDK checks itself against it automatically. If you're
82
+ using an SDK that's too old, you'll see a clear warning in your console telling you to
83
+ upgrade.
84
+
85
+ **Recommendation:** pin your SDKs to the same version as your dotCMS instance, and only bump
86
+ them when you upgrade dotCMS — or when the console tells you to.
87
+
88
+ > **On an LTS release?** LTS releases don't currently get their own matching SDK version.
89
+ > Until that's addressed, use the SDK version published for the closest regular release at
90
+ > or before your LTS version.
91
+ >
92
+ > Want more background on how dotCMS releases and support windows work? See
93
+ > [Release & Support Lifecycle](https://dev.dotcms.com/docs/release-support-lifecycle).
70
94
 
71
95
  #### Environment Setup
72
96
 
package/index.cjs.js CHANGED
@@ -4,7 +4,7 @@ var consola = require('consola');
4
4
  var types = require('@dotcms/types');
5
5
  var internal = require('./internal.cjs.js');
6
6
 
7
- const SDK_VERSION = "26.08.07-01";
7
+ const SDK_VERSION = "26.8.10-1-next.2504";
8
8
 
9
9
  const DOTCMS_VERSION_HEADER = 'x-dotcms-version';
10
10
  const DOTCMS_MIN_SDK_HEADER = 'x-dotcms-min-sdk';
package/index.esm.js CHANGED
@@ -2,7 +2,7 @@ import { consola } from 'consola';
2
2
  import { BaseHttpClient, DISTANCE_FUNCTIONS, DotHttpError, DotErrorAISearch, DotErrorContent, DotErrorNavigation, UVE_MODE, DotErrorPage } from '@dotcms/types';
3
3
  import { graphqlToPageEntity } from './internal.esm.js';
4
4
 
5
- const SDK_VERSION = "26.08.07-01";
5
+ const SDK_VERSION = "26.8.10-1-next.2504";
6
6
 
7
7
  const DOTCMS_VERSION_HEADER = 'x-dotcms-version';
8
8
  const DOTCMS_MIN_SDK_HEADER = 'x-dotcms-min-sdk';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/client",
3
- "version": "26.08.07-01",
3
+ "version": "26.8.10-1-next.2504",
4
4
  "description": "Official JavaScript library for interacting with DotCMS REST APIs.",
5
5
  "repository": {
6
6
  "type": "git",