From 7536b8bd951902e59e7e0c2f6e3285252e071b00 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Thu, 9 Nov 2023 20:14:21 +0100 Subject: [PATCH] @rtk-query/codegen-openapi 1.2.0 --- packages/rtk-query-codegen-openapi/ChangeLog.md | 12 ++++++++---- packages/rtk-query-codegen-openapi/package.json | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/rtk-query-codegen-openapi/ChangeLog.md b/packages/rtk-query-codegen-openapi/ChangeLog.md index ccfc8c1c9f..b4dffc2183 100644 --- a/packages/rtk-query-codegen-openapi/ChangeLog.md +++ b/packages/rtk-query-codegen-openapi/ChangeLog.md @@ -4,25 +4,29 @@ All notable changes to the `RTK Query - Code Generator` for `Open API` project w The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 1.1.3 - 10-11-2023 +## 1.2.0 - 2023-11-09 + +This version adds a new `mergeReadWriteOnly` configuration option (default to `false`) that, when set to `true` will not generate separate types for read-only and write-only properties. + +## 1.1.3 - 2023-10-11 ### Added - Adds a temporary workaround for [4.9.0 and 4.10.0 generate circular types oazapfts/oazapfts#491](https://github.com/oazapfts/oazapfts/issues/491) -## 1.1.2 - 10-11-2023 +## 1.1.2 - 2023-10-11 ### Added - Support for Read Only Properties in the Open API spec. Previously, this property was ignored. - Now if the readOnly property is present and set to `true` in a schema, it will split the type into two types: one with the read only property suffixed as 'Read' and the other without the read only properties, using the same type name as before. - This may cause issues if you had your OpenAPI spec properly typed/configured, as it will remove the read onyl types from your existing type. You will need to switch to the new type suffixed as 'Read' to avoid missing property names. -## 1.1.1 - 10-11-2023 +## 1.1.1 - 2023-10-11 ### Changed - Codegen: better handling of duplicate param names ([Codegen: better handling of duplicate param names #3780](https://github.com/reduxjs/redux-toolkit/pull/3780)) - If a parameter name is both used in a query and a parameter, it will be prefixed with `query`/`param` now to avoid conflicts -## 1.1.0 - 10-11-2023 +## 1.1.0 - 2023-10-11 ### Added - Option of generating real TS enums instead of string unions [Adds the option of generating real TS enums instead of string unions #2854](https://github.com/reduxjs/redux-toolkit/pull/2854) diff --git a/packages/rtk-query-codegen-openapi/package.json b/packages/rtk-query-codegen-openapi/package.json index de3117bf0b..b930955fcc 100644 --- a/packages/rtk-query-codegen-openapi/package.json +++ b/packages/rtk-query-codegen-openapi/package.json @@ -1,6 +1,6 @@ { "name": "@rtk-query/codegen-openapi", - "version": "1.1.3", + "version": "1.2.0", "main": "lib/index.js", "types": "lib/index.d.ts", "author": "Lenz Weber",