diff --git a/lerna.json b/lerna.json index 844b596..a5af1fb 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "packages": [ "packages/*" ], - "version": "5.4.21" + "version": "5.5.0-alpha.1" } diff --git a/packages/cma-client-analysis/package.json b/packages/cma-client-analysis/package.json index d27443f..fc0a809 100644 --- a/packages/cma-client-analysis/package.json +++ b/packages/cma-client-analysis/package.json @@ -1,6 +1,6 @@ { "name": "@datocms/cma-client-analysis", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "description": "TypeScript-based static analysis utilities for the @datocms/cma-client-node Client class. Extracts method signatures, referenced types, and endpoint mappings.", "keywords": [ "datocms", @@ -49,7 +49,7 @@ "typescript": ">=5.0.0" }, "devDependencies": { - "@datocms/cma-client-node": "^5.4.21", + "@datocms/cma-client-node": "^5.5.0-alpha.1", "@datocms/rest-api-reference": "^5.4.19", "typescript": "^5.0.0" } diff --git a/packages/cma-client-browser/package.json b/packages/cma-client-browser/package.json index 2f18e3f..661febe 100644 --- a/packages/cma-client-browser/package.json +++ b/packages/cma-client-browser/package.json @@ -1,6 +1,6 @@ { "name": "@datocms/cma-client-browser", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "description": "Browser client for DatoCMS REST Content Management API", "keywords": [ "datocms", @@ -28,7 +28,7 @@ "url": "git+https://github.com/datocms/js-rest-api-clients.git" }, "dependencies": { - "@datocms/cma-client": "^5.4.21", + "@datocms/cma-client": "^5.5.0-alpha.1", "@datocms/rest-client-utils": "^5.4.9" }, "scripts": { diff --git a/packages/cma-client-node/package-lock.json b/packages/cma-client-node/package-lock.json index 544dc1d..db4ce70 100644 --- a/packages/cma-client-node/package-lock.json +++ b/packages/cma-client-node/package-lock.json @@ -1,6 +1,6 @@ { "name": "@datocms/cma-client-node", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/cma-client-node/package.json b/packages/cma-client-node/package.json index 1060d3b..a926ed9 100644 --- a/packages/cma-client-node/package.json +++ b/packages/cma-client-node/package.json @@ -1,6 +1,6 @@ { "name": "@datocms/cma-client-node", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "description": "NodeJS client for DatoCMS REST Content Management API", "keywords": [ "datocms", @@ -37,7 +37,7 @@ "url": "git+https://github.com/datocms/js-rest-api-clients.git" }, "dependencies": { - "@datocms/cma-client": "^5.4.21", + "@datocms/cma-client": "^5.5.0-alpha.1", "@datocms/rest-client-utils": "^5.4.9", "mime-types": "^2.1.35", "tmp-promise": "^3.0.3" diff --git a/packages/cma-client/package-lock.json b/packages/cma-client/package-lock.json index 4b741dc..7389aba 100644 --- a/packages/cma-client/package-lock.json +++ b/packages/cma-client/package-lock.json @@ -1,6 +1,6 @@ { "name": "@datocms/cma-client", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/cma-client/package.json b/packages/cma-client/package.json index 5107108..4176d10 100644 --- a/packages/cma-client/package.json +++ b/packages/cma-client/package.json @@ -1,6 +1,6 @@ { "name": "@datocms/cma-client", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "description": "JS client for DatoCMS REST Content Management API", "keywords": [ "datocms", diff --git a/packages/cma-client/src/generated/ApiTypes.ts b/packages/cma-client/src/generated/ApiTypes.ts index f379340..f924fcd 100644 --- a/packages/cma-client/src/generated/ApiTypes.ts +++ b/packages/cma-client/src/generated/ApiTypes.ts @@ -8229,6 +8229,14 @@ export type ItemVersionMeta = { * Whether the record version is the published version or not */ is_published: boolean; + /** + * Date this version became the published version of the record, or `null` if it has never been published. May also be `null` for versions that were published before publication-history tracking was introduced; in that case, fall back to `is_published` to determine the live status. + */ + published_from: string | null; + /** + * Date this version stopped being the published version of the record (either replaced by a newer published version, or explicitly unpublished). `null` when the version is currently published or has never been published. + */ + published_until: string | null; /** * Whether the record version is the most recent version or not */ diff --git a/packages/cma-client/src/generated/RawApiTypes.ts b/packages/cma-client/src/generated/RawApiTypes.ts index 7c0ca63..db017c3 100644 --- a/packages/cma-client/src/generated/RawApiTypes.ts +++ b/packages/cma-client/src/generated/RawApiTypes.ts @@ -8277,6 +8277,14 @@ export type ItemVersionMeta = { * Whether the record version is the published version or not */ is_published: boolean; + /** + * Date this version became the published version of the record, or `null` if it has never been published. May also be `null` for versions that were published before publication-history tracking was introduced; in that case, fall back to `is_published` to determine the live status. + */ + published_from: string | null; + /** + * Date this version stopped being the published version of the record (either replaced by a newer published version, or explicitly unpublished). `null` when the version is currently published or has never been published. + */ + published_until: string | null; /** * Whether the record version is the most recent version or not */ diff --git a/packages/cma-schema-types-generator/package-lock.json b/packages/cma-schema-types-generator/package-lock.json index d002cb4..1165dcb 100644 --- a/packages/cma-schema-types-generator/package-lock.json +++ b/packages/cma-schema-types-generator/package-lock.json @@ -1,6 +1,6 @@ { "name": "@datocms/cma-schema-types-generator", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/packages/cma-schema-types-generator/package.json b/packages/cma-schema-types-generator/package.json index c191cad..13a6c5b 100644 --- a/packages/cma-schema-types-generator/package.json +++ b/packages/cma-schema-types-generator/package.json @@ -1,6 +1,6 @@ { "name": "@datocms/cma-schema-types-generator", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "description": "Generate TypeScript type definitions from a DatoCMS project schema", "keywords": [ "datocms", @@ -46,6 +46,6 @@ "typescript": "5.7.2" }, "devDependencies": { - "@datocms/cma-client": "^5.4.21" + "@datocms/cma-client": "^5.5.0-alpha.1" } } diff --git a/packages/rest-api-events/package-lock.json b/packages/rest-api-events/package-lock.json index 2ce9ed6..2a58c52 100644 --- a/packages/rest-api-events/package-lock.json +++ b/packages/rest-api-events/package-lock.json @@ -1,6 +1,6 @@ { "name": "@datocms/rest-api-events", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/rest-api-events/package.json b/packages/rest-api-events/package.json index ebf7d31..ff88105 100644 --- a/packages/rest-api-events/package.json +++ b/packages/rest-api-events/package.json @@ -1,6 +1,6 @@ { "name": "@datocms/rest-api-events", - "version": "5.4.21", + "version": "5.5.0-alpha.1", "description": "Utilities to receive real-time events from DatoCMS REST APIs", "keywords": [ "datocms", @@ -39,7 +39,7 @@ "pusher-js": "^7.0.6" }, "devDependencies": { - "@datocms/cma-client": "^5.4.21", + "@datocms/cma-client": "^5.5.0-alpha.1", "@datocms/dashboard-client": "^5.4.21" }, "gitHead": "ac4164968026ba62a2841d31d2b60c31eadb2cc8"