Skip to content

Latest commit

 

History

History
453 lines (204 loc) · 18.2 KB

CHANGELOG.md

File metadata and controls

453 lines (204 loc) · 18.2 KB

Change Log

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

5.0.1 (2025-01-02)

Bug Fixes

  • glob 11 to 10, support node 18 (71844c0)

5.0.0 (2024-12-07)

⚠ BREAKING CHANGES

  • grpc-mock: drop node < 18, support node>=18
  • mock: drop node < 18, support node>=18
  • utils: drop node < 18, support node>=18
  • http-mock-gen: drop node < 18, support node>=18

Features

  • grpc-mock: support grpcNpmName config, add @grpc/grpc-js support (dce4b9e)
  • http-mock-gen: update @liangskyli/openapi-gen-ts@3 (4c030fe)

Miscellaneous Chores

  • grpc-mock: upgrade dependencies (a604e71)
  • mock: upgrade dependencies and eslint@9 support (772021e)
  • utils: upgrade dependencies (6f35f20)

4.0.5 (2024-11-16)

Bug Fixes

  • grpc-mock: repeat judge only in repeated (d0e3c4b)

4.0.4 (2024-09-30)

Features

  • mock: add Request, Response type export (929c612)

Bug Fixes

  • esbuild 0.23.0 to 0.20.1, support node16 (0eb0972)

4.0.3 (2024-09-28)

Bug Fixes

  • grpc-mock: grpcMockCodeGen function support module type load configFilePath (cf67529)

4.0.2 (2024-08-18)

Bug Fixes

  • http-mock-gen: methods should in serverName, to fix generater error (6633b8a)

4.0.1 (2024-08-03)

Features

  • http-mock-gen: support modify default value config by add defaultMockData attribute (ff9fa28)

Bug Fixes

  • http-mock-gen: support map type mock data generater (a16fec4)

4.0.0 (2024-02-28)

Note: Version bump only for package root

4.0.0-beta.0 (2024-02-26)

⚠ BREAKING CHANGES

  • http-mock-gen: generator file structure change in type,request and mock data

Features

  • grpc-mock: add unregister after require (9904cae)
  • http-mock-gen: same url mock data get first method (a710094)
  • http-mock-gen: update @liangskyli/openapi-gen-ts, support mock data same url multiple method (6d798fb)

Bug Fixes

  • mock: exports types path (696a110)

3.2.0-beta.0 (2023-12-10)

  • fix(grpc-mock): stable generation servicePort (1a8c68c)
  • feat: http-mock-gen and utils package add "type": "module" as default (e616e6f)
  • feat(grpc-mock): add "type": "module" as default,for support esm (e047f40)
  • feat(grpc-mock): support esm,remove ts-node-dev and use nodemon for hot reload,fix no watch server (9b8dfc7)
  • feat(mock): add "type": "module" as default,for support esm (593854e)

3.1.0 (2023-12-03)

  • chore: pluginSearchDirs in API options has been removed in Prettier 3.0 (0d838ff)
  • chore: upgrade dependencies (f6251cd)
  • chore: vitest file rename (952e3ff)
  • docs: update doc (4600742)
  • docs: update doc (9553979)
  • feat: add defineConfig config support ts type (19dcae9)

3.0.1 (2023-10-21)

Note: Version bump only for package root

3.0.0 (2023-07-15)

Note: Version bump only for package root

3.0.0-beta.1 (2023-07-15)

Features

  • prettier from dependencies to peerDependencies,support v2 and v3 (16f48d5)

3.0.0-beta.0 (2023-07-12)

Bug Fixes

  • prettier V3 prettierOptions type use any (42b818d)

2.1.0 (2023-06-05)

Features

  • http-mock-gen: generate interface-mock-data.ts method toUpperCase for express method (698ec95)
  • http-mock-gen: support router path interface-mock-data.ts generator (b21b5f3)
  • http-mock-gen: use json-schema-faker and @liangskyli/[email protected] support swagger2 (5dcd03e)
  • mock: mock data error does not exit the program and code refactor (4c9f036)

2.0.0 (2023-05-13)

Note: Version bump only for package root

2.0.0-beta.5 (2023-05-13)

Features

  • mock: support all openapi method (a490bf8)
  • support Request,Response type export for pnpm use (5a6f931)

Bug Fixes

  • http-mock-gen: mock data,simple array data merge error (c6e4053)

2.0.0-beta.4 (2023-05-07)

Note: Version bump only for package root

2.0.0-beta.3 (2023-05-02)

⚠ BREAKING CHANGES

  • register use Unique key, restore all register

Features

  • register use Unique key, restore all register (359fe62)

2.0.0-beta.2 (2023-05-01)

⚠ BREAKING CHANGES

  • prettierData change async to sync
  • requestFilePath and requestParamsType configuration change to requestFile

Features

  • grpc-mock: directory structure change (003525f)
  • http-mock-gen: support all openapi method and responseMediaType (de557e5)
  • upgrade @liangskyli/openapi-gen-ts (87ad6c3)

Bug Fixes

  • generator custom-data-template(grpc-mock,htp-mock-gen) (4c56b0f)

Code Refactoring

  • prettierData change async to sync (15ff688)

2.0.0-beta.1 (2023-04-25)

⚠ BREAKING CHANGES

  • drop support for Node 14, now support >=16.10.0

Bug Fixes

  • http-mock-gen: bin file bug (e03cbaf)

Miscellaneous Chores

  • drop support for Node 14 (8f825b2)

2.0.0-beta.0 (2023-04-24)

Features

  • add register, move cross-spawn,ts-node to devDependencies (ad2c90d)
  • move json-schema-faker deprecated api to new api (0923bf3)
  • remove parseRequireDeps function (8e00fc6)

1.6.0 (2023-02-25)

Features

  • mock: socket server support custom namespace, socket server default support allowEIO3 (1301c4a)
  • prettierOptions type use @liangskyli/utils IPrettierOptions type (c6a7295)

1.5.0 (2022-12-03)

Features

  • file name - replace to _ (ddf3692)
  • grpc-mock: response data support enum type (9f61529)
  • http-mock-gen: add the prefix of the mock interface URL address (806c942)

1.4.0 (2022-10-04)

Features

  • http-mock-gen: support CLI config file default vale (fbc7b3b)

1.3.0 (2022-08-10)

Features

  • http-mock-gen: support CLI config multiple IGenMockDataOpts type (8353f44)
  • mock: middleware mock support ts file compiler (d7965af)

1.2.1 (2022-07-10)

Features

  • upgrade dependencies and fix @liangskyli/openapi-gen-ts post method query data err (373db5f)

1.2.0 (2022-07-02)

Features

  • http-mock-gen: mock response support function,now can support dynamic data generation (891d135)
  • mock: support text/plain media type (3f5b568)

1.1.3 (2022-06-19)

Bug Fixes

  • merge custom undefined to target data (2a1d83f)

1.1.2 (2022-06-02)

Bug Fixes

  • add tslib dependencies for ts-node (34a7590)

1.1.1 (2022-06-02)

Note: Version bump only for package root

1.1.0 (2022-05-28)

Features

  • console colors show (614a473)
  • console colors show for update @liangskyli/openapi-gen-ts (52c6559)
  • http-mock-gen: optimization ts type (8f7c5d5)
  • optimization ts type and code (d48f9ce)

1.0.0 (2022-05-15)

Note: Version bump only for package root

1.0.0-beta.0 (2022-05-15)

Features

  • http-mock-gen: openapi to typescript gen move to @liangskyli/openapi-gen-ts (ca4de4a)
  • utils: add getRelativePath (68e9463)

0.12.0 (2022-04-24)

Features

  • http-mock-gen: enhance custom data gen and mock data intellect merge (13acb4e)
  • http-mock-gen: support interface type omit global query/body parameter by gen (02e0d41)

Bug Fixes

  • sceneData type use interface replace type (e7a94d3)

0.11.0 (2022-04-17)

Features

  • http-mock-gen: gen interface-api ts type file and mock data add ts type (a029d2c)
  • http-mock-gen: gen request-api ts file and support customer ajax request (5811655)
  • mock: modify system ignore mock files mock/ts-schema.ts to mock/schema-api/** (bd54755)

0.10.0-beta.1 (2022-04-04)

Note: Version bump only for package root

0.10.0-beta.0 (2022-04-04)

Features

  • http-mock-gen support separation of custom data and generated data (585e59d)
  • mock: add system ignore mock files mock/custom-data/**,mock/ts-schema.ts (bec572c)
  • mock: custom-data-template modify (a836707)

0.9.1-beta.0 (2022-02-25)

Bug Fixes

  • grpc-mock: genMockPath window path (5f80bc3)

0.9.0 (2022-01-27)

Note: Version bump only for package root

0.9.0-beta.5 (2022-01-27)

Note: Version bump only for package root

0.9.0-beta.4 (2022-01-27)

Note: Version bump only for package root

0.9.0-beta.3 (2022-01-27)

Note: Version bump only for package root

0.9.0-beta.2 (2022-01-27)

Note: Version bump only for package root

0.9.0-beta.1 (2022-01-27)

Bug Fixes

  • add dependencies @babel/plugin-transform-modules-commonjs (f42c724)

0.9.0-beta.0 (2022-01-27)

Note: Version bump only for package root

0.8.1 (2022-01-22)

Bug Fixes

  • ts-node devDependencies to dependencies (c43e611)

0.8.0 (2022-01-14)

Bug Fixes

0.8.0-beta.0 (2022-01-13)

Note: Version bump only for package root