Skip to content

Latest commit

 

History

History
349 lines (131 loc) · 11.6 KB

CHANGELOG.md

File metadata and controls

349 lines (131 loc) · 11.6 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.0.0 (2024-09-17)

Note: Version bump only for package root

3.0.0-beta.0 (2024-08-31)

⚠ BREAKING CHANGES

  • drop swagger2 and openapiPath file path
  • drop node < 18, support node>=18

Features

  • openapiPath support JSON / YAML format (2dcc0bc)

Miscellaneous Chores

  • upgrade dependencies and node to v18 (651f2c1)

2.1.0-beta.0 (2024-08-03)

Note: Version bump only for package root

2.0.2 (2024-06-26)

Bug Fixes

  • request-api config param add default value (7cb6641)

2.0.1 (2024-03-24)

Features

  • change IAPIRequest method type replace | to & (955612e)

2.0.0 (2024-02-26)

Note: Version bump only for package root

2.0.0-beta.1 (2023-12-16)

⚠ BREAKING CHANGES

  • generator file structure change in interface-api.ts and request-api.ts

Features

  • generator file structure modify to url => method, export methodList,IOpenapiMethod (2ec3691)

2.0.0-beta.0 (2023-12-15)

⚠ BREAKING CHANGES

  • generator file structure change in interface-api.ts and request-api.ts

Features

  • add "type": "module" as default,for support esm (1a5cea5)
  • support same url generator multiple method type and request (bf8ca64)

1.3.0 (2023-12-03)

Features

  • add defineConfig config support ts type (35903ac)

1.2.2 (2023-10-14)

Note: Version bump only for package root

1.2.1 (2023-08-12)

Bug Fixes

  • update openapi-typescript@6.4.0 for support CJS bundle, and use medium version (959ec0e)

1.2.0 (2023-07-15)

Note: Version bump only for package root

1.2.0-beta.0 (2023-07-15)

⚠ BREAKING CHANGES

  • @liangskyli/utils:prettierData from sync to async

Miscellaneous Chores

1.1.0 (2023-05-28)

Features

  • openapiPath support OpenAPI3 (03cc04d)
  • support router path params generator and request-api add path params (331ba0f)
  • support swagger2 to openapi for generator ts (2ce8bae)
  • upgrade openapi-typescript to fix js-yaml $refs generate ts bug and add unit test (22b9f82)

1.0.1 (2023-05-11)

Bug Fixes

  • generate request-api.ts type (88ad12f)
  • generate type use Record<any, any> (4456a0a)

1.0.0 (2023-05-07)

Note: Version bump only for package root

1.0.0-beta.2 (2023-05-02)

Note: Version bump only for package root

1.0.0-beta.1 (2023-05-01)

⚠ BREAKING CHANGES

  • prettierData from async to sync

Bug Fixes

Miscellaneous Chores

  • upgrade @liangskyli/utils (28e6105)

1.0.0-beta.0 (2023-04-26)

⚠ BREAKING CHANGES

  • requestFilePath and requestParamsType configuration change to requestFile

Features

  • openapiPath support remote URL (5c3660c)
  • requestBody not required support generate interface-api not required body (c1aac22)
  • requestFilePath and requestParamsType configuration change to requestFile (8b4ee7f)
  • support openapi-typescript options config (3bc7eaf)
  • support typescript-json-schema options config (54b83c6)
  • tuple type support generator (72671a6)
  • type {} use Record<string, never> replace (ba819fd)
  • upgrade openapi-typescript and remove temporary code (18eee85)
  • upgrade openapi-typescript and remove temporary code (c66e75c)
  • use default config file request.config.ts and support array configuration (5abcacd)
  • use responseCode 200 > default order, and get first content response mediaType (beea347)

Bug Fixes

  • bin file bug (23beaaa)
  • openapiMethod type (e604be0)
  • when requestParamsType not set,code generator possible occurrence SyntaxError (2b37321)

0.7.0 (2023-04-09)

Features

  • openapi tip info change and remove eslint-disable (a7fb039)
  • support all body media type content (7ee5e25)
  • support all openapi method, media type,and first body or responses 200 content (099fdb4)
  • ts type IGenTsDataOpts use Partial (407414c)

0.6.0 (2023-01-10)

Note: Version bump only for package root

0.5.0 (2022-08-10)

Note: Version bump only for package root

0.4.0 (2022-07-10)

Features

  • request file generate support parame type,and post method for fix query data (4282057)

0.3.0 (2022-07-02)

Features

  • body and response support text/plain generate (bd6f63c)
  • ts-schema.ts add commentHeader (e922741)

Bug Fixes

  • openapi-typescript to @liangskyli/openapi-typescript, for openapi file schemas key double bug (7f5a9af)

0.2.2 (2022-06-02)

Features

  • generateSchema ignoreErrors (3b17c36)

Bug Fixes

  • add tslib dependencies for ts-node (f008a07)

0.2.1 (2022-05-28)

Features

0.2.0 (2022-05-15)

Note: Version bump only for package root

0.2.0-beta.3 (2022-05-14)

Note: Version bump only for package root

0.2.0-beta.2 (2022-05-14)

Bug Fixes

  • paths path use ts-schema (ebaad72)

0.2.0-beta.1 (2022-05-13)

Features

  • genTsData return schemaDefinition to schemaDefinition and genTsAbsolutePath (4653d1b)

0.2.0-beta.0 (2022-05-13)

Note: Version bump only for package root

0.1.0 (2022-05-12)

Features

  • openapi to typescript gen split from @liangskyli/http-mock-gen (a45ca43)