Skip to content

Releases: OpenAPI-Qraft/openapi-qraft

@openapi-qraft/[email protected]

21 Sep 15:43
cad51be
Compare
Choose a tag to compare
Pre-release

Patch Changes

@openapi-qraft/[email protected]

21 Sep 15:43
cad51be
Compare
Choose a tag to compare
Pre-release

Major Changes

  • 8c77eb2: Generate comprehensive operation names with consideration of the --service-name-base option. Operation names now
    include all path parts and parameters, and the structure can be customized based on the --service-name-base value.

    Breaking Changes:

    • Operation names now include all path parts and parameters by default.
    • /api/v{api-version} is no longer automatically removed from the path when generating operation names.
    • The --service-name-base option now influences the generated operation names with a new structure.

    Examples:

    • With --service-name-base=endpoint[0]:
      POST /v1/users/{id}api.v1.postUsersId
    • With --service-name-base=endpoint[1]:
      GET /v1/users/{id}api.users.getId
    • With --service-name-base=endpoint[1]:
      POST /v1/users/suspendapi.users.postSuspend
    • With --service-name-base=endpoint[1]:
      POST /v1/users/{id}/{key}api.postIdKey
    • With --service-name-base=tags:
      POST /v1/users/{id}/{key}api.<tag>.postV1UsersIdKey

    This change provides more flexibility in operation name generation and allows for better customization based on project
    requirements.

Patch Changes

@openapi-qraft/[email protected]

15 Sep 20:15
64cd244
Compare
Choose a tag to compare
Pre-release
@openapi-qraft/[email protected]

@openapi-qraft/[email protected]

15 Sep 20:15
64cd244
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 4ef9ce0: Clarified FetchInfiniteQueryOptions type to align with the latest TanStack Query version (5.56.2).
  • 78638a5: Extended TSDoc generation for existing useQuery, useMutation, useInfiniteQuery, useIsFetching and useIsMutating hooks, now including detailed usage examples.

@openapi-qraft/[email protected]

15 Sep 20:15
64cd244
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 4ef9ce0: Clarified FetchInfiniteQueryOptions type to align with the latest TanStack Query version (5.56.2).
  • 9dc1918: Simplified TParams type for conditional expressions.
  • 78638a5: Extended TSDoc generation for existing useQuery, useMutation, useInfiniteQuery, useIsFetching and useIsMutating hooks, now including detailed usage examples.
  • 1168760: Marked RequestFnPayload as deprecated in favor of RequestFnInfo for a more descriptive and consistent API.

@openapi-qraft/[email protected]

15 Sep 20:15
64cd244
Compare
Choose a tag to compare
Pre-release
@openapi-qraft/[email protected]

@openapi-qraft/[email protected]

15 Sep 20:15
64cd244
Compare
Choose a tag to compare
Pre-release

Patch Changes

@openapi-qraft/[email protected]

15 Sep 20:15
64cd244
Compare
Choose a tag to compare
Pre-release

Patch Changes

@openapi-qraft/[email protected]

13 Sep 00:21
Compare
Choose a tag to compare
Pre-release
@openapi-qraft/[email protected]

@openapi-qraft/[email protected]

13 Sep 00:21
Compare
Choose a tag to compare
Pre-release

Major Changes

  • 5b64278: Refactored service method generation in OpenAPI Qraft v2 with improved DX, including full TSDoc support and optimized autocomplete performance.

Patch Changes