CHANGELOG
This is the log of notable changes to the tsdk that are developer-facing.
0.2.4 2024/10/20 (Not Published Yet)
- Feat: double check
@nest/cliis installed or not - Feat: add
payloadtoonErrorHandler - Chore: change snippet of import api config
0.2.3 2024/10/9
- Feat: react hooks support custom handler
- Feat: add
Expandtypes to API - Fix: fix
fromfield issue when run sync command - Chore: update deps
0.2.2 2024/9/22
- Fix(types): support custom handler in
fe-sdk
0.2.1 2024/9/21
- Feat: support custom handler in
fe-sdk - Chore: remove unnecessary code when
httpLibisxiorinfe-sdk - Chore: bump deps to latest
0.2.0 2024/7/18
- Chore: update
xiorto latest version0.5.3 - Chore: update
axiosto latest version1.7.2
0.1.16 2024/5/10
- Feat: socket.io handle emit support FormData
0.1.15 2024/5/9
- Feat: support
scriptsconfig intsdk.config.ts
0.1.14 2024/5/8
- Feat: API support
FormData - Feat: onErrorHandler add apiConfig as
config - Chore: bump deps to latest
0.1.13 2024/3/25
- Feat: bump
xiorto 0.3.0 and deps to latest
0.1.12 2024/3/17
- Feat: bump
xiorto 0.2.1 and addisGetpass to xior instance options.
0.1.11 2024/3/5
- Fix: nest webpack build file end with
.jskeep original filename - Fix:
deletemethod shouldn't have body
0.1.10 2024/3/4
- Chore: bump
xiorto 0.1.1
0.1.9 2024/2/27
- Chore: bump xior to 0.0.7
0.1.8 2024/2/23
- Fix:
RequestConfigtype ingen-api.tsshould beXiorRequestConfigwhenhttpLib: 'xior' - Fix: run sync-sdk error,
fe-sdk-templateadd"lib": ["DOM", "ES2015", "ES5"],totsconfig.json
0.1.7 2024/2/20
- Chore: bump
xiorversion to v0.0.5
0.1.6
- Feat: add httpLib config in
tsdk.config.js, More detail https://tsdk.dev/docs/guide/tsdk.config (opens in a new tab) - Chore: bump webpack version
- Chore: add
XiorRequestConfigin generate code
0.1.5
- Feat: add fetch support (use xior, similar axios API: https://www.npmjs.com/package/xior (opens in a new tab))
- Chore: bump deps
- Chore: update documentation, add
xiorpart and fix some typo
0.1.4 2024/01/20
- Fix: windows build
0.1.3 2024/01/20
- Fix: sync shared files should include JSON files like
*.jsonor*.shared.json
0.1.2 2024/01/20
- Chore: add
incremental: truein fe-sdk template's tsconfig.json - Chore: add
resolveJsonModule: truein fe-sdk template's tsconfig.json
0.1.1 2024/01/05
- Breaking Change:
genRoutecallback first two arguments swap for better experience
0.0.35 2024/01/3
- Refactor:
nest-webpack.tsimprove error message - Fix: transform paths process error in some case
0.0.34 2024/01/2
- Refactor:
nest-webpack.tsmonorepoRoot useconfigfromtsdk.config.js
0.0.33 2023/12/31
- Fix: copy dir content not transform correctly when has
import 'module-name';
0.0.32 2023/12/22
- Feat: Generate
React QueryandSWRhooks supportundefinedpayload - Fix: Generate
React Queryhooks error:Multiple exports of name 'setQueryClient'
0.0.31 2023/12/17
- Performance: check before run
transformTypeormEntityto improve performance - Chore: bump
React Queryversion to 5.14.0 from 5.10.0
0.0.30 2023/12/15
- Chore: add comment to generated
SWRorReactQueryhooks
0.0.29 2023/12/11
- Feat: respect
isGetistrueorfalsevalue
0.0.28 2023/12/8
- Feat: add
isGetinAPIConfigfor sometimes backend provide API's http method are allPOST
0.0.27 2023/12/6
- Chore: remove dep safe-eval, use eval to parse tsconfig.json instead
- Feat: support url params, add
paramsInUrlinAPIConfig
0.0.26 2023/12/4
- Fix generate SWR mutation hook wrong types
0.0.22-0.0.25 2023/12/2
- Feat: add
DrizzleORMin.tsdkrc'sentityLibName - Refactor: remove unused code
- Add
devDependenciesconfig in.tsdkrc - Deprecated
.tsdkrc, usetsdk.config.js - Chore: remove useless
sdkWhiteListintsdk.config.js
0.0.21 2023/12/1
- Chore:
.tsdkrcadd"removeFields": []when generate config - Chore: bump deps
- Fix: When no
*.apiconf.ts, fix sync script error - Fix: React Query hook error: No QueryClient set, use QueryClientProvider to set one
0.0.20 2023/11/25
- Feat:
fe-sdkgenerate doc add types hover popover feature - Feat: support custom dependencies in
.tsdkrc, removeaxiosVersion/kyselyVersion/swrVersion/reactQueryVersion - Chore: update README, and add repo and description to
package.json
0.0.20-beta.15 2023/11/18
- Chore: add
swrVersion,reactQueryVersion,kyselyVersionin.tsdkrc - Chore: add try prettier code script after run sync command
- Chore: Install only run once when run sync command (before run twice)
- Fix: fix next build error: Collecting page data ..TypeError: (0 , o.withMiddleware) is not a function
0.0.20-beta.14 2023/11/17
- Chore: refactor types in
fe-sdk-template/shared/tsdk-types, make more sense - Fix: make
removeFields`` in.tsdkrc` work correctly - Chore: fix entry not found error if retry entry file exists
- Fix: getData in adapters support async
- Fix: generate
permissions.jsonadd missingnamefield - Feat: add
dataHookLibfield in.tsdkrc, support generateSWRorReact Queryhooks - Breaking Change: delete sdk folder when run sync command
0.0.20-beta.13 2023/11/15
- Breaking Change(tsdk-server-adapters): change
gen-routeparamters sortgen-route-factory.ts - Chore:
sync-sdkscript no neednpm runorpnpmas prefix
0.0.20-beta.12 2023/10/31
- chore: ignore
namein APIConfig - chore: change snippets
/src/*to@/src/* - fix: path alias start with
@/sync-sdk error - fix: tsconfig.json is not a valid json
- fix:
shared-refs.tsinclude*.shared.ts - feat: support custom axios version
0.0.20-beta.11 2023/10/30
- Fix: first time run
tsdk --syncautomatic execute install inside the sdk module - Feat: detect
npmorpnpmto adjust the run command
0.0.20-beta.10 2023/10/19
- Chore: keep
sync-sdkscript when sync - Chore: documentation just use
typedoc
0.0.20-beta.9 2023/9/28
- Fix:
isObjectadd FormData check - Build: generate
package.jsonaddcross-env NODE_ENV=productiontoscripts - Chore: ignore SDK generate markdown files
docs/api - Feat: api config type
commonsupport intsdk-server-adapters
0.0.20-beta.9 2023/9/13
- Feat: onErrorHandler add apiConfig for better debug
- Fix: tsdk onErrorHandler improve send payload type
0.0.20-beta.5
- Fix tsdk docs build error
0.0.20-beta.4
- Fix tsdk docs lint error
0.0.20-beta.3
- Fix tsdk docs build error
0.0.20-beta.2
- typedoc don't support [email protected], fix to 5.1.6
0.0.20-beta.1 2023/9/3
- bump deps
0.0.20-beta.0 2023/7/31
- bump deps
- add honojs support
0.0.19-beta.16 2023/5/16
- fix:
trimAndRemoveUndefinedshould only for object (not array and null) data
2023/7/17
- bump deps
0.0.19-beta.15 2023/5/16
- fix:
_idoverwrite by data with property_id - fix: when request params is not object wrong data
0.0.19-beta.14 2023/3/23
- bump webpack version
2023/4/18
- bump deps
0.0.19-beta.13 2023/2/13
- socket.io protocol methods use index to save data transfer
2023/2/15
- Sync overwrite with fe-sdk-template files and you should not change files by generate tsdk, but you can create custom files. You can pass tsdk --sync --no-overwrite keep old behavior(but don't recommend.)
- Monorepo: seperate
@acme/test-configas a package could share buy others
2023/2/16
@acme/ts-config,@acme/eslint-config,@acme/test-configmove toconfigs/from/packagesand change the prefix from@acme/to@configs/
0.0.19-beta.12 2023/2/9
- Sort files before export content to avoid repeat files change
0.0.19-beta.11 2023/2/8
- Ignore commented import string warn, because it's commented
- Fix windows build
0.0.19-beta.10 2023/2/5
- Fix socket.io getID wrong method logic
- Refactor getID logic
0.0.19-beta.9 2023/2/1
- Support
kysely - Fix some bugs
0.0.19-beta.8 2023/1/23
fe-sdkthrow custom error
0.0.19-beta.7 2023/1/23
- Generate and change
fe-sdk docsname, fix confilict in dev. - Skip
tsdk-types.tsimport in shared index, fix type dulicaped error.
0.0.19-beta.6 2022/11/23
- fix broken for old
tsdkproject
0.0.19-beta.5 2022/11/12
tsdkexportpermissions.jsonwith organize structure
2022/11/22
tsdksupport APIs SDK Docs export
0.0.19-beta.4 2022/11/07
tsdk-server-adapters'sgetReqInfosupport Promise function