Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A big update(no breaking): plugins, new readme, more tests, But no breaking change #1

Merged
merged 14 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading