Releases: suhaotian/xior
Releases · suhaotian/xior
v0.7.7
What's Changed?
- Feat: Support
application/vnd.api+json
andapplication/x-www-form-urlencoded; charset=utf-8
in RequestContent-Type
- Chore: Remove
export { type A }
'stype
in*.d.ts
after build (some old TypeScript versions (before 3.8) don't support this syntax) - Chore: Improve README and make minor code improvements
Full Changelog: v0.7.6...v0.7.7
v0.7.6
What's Changed?
- Fix: when
params
is undefined, throwTypeError [Error]: Cannot convert undefined or null to object
Full Changelog: v0.7.5...v0.7.6
v0.7.5
What's Changed?
- Fix(build): Change target from
esnext
toes2015
:
In some boilerplates(expo, vue-cli), will throw error Static class blocks are not enabled. Please add
@babel/plugin-transform-class-static-block
to your configuration.
Full Changelog: v0.7.4...v0.7.5
v0.7.4
What's Changed?
- Fix(plugins): For the
errorRetry
plugin, whenenableRetry
is a function returningundefined
or isundefined
,
it only retries GET requests and skips POST requests; same with other plugins adjustments. - Change package bundler to
tsup
frombunchee
reduce the lib size from7KB(GZIP 3KB)
to5KB(GZIP 2.5KB)
- Chore: Add https://www.jsdocs.io/package/xior to README's API Reference section.
- Chore: Update examples code
Full Changelog: v0.7.3...v0.7.4
v0.7.3
What's Changed?
- Plugins: use relative path to import utils and types
- Refactor: minor reduce size
Full Changelog: v0.7.2...v0.7.3
v0.7.2
What's Changed?
- Refactor: Don't exports unnecessary internal properties.
- Chore: update README.
Full Changelog: v0.7.1...v0.7.2
v0.7.1
What's Changed?
- Chore: remove
ts-deepmerge
fromdependencies
(but you still can use deep merge functionimport { merge } from 'xior'
) - Refactor: minor reduce size
- Docs: update README to fix about
node-fetch
agent example code
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed?
- Feat: Add
fetch
option; now we can usenode-fetch
andundici
as replacements for the built-in fetch to support the proxy feature, or you can easily use other fetch implementations. How can I use custom fetch implementation or How to support proxy feature? - Tests: Add tests for
node-fetch
andundici
replacements. - Refactor: Minor improvement.
- Build: Add sourcemap output by default with updated
bunchee
version. - README: Update README about
fetch
option. - Good to Know: Change internal properties
._RSIRun
to_did
and.fetch
to._
. - Chore: Update publish script to show Provenance:

Full Changelog: v0.6.3...v0.7.0
v0.6.3
v0.6.2
What's Changed
- Refactor: minor improvment
- Refactor: use
'./utils'
instead of'xior/utils'
, fix Unable to resolve module xior/utils #34
Full Changelog: v0.6.1...v0.6.2