Skip to content

Create RTK Query Code Generator for Open API Changelog #3798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 13, 2023
Merged

Create RTK Query Code Generator for Open API Changelog #3798

merged 2 commits into from
Oct 13, 2023

Conversation

elliot-huffman
Copy link
Contributor

Create the initial changelog.
Other changes are to be included in the future.

Create the initial changelog.
@codesandbox
Copy link

codesandbox bot commented Oct 13, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@netlify
Copy link

netlify bot commented Oct 13, 2023

Deploy Preview for redux-starter-kit-docs ready!

Name Link
🔨 Latest commit 60a90d2
🔍 Latest deploy log https://app.netlify.com/sites/redux-starter-kit-docs/deploys/6529a6f7acd44b0008421fe0
😎 Deploy Preview https://deploy-preview-3798--redux-starter-kit-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 13, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 60a90d2:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration
rsk-github-issues-example Configuration
@examples-query-react/basic Configuration
@examples-query-react/advanced Configuration
@examples-action-listener/counter Configuration

Comment on lines 7 to 12
## [1.1.3] - 10-11-2023

### 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.
Copy link
Member

@phryneas phryneas Oct 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a bit more of a change :)

Let me try to get it together:

1.1.0

  • Adds the option of generating real TS enums instead of string unions Adds the option of generating real TS enums instead of string unions #2854
  • Also ensures compatibility with TypeScript 5.x versions as the codegen relies on the TypeScript AST for code generation - as a result also needs a higher TypeScript version to work with (old version range was 4.1-4.5)
  • Also changes depenendcy from a temporarily patched old version of oazapfts back to the current upstream version

1.1.1

1.1.2

1.1.3

Missed these details while perusing the commits.
@elliot-huffman
Copy link
Contributor Author

Added the details you provided, I missed the implications of those while reading the commit messages.

@phryneas
Copy link
Member

Looking good, thanks a ton! 😊

@phryneas phryneas merged commit e6d8600 into reduxjs:master Oct 13, 2023
@elliot-huffman elliot-huffman deleted the patch-1 branch October 13, 2023 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants