Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,9 @@
"@qraft/plugin": "0.0.0",
"@qraft/asyncapi-typescript-plugin": "0.0.0"
},
"changesets": ["short-suits-shine"]
"changesets": [
"deep-boxes-tan",
"public-lies-sell",
"short-suits-shine"
]
}
20 changes: 20 additions & 0 deletions packages/asyncapi-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# @qraft/asyncapi-plugin

## 1.0.0-beta.0

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

### Patch Changes

- Updated dependencies [a282960]
- @qraft/plugin@1.0.0-beta.0
2 changes: 1 addition & 1 deletion packages/asyncapi-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qraft/asyncapi-plugin",
"version": "0.0.0",
"version": "1.0.0-beta.0",
"packageManager": "yarn@4.0.2",
"type": "module",
"scripts": {
Expand Down
22 changes: 22 additions & 0 deletions packages/asyncapi-typescript-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# @qraft/asyncapi-typescript-plugin

## 1.0.0-beta.0

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

### Patch Changes

- Updated dependencies [a282960]
- @qraft/asyncapi-plugin@1.0.0-beta.0
- @qraft/cli-utils@1.0.0-beta.0
- @qraft/plugin@1.0.0-beta.0
2 changes: 1 addition & 1 deletion packages/asyncapi-typescript-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qraft/asyncapi-typescript-plugin",
"version": "0.0.0",
"version": "1.0.0-beta.0",
"type": "module",
"scripts": {
"build": "tsc --project tsconfig.build.json",
Expand Down
20 changes: 20 additions & 0 deletions packages/cli-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# @qraft/cli-utils

## 1.0.0-beta.0

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

### Patch Changes

- Updated dependencies [a282960]
- @qraft/plugin@1.0.0-beta.0
2 changes: 1 addition & 1 deletion packages/cli-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qraft/cli-utils",
"version": "0.0.0",
"version": "1.0.0-beta.0",
"description": "Shared CLI utilities for Qraft code generation tools",
"scripts": {
"build": "tsc --project tsconfig.build.json",
Expand Down
27 changes: 27 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# @qraft/cli

## 1.0.0-beta.0

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

### Patch Changes

- Updated dependencies [7074f50]
- Updated dependencies [a282960]
- @openapi-qraft/tanstack-query-react-plugin@2.15.0-beta.1
- @qraft/asyncapi-typescript-plugin@1.0.0-beta.0
- @openapi-qraft/openapi-typescript-plugin@2.15.0-beta.1
- @qraft/asyncapi-plugin@1.0.0-beta.0
- @openapi-qraft/plugin@2.15.0-beta.1
- @qraft/cli-utils@1.0.0-beta.0
- @qraft/plugin@1.0.0-beta.0
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qraft/cli",
"version": "0.0.0",
"version": "1.0.0-beta.0",
"description": "CLI tool for generating type-safe code from OpenAPI and AsyncAPI specifications",
"scripts": {
"build": "tsc --project tsconfig.build.json",
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-plugin-query/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @openapi-qraft/eslint-plugin-query

## 2.15.0-beta.1

## 2.15.0-beta.0

## 2.14.0
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-query/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-qraft/eslint-plugin-query",
"version": "2.15.0-beta.0",
"version": "2.15.0-beta.1",
"description": "ESLint plugin for OpenAPI Qraft",
"homepage": "https://openapi-qraft.github.io/openapi-qraft/docs/eslint/eslint-plugin-query",
"packageManager": "yarn@4.0.2",
Expand Down
24 changes: 24 additions & 0 deletions packages/openapi-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @openapi-qraft/cli

## 2.15.0-beta.1

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

### Patch Changes

- Updated dependencies [7074f50]
- Updated dependencies [a282960]
- @openapi-qraft/tanstack-query-react-plugin@2.15.0-beta.1
- @openapi-qraft/openapi-typescript-plugin@2.15.0-beta.1
- @openapi-qraft/plugin@2.15.0-beta.1
- @qraft/cli-utils@1.0.0-beta.0
- @qraft/plugin@1.0.0-beta.0

## 2.15.0-beta.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-qraft/cli",
"version": "2.15.0-beta.0",
"version": "2.15.0-beta.1",
"description": "CLI for generating typed TanStack Query React Hooks and services from OpenAPI Document, improving type safety in React apps",
"scripts": {
"build": "tsc --project tsconfig.build.json",
Expand Down
19 changes: 19 additions & 0 deletions packages/openapi-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @openapi-qraft/plugin

## 2.15.0-beta.1

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

### Patch Changes

- Updated dependencies [a282960]
- @qraft/plugin@1.0.0-beta.0

## 2.15.0-beta.0

## 2.14.0
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-qraft/plugin",
"version": "2.15.0-beta.0",
"version": "2.15.0-beta.1",
"packageManager": "yarn@4.0.2",
"type": "module",
"scripts": {
Expand Down
21 changes: 21 additions & 0 deletions packages/openapi-typescript-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @openapi-qraft/openapi-typescript

## 2.15.0-beta.1

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

### Patch Changes

- Updated dependencies [a282960]
- @openapi-qraft/plugin@2.15.0-beta.1
- @qraft/cli-utils@1.0.0-beta.0
- @qraft/plugin@1.0.0-beta.0

## 2.15.0-beta.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-typescript-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-qraft/openapi-typescript-plugin",
"version": "2.15.0-beta.0",
"version": "2.15.0-beta.1",
"type": "module",
"scripts": {
"build": "tsc --project tsconfig.build.json",
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# @qraft/plugin

## 1.0.0-beta.0

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qraft/plugin",
"version": "0.0.0",
"version": "1.0.0-beta.0",
"packageManager": "yarn@4.0.2",
"type": "module",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions packages/react-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @openapi-qraft/react

## 2.15.0-beta.1

### Patch Changes

- Updated dependencies [7074f50]
- @openapi-qraft/tanstack-query-react-types@2.15.0-beta.1

## 2.15.0-beta.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-qraft/react",
"version": "2.15.0-beta.0",
"version": "2.15.0-beta.1",
"description": "OpenAPI client for React, providing type-safe requests and dynamic TanStack Query React Hooks via a modular, Proxy-based architecture.",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.mjs && tsc --project tsconfig.build.json --emitDeclarationOnly",
Expand Down
22 changes: 22 additions & 0 deletions packages/tanstack-query-react-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @openapi-qraft/tanstack-query-react-plugin

## 2.15.0-beta.1

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

### Patch Changes

- 7074f50: Fix incorrect overload order in `ServiceOperationUseQuery` and `ServiceOperationUseInfiniteQuery` interfaces. The overloads were swapped, causing TypeScript to incorrectly infer return types. Now the first overload correctly handles cases with `initialData` (returns `DefinedUseQueryResult`), and the second handles cases without it (returns `UseQueryResult`).
- Updated dependencies [a282960]
- @openapi-qraft/plugin@2.15.0-beta.1
- @qraft/cli-utils@1.0.0-beta.0
- @qraft/plugin@1.0.0-beta.0

## 2.15.0-beta.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tanstack-query-react-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-qraft/tanstack-query-react-plugin",
"version": "2.15.0-beta.0",
"version": "2.15.0-beta.1",
"type": "module",
"scripts": {
"build": "tsc --project tsconfig.build.json",
Expand Down
6 changes: 6 additions & 0 deletions packages/tanstack-query-react-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @openapi-qraft/tanstack-query-react-types

## 2.15.0-beta.1

### Patch Changes

- 7074f50: Fix incorrect overload order in `ServiceOperationUseQuery` and `ServiceOperationUseInfiniteQuery` interfaces. The overloads were swapped, causing TypeScript to incorrectly infer return types. Now the first overload correctly handles cases with `initialData` (returns `DefinedUseQueryResult`), and the second handles cases without it (returns `UseQueryResult`).

## 2.15.0-beta.0

## 2.14.0
Expand Down
2 changes: 1 addition & 1 deletion packages/tanstack-query-react-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-qraft/tanstack-query-react-types",
"version": "2.15.0-beta.0",
"version": "2.15.0-beta.1",
"scripts": {
"build": "yarn clean && NODE_ENV=production rollup --config rollup.config.mjs && tsc --project tsconfig.build.json --emitDeclarationOnly",
"dev": "yarn clean && tsc --project tsconfig.build.json --watch --outDir ./dist/esm --noEmitOnError false",
Expand Down
14 changes: 14 additions & 0 deletions packages/test-fixtures/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @openapi-qraft/test-fixtures

## 1.2.0-beta.0

### Minor Changes

- a282960: Introduce unified CLI tool `@qraft/cli` that extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:
- `qraft openapi` - Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)
- `qraft asyncapi` - Generate TypeScript types from AsyncAPI documents
- `qraft redocly` - Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs

The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.

## 1.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/test-fixtures/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-qraft/test-fixtures",
"version": "1.1.1",
"version": "1.2.0-beta.0",
"private": true,
"packageManager": "yarn@4.0.2",
"exports": {
Expand Down
Loading