Skip to content

Releases: hairyf/genapi

v4.1.0

09 Feb 10:20

Choose a tag to compare

   🚀 Features

  • Update package.json to separate prepare and install scripts; upgrade knitwork-x dependency to version 0.3.1; enhance response type handling in parameters transformation and formatting functions  -  by @hairyf (94da7)
  • Enhance transformBaseURL function to handle various URL scenarios and add corresponding tests for OAS3 normalization and relative paths  -  by @hairyf (c0c65)
  • Implement shared query configuration and parser functions for TanStack, enhancing modularity and reusability across presets  -  by @hairyf (28629)
  • Refactor Playground component to support dynamic file generation and update API response handling for improved file management  -  by @hairyf (a0740)
  • Update Playground and configuration documentation to include new presets and improve clarity on usage; adjust Select component styling for better UX  -  by @hairyf (febf2)

   🐞 Bug Fixes

  • Add description to genapi command and mark input argument as optional  -  by @hairyf (ecd7e)
    View changes on GitHub

v4.0.0

09 Feb 05:53

Choose a tag to compare

   🚀 Features

  • Add skills system documentation and manifest, update .gitignore and package scripts  -  by @hairyf (14429)
  • Add automd support across packages and enhance documentation with README files  -  by @hairyf (1c734)
  • Integrate knitwork-x for code generation and typings, update pnpm workspace and package dependencies  -  by @hairyf (44d08)
  • Add inlineOnly option to tsdown configuration for improved build flexibility  -  by @hairyf (74e2e)
  • Integrate Vitest for testing framework, add test configurations and initial test cases for core functionality  -  by @hairyf (afb40)
  • Update ESLint configuration to disable 'no-template-curly-in-string' rule, upgrade openapi-specification-types version to 0.3.0, and enhance parser functionality with additional parameter handling  -  by @hairyf (a2c2a)
  • Enhance AGENTS documentation with testing guidelines, add new OpenAPI 3.x and Swagger 2.0 test fixtures, and improve parameter handling in parser  -  by @hairyf (f5eeb)
  • Enhance parser functionality with operation transformation and definition patching, add new operations module, and improve type handling in method parsing  -  by @hairyf (56b90)
  • Enhance parser with configuration reading and definition renaming support, improve type handling in transformDefinitions and parseSchemaType functions  -  by @hairyf (81a65)
  • Enhance parser and pipeline with mock generation support, improve context injection for configuration and return types  -  by @hairyf (3a671)
  • Add detailed documentation for static patches, global transformations, and mock data generation in README files  -  by @hairyf (1adeb)
  • Add support for new ofetch schema handling, including configuration and parser enhancements, and integrate fetchdts for improved type imports  -  by @hairyf (48b84)
  • Add test coverage command and integrate @vitest/coverage-v8 for enhanced testing capabilities, update package dependencies and configurations  -  by @hairyf (62248)
  • Enhance method parsing and request compilation with improved response schema extraction, recursive required marking, and optimized mock template generation  -  by @hairyf (6db56)
  • Add knitwork-x dependency and enhance schema compiler with dynamic parameter handling and improved type generation  -  by @hairyf (8a8fa)
  • Add documentation and configuration for new docs package, enhance ESLint settings, and update pnpm workspace  -  by @hairyf (d5cff)
  • Add axios, consola, magicast, and nypm dependencies; implement init command for genapi configuration; enhance CLI with improved command handling and error messages  -  by @hairyf (01127)
  • Update pnpm configuration and add new components for documentation playground; include CodeHighlighter, Playground, Select, and Tabs components, and implement API generation logic  -  by @hairyf (382bc)
  • Add comprehensive documentation for genapi, including a new BLOG.md file detailing features and usage; update README with quick start instructions and schema mode details; enhance ESLint configuration to ignore generated test files  -  by @hairyf (49c70)
  • Implement schema generation pipeline with compiler, config, and parser for API schema handling; add support for both 'ofetch' and 'fetch' HTTP clients  -  by @hairyf (ce698)
  • Add support for YAML source parsing in pipeline; integrate confbox for YAML handling and update dependencies to version 0.2.4  -  by @hairyf (94186)
  • Add tanstack presets for React and Vue, including configuration, parser, and integration tests; update CLI to support new presets  -  by @hairyf (9d812)
  • Remove consola dependency from workspace and update documentation to include new TanStack Query presets for React and Vue; enhance init command for better user experience  -  by @hairyf (78511)
  • Update input configuration in CLI and playground to use the OpenAPI specification URL; simplify description handling in TanStack Query parsers for React, Vue, and Colada  -  by @hairyf (a9e10)
  • Update pnpm lock and workspace configurations; rename operatePipelineGenerator to generate in CLI and generator modules; enhance JSON source reading in pipeline  -  by @hairyf (50b67)

   🐞 Bug Fixes

  • Conditionally assign schemes in configRead to prevent empty values for non-URI sources  -  by @hairyf (50d49)
    View changes on GitHub

v3.7.1

13 Nov 09:04

Choose a tag to compare

   🐞 Bug Fixes

  • Adjust parameter sorting to move required parameters to the end for better handling  -  by @hairyf (1e792)
    View changes on GitHub

v3.7.0

09 Nov 05:46

Choose a tag to compare

No significant changes

    View changes on GitHub

v3.6.4

08 Nov 18:28

Choose a tag to compare

   🐞 Bug Fixes

  • Enhance schema type parsing to return an empty object string when no fields are present  -  by @hairyf (c3b41)
  • Update schema type parsing to ensure required fields default to true and streamline property assignment  -  by @hairyf (5085e)
    View changes on GitHub

v3.6.3

08 Nov 16:00

Choose a tag to compare

   🐞 Bug Fixes

  • Improve schema parsing logic to handle merging of properties and ensure unique interface names  -  by @hairyf (2e6c0)
    View changes on GitHub

v3.6.2

08 Nov 15:29

Choose a tag to compare

No significant changes

    View changes on GitHub

v3.6.1

04 Nov 03:16

Choose a tag to compare

   🚀 Features

  • Add onlyDeclaration option to config for conditional request AST generation  -  by @hairyf (7c96e)
    View changes on GitHub

v3.6.0

29 Oct 12:54

Choose a tag to compare

   🚀 Features

  • Add support for @uni-helper/uni-network in API pipeline with new presets  -  by @hairyf (7a40a)
    View changes on GitHub

v3.5.0

07 May 04:07

Choose a tag to compare

   🐞 Bug Fixes

  • Update type definitions to use .d.mts extension across packages  -  by @hairyf (38e44)
  • Update tsdown version to 0.8.1 and migrate build script from tsup to tsdown  -  by @hairyf (6ae1e)
  • Handle optional parameters in traversePaths function  -  by @hairyf (b4670)
    View changes on GitHub