Skip to content

Commit

Permalink
Merge pull request #1 from suhaotian/plugins-and-new-readme
Browse files Browse the repository at this point in the history
A big update(No Breaking Change): plugins, more tests, new readme
  • Loading branch information
suhaotian authored Feb 27, 2024
2 parents bc95c55 + cfbe306 commit 9944d05
Show file tree
Hide file tree
Showing 57 changed files with 4,077 additions and 321 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build
on: push
name: Tests & Build
on: [push, pull_request]

jobs:
check:
Expand Down Expand Up @@ -30,3 +30,13 @@ jobs:

- name: Run build
run: pnpm build

- name: Run vite example build
run: pnpm --filter=vite-example build

- name: Run next example build
run: pnpm --filter=next-example build

- uses: oven-sh/setup-bun@v1
- name: Run bun example
run: cd bun-example && bun install && bun index.ts && bun build index.ts > /tmp/tmp.js
22 changes: 16 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
# CHANGELOG 📝

- feat: work with polyfill in old enviroment
## v0.0.7 2024-02-27

- feat(core): suport nested object paramaters in default
- feat(plugin): implemented **error retry**, **cache**, **throttle**, and upload/download **progress** plugins
- fix(build): resolved Bunchee build output error with Vite projects.
- chore(doc): updated README.md
- chore(examples): add bun, vite, and next build example for make sure it's working in these projects

## v0.0.6 2024-02-24

- feat(plugin): Plugin mechanism implemented 🖖
- feat: Compatibility with polyfills in older environments

## v0.0.5 2024-02-20

- fix: github actions release
- fix: resolved issues with GitHub Actions release

## v0.0.4

- feat: support url as first paramter in xiorInstance.request('/url')
- feat: mark `headers` and `params` types as `Record<string, any>` and not undefined in interceptors
- feat: add generic type to `XiorRequestConfig`
- feat: Removed first parameter `url` from `xiorInstance.request`

## v0.0.3

- Chore: improve README and add more tests
- Chore: Enhanced README and added more tests
- Feat: `xiorInstance.request` remove first parameter `url`

## v0.0.2 2024-02-18

- Feat: compatiable error handle with axios's response interceptor
- Feat: improved error handling compatibility with Axios's response interceptor.

## v0.0.1 2024-02-15

Expand Down
Loading

0 comments on commit 9944d05

Please sign in to comment.