diff --git a/.changeset/common-hoops-drive.md b/.changeset/common-hoops-drive.md deleted file mode 100644 index e1c41f65..00000000 --- a/.changeset/common-hoops-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@lightmill/log-api': major ---- - -Removes typescript-openapi type export. The prefered way to rely on our contract's type is now to use the zod schemas directly. openapi.yaml is still being generated so typescript-openapi types can be generated from it if needed. diff --git a/.changeset/cyan-teeth-live.md b/.changeset/cyan-teeth-live.md deleted file mode 100644 index 35a93b59..00000000 --- a/.changeset/cyan-teeth-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@lightmill/log-api': major ---- - -Switch openapi.json export to openapi.yaml. This aligns with openapi most widespread use. Author should update their code to use openapi.yamd instead of .json, and switch to corresponding parser. diff --git a/.changeset/free-pianos-play.md b/.changeset/free-pianos-play.md deleted file mode 100644 index 930a2c4c..00000000 --- a/.changeset/free-pianos-play.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@lightmill/log-api': minor ---- - -Export zod schemas that may be used to validate request and reponses. diff --git a/.changeset/honest-geckos-add.md b/.changeset/honest-geckos-add.md deleted file mode 100644 index 84d245d8..00000000 --- a/.changeset/honest-geckos-add.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@lightmill/log-server': major ---- - -Change some validation error codes to match new log-api. Please refer to @lightmill/log-api openapi.yaml for the new validation error codes. diff --git a/.changeset/shaky-candles-fall.md b/.changeset/shaky-candles-fall.md deleted file mode 100644 index 3d2a71ca..00000000 --- a/.changeset/shaky-candles-fall.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@lightmill/log-client': minor ---- - -Slightly improve some client's errors. diff --git a/.changeset/thirty-needles-camp.md b/.changeset/thirty-needles-camp.md deleted file mode 100644 index d12bc937..00000000 --- a/.changeset/thirty-needles-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@lightmill/log-api': major ---- - -Update validation error codes to be more explicit. Refer to openapi.yaml or the exported schemas to update your code if needed. diff --git a/packages/log-api/CHANGELOG.md b/packages/log-api/CHANGELOG.md index 87baf0b3..894d105b 100644 --- a/packages/log-api/CHANGELOG.md +++ b/packages/log-api/CHANGELOG.md @@ -1,5 +1,17 @@ # @lightmill/log-api +## 5.0.0 + +### Major Changes + +- 6651c93: Removes typescript-openapi type export. The prefered way to rely on our contract's type is now to use the zod schemas directly. openapi.yaml is still being generated so typescript-openapi types can be generated from it if needed. +- 6651c93: Switch openapi.json export to openapi.yaml. This aligns with openapi most widespread use. Author should update their code to use openapi.yamd instead of .json, and switch to corresponding parser. +- 6651c93: Update validation error codes to be more explicit. Refer to openapi.yaml or the exported schemas to update your code if needed. + +### Minor Changes + +- 6651c93: Export zod schemas that may be used to validate request and reponses. + ## 4.0.1 ### Patch Changes diff --git a/packages/log-api/package.json b/packages/log-api/package.json index bf847ebe..2c8beacf 100644 --- a/packages/log-api/package.json +++ b/packages/log-api/package.json @@ -1,6 +1,6 @@ { "name": "@lightmill/log-api", - "version": "4.0.1", + "version": "5.0.0", "description": "API for Lightmill log server", "author": "Quentin Roy ", "license": "MIT", diff --git a/packages/log-client/CHANGELOG.md b/packages/log-client/CHANGELOG.md index af677b0a..745b0808 100644 --- a/packages/log-client/CHANGELOG.md +++ b/packages/log-client/CHANGELOG.md @@ -1,5 +1,11 @@ # @lightmill/log-client +## 5.0.0 + +### Minor Changes + +- 9f107be: Slightly improve some client's errors. + ## 4.0.0 ### Major Changes diff --git a/packages/log-client/package.json b/packages/log-client/package.json index d311f4c8..fd289c13 100644 --- a/packages/log-client/package.json +++ b/packages/log-client/package.json @@ -1,6 +1,6 @@ { "name": "@lightmill/log-client", - "version": "4.0.0", + "version": "5.0.0", "description": "Client for LightMill's log server.", "license": "MIT", "type": "module", diff --git a/packages/log-server/CHANGELOG.md b/packages/log-server/CHANGELOG.md index f721ffe2..04f3d8ac 100644 --- a/packages/log-server/CHANGELOG.md +++ b/packages/log-server/CHANGELOG.md @@ -1,5 +1,19 @@ # @lightmill/log-server +## 5.0.0 + +### Major Changes + +- 72effc7: Change some validation error codes to match new log-api. Please refer to @lightmill/log-api openapi.yaml for the new validation error codes. + +### Patch Changes + +- Updated dependencies [6651c93] +- Updated dependencies [6651c93] +- Updated dependencies [6651c93] +- Updated dependencies [6651c93] + - @lightmill/log-api@5.0.0 + ## 4.1.0 ### Minor Changes diff --git a/packages/log-server/package.json b/packages/log-server/package.json index f222909f..1c138e61 100644 --- a/packages/log-server/package.json +++ b/packages/log-server/package.json @@ -1,6 +1,6 @@ { "name": "@lightmill/log-server", - "version": "4.1.0", + "version": "5.0.0", "description": "Server, and middleware to receive, store and export lightmill logs", "author": "Quentin Roy ", "license": "MIT",