Changelog

Track all notable changes to OpenAPI Sync. We follow Semantic Versioning.

v5.0.0

major
2025-10-25
  • 🎉 MAJOR: Complete client generation overhaul with bug fixes and improvements
  • ✅ Fixed SWR mutation hooks type errors - Correct argument type nesting
  • ✅ Fixed Fetch client naming conflicts - Auto-aliased endpoint imports with _endpoint suffix
  • ✅ Fixed Fetch client default exports - Added named apiClient variable for ESLint compliance
  • ✅ Fixed RTK Query folder split - Generates apis.ts with setupApiStore helper for minimal Redux configuration
  • ✅ Fixed RTK Query reducer paths - Each API slice now has unique reducerPath based on folder name
  • ✅ Fixed CLI argument precedence - CLI options now correctly override config file settings
  • 📚 Enhanced SWR hooks - Added comprehensive inline documentation with 230+ lines of usage examples
  • 🚀 Improved interactive setup - Automatically enables byTags when folder splitting is selected
  • 📦 Non-folder-split mode - Now generates single clients.ts and hooks.ts files at root level
  • 🎨 Better developer experience - All generated files include copy-paste-ready examples
  • ⚡ Performance improvements - Optimized build and generation processes

v4.1.0

minor
2025-10-22
  • 🚀 NEW: API Client Generation - Generate fully-typed clients for Fetch, Axios, React Query, SWR, and RTK Query
  • Added CLI command: generate-client with filtering by tags and endpoint names
  • Client generation supports custom code preservation to keep user modifications
  • Generate React Query hooks (v4 & v5) with automatic mutations
  • Generate SWR hooks with mutation support
  • Generate RTK Query API slices with type-safe endpoints
  • Added authentication configuration for generated clients (Bearer, API Key, OAuth2)
  • Added error handling with typed error classes
  • 27 comprehensive tests for client generation features
  • Full documentation with examples for all client types

v4.0.0

major
2024-10-20
  • Added validation schema generation support (Zod, Yup, Joi)
  • Enhanced type generation with better nullable handling
  • Improved documentation generation
  • Breaking: Updated configuration structure for validations

v2.1.13

patch
2024-09-15
  • Fix dts type fixes
  • Clean up tsup build config
  • Introduction of unit testing
  • Improved build performance

v2.1.12

patch
2024-08-30
  • Add automatic sync support for function-based config
  • Improved handling of missing OpenAPI urls
  • Better error messages

v2.1.11

minor
2024-08-10
  • Folder splitting configuration for organized code generation
  • Support for tag-based folder organization
  • Custom folder logic support

v2.1.10

minor
2024-07-20
  • OperationId-based naming for types and endpoints
  • Enhanced filtering and tag support
  • Better endpoint exclusion/inclusion logic

v2.1.9

patch
2024-07-05
  • Enhanced JSONStringify function improvements
  • Performance optimizations

v2.1.8

patch
2024-06-20
  • File extension corrections
  • Improved path handling

v2.1.7

patch
2024-06-10
  • Endpoint tags support in API documentation
  • Better JSDoc generation

v2.1.6

patch
2024-05-25
  • Improved handling of nullable fields in generated types
  • Fixed edge cases in type generation

Stay Updated

Follow the project on GitHub to get notified about new releases and updates.