Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
0b85125
feat(validation): use typeprovider pattern to make zodios independant…
ecyrbe Nov 9, 2022
4312abe
feat(type-provider): implement io-ts type provider
ecyrbe Nov 10, 2022
f4ebc03
feat(typeProvider): make type providers library independant
ecyrbe Nov 10, 2022
3d4ca1c
feat(type-provider): export providers and remove crud helpers
ecyrbe Nov 10, 2022
2d17dd5
fix(type-provider): remove default on internal error impl
ecyrbe Nov 10, 2022
9ed497b
feat(type-provider): add typescript type provider
ecyrbe Nov 10, 2022
ab35b4b
feat(type-provider): improve ts perf and memory footprint
ecyrbe Nov 10, 2022
2cfaebd
refactor(type-provider): clean type definition for ts schemas
ecyrbe Nov 10, 2022
ed0b64e
refactor(type-provider): clean Generic Schema definition
ecyrbe Nov 10, 2022
45e7822
feat(type-provider): export ts schema builder
ecyrbe Nov 10, 2022
891bbf5
feat(type-provider): export type providers utils
ecyrbe Nov 10, 2022
a18811a
feat(type-provider): add fn validation schema
ecyrbe Nov 10, 2022
7f019bc
11.0.0-rc.0
ecyrbe Nov 10, 2022
e5c0ea6
refactor(type-provider): move type providers to sub directory
ecyrbe Nov 11, 2022
0b1a5be
chore(monorepo): migrate to turborepo + pnpm
ecyrbe Nov 11, 2022
5fd697f
chore(changeset): use changeset
ecyrbe Nov 11, 2022
9fbc254
chore: new beta release
ecyrbe Nov 11, 2022
d93d5bc
chore(publish): remove publish from gh actions
ecyrbe Nov 11, 2022
a449bf2
chore: new version
ecyrbe Nov 11, 2022
e419345
fix(types): remove unecessry generic
ecyrbe Nov 11, 2022
08d0381
test(type-provider): add typeprovider tests
ecyrbe Nov 11, 2022
ac6f66d
chore: add publish script
ecyrbe Nov 11, 2022
5c2e1a5
chore: update changesets
ecyrbe Nov 11, 2022
7a20638
chore: changeset should commit
ecyrbe Nov 11, 2022
4810810
docs(changeset): autocommit on changesets
ecyrbe Nov 11, 2022
8761ee0
chore: move examples to core
ecyrbe Nov 13, 2022
3e81762
feat(fetcher-provider): first impl of axios fetcher provider
ecyrbe Nov 13, 2022
3738d2b
docs(changeset): add fetcher provider and axios impl
ecyrbe Nov 13, 2022
a4be0f0
feat(plugins): make plugins fetcher provider compliant
ecyrbe Nov 13, 2022
ed550b9
feat(fetch): add fetch implementation
ecyrbe Nov 17, 2022
260a9ce
docs(changeset): add fetch implementation
ecyrbe Nov 17, 2022
f1cccb5
refactor(fetcher): move fetchers to their own directory
ecyrbe Nov 17, 2022
7562362
feat(fetcher): body is now part of config
ecyrbe Nov 19, 2022
eb82d3b
docs(changeset): body is now part of the config
ecyrbe Nov 19, 2022
b41c07d
chore(axios): clone core to axios directory
ecyrbe Nov 19, 2022
4556ac9
feat(fetcher): remove core axios dep
ecyrbe Nov 19, 2022
83ee90d
refactor(core): rename core exports
ecyrbe Nov 19, 2022
938c4f6
docs(changeset): rename exports
ecyrbe Nov 19, 2022
56c6fe7
docs(changeset): update axios
ecyrbe Nov 19, 2022
734c392
RELEASING: Releasing 2 package(s)
ecyrbe Nov 19, 2022
56338e4
docs(changeset): sync axios and core versions
ecyrbe Nov 19, 2022
9a2aa7b
chore: clean changsets
ecyrbe Nov 19, 2022
22de18e
tests(axios): fix tests
ecyrbe Nov 19, 2022
ed830b8
docs(changeset): fix axios tests
ecyrbe Nov 19, 2022
6f4bbcb
RELEASING: Releasing 2 package(s)
ecyrbe Nov 19, 2022
b291491
chore: update changesets
ecyrbe Nov 19, 2022
445a642
RELEASING: Releasing 0 package(s)
ecyrbe Nov 19, 2022
bdd5057
chore: easier publish name
ecyrbe Nov 19, 2022
293ffec
chore: add pnpm to ci
ecyrbe Nov 19, 2022
7f6712e
chore: rerun ci on workflow changes
ecyrbe Nov 19, 2022
073f7f3
chore: fix pnpm install
ecyrbe Nov 19, 2022
f3f2a99
chore: add cross fetch for testing
ecyrbe Nov 19, 2022
04a32e5
feat(core): expose providers
ecyrbe Nov 20, 2022
b797334
chore(axios): expose providers
ecyrbe Nov 20, 2022
894ad48
feat(core): add basic mock helpers
ecyrbe Nov 21, 2022
c0f4615
docs(changeset): add basic mocks helpers
ecyrbe Nov 22, 2022
e9857ac
docs(changeset): add fetch package
ecyrbe Nov 22, 2022
42f473a
RELEASING: Releasing 3 package(s)
ecyrbe Nov 22, 2022
c87dce3
docs(changeset): chore(fetch): fix deps
ecyrbe Nov 22, 2022
8fa0c23
RELEASING: Releasing 3 package(s)
ecyrbe Nov 22, 2022
beca36b
docs(changeset): tests(core): fix tests
ecyrbe Nov 23, 2022
c503e7b
docs(changeset): feat(fetch): remove qs dependency
ecyrbe Nov 23, 2022
423a1b1
RELEASING: Releasing 3 package(s)
ecyrbe Nov 23, 2022
7abce27
docs(changeset): chore(deps): upgrade axios
ecyrbe Nov 23, 2022
e8022b3
feat(core): expose mock provider
ecyrbe Nov 24, 2022
2fe960f
docs(changeset): feat(testing): add testing package
ecyrbe Nov 24, 2022
da812d9
RELEASING: Releasing 4 package(s)
ecyrbe Nov 24, 2022
5b242fd
docs(changeset): feat(testing): add response testing handlers
ecyrbe Nov 24, 2022
ff899d4
RELEASING: Releasing 4 package(s)
ecyrbe Nov 24, 2022
a60be39
docs(changeset): refactor(testing): move base hooks to testing
ecyrbe Nov 24, 2022
1ee8f56
docs(changeset): fix(testing): import types from core instead of rela…
ecyrbe Nov 24, 2022
3d71340
RELEASING: Releasing 4 package(s)
ecyrbe Nov 24, 2022
dd47f61
docs(changeset): fix(testing): safely export hooks
ecyrbe Nov 24, 2022
f0bda89
RELEASING: Releasing 4 package(s)
ecyrbe Nov 24, 2022
7428c5e
feat(testing): allow sync func mock callbacks
ecyrbe Nov 25, 2022
ee62a73
fix(core): request options do not have data prop
ecyrbe Nov 26, 2022
04f3fac
chore(fetch): remove axios dep
ecyrbe Nov 26, 2022
217d50b
docs(changeset): feat(react): migrate react to v11
ecyrbe Nov 26, 2022
da58f54
docs(changeset): fix(react): bump version
ecyrbe Nov 26, 2022
a67640f
RELEASING: Releasing 5 package(s)
ecyrbe Nov 26, 2022
26afa6b
docs(changeset): chore: fix type exports for nodenext
ecyrbe Nov 26, 2022
29d57e6
docs(changeset): refactor: factor http verbs
ecyrbe Nov 27, 2022
19fc4d6
RELEASING: Releasing 5 package(s)
ecyrbe Nov 27, 2022
3664337
docs(changeset): feat(react): simplify exported instance
ecyrbe Nov 27, 2022
d0d2493
chore(deps): update react-query
ecyrbe Nov 27, 2022
583c033
feat(core): export base types as interfaces
ecyrbe Nov 27, 2022
f73aeae
feat(core): export base types as interfaces
ecyrbe Nov 27, 2022
26ee1cf
feat(signals): add signal combination handling
ecyrbe Nov 28, 2022
aa43e8a
chore: add experimental flag for node 14 tests
ecyrbe Nov 28, 2022
15a901b
fix(fetch): check if error like on retrow
ecyrbe Nov 28, 2022
b4093e8
chore: ignore branch paths
ecyrbe Nov 28, 2022
6d31fa7
docs(changeset): chore(deps): update zod
ecyrbe Dec 12, 2022
8269c4b
docs(changeset): chore(deps): update fp-ts
ecyrbe Dec 12, 2022
ff4da8d
docs(changeset): chore(deps): update typescript
ecyrbe Dec 12, 2022
e36069f
feat(fetcher): improve core fetcher declaration
ecyrbe Jan 9, 2023
a8083f9
feat(core): refactor factory options
ecyrbe Jan 21, 2023
a54caa7
feat(fetch): fix baseURL override
ecyrbe Jan 21, 2023
3cf6d5e
docs(changeset): feat(fetcher): change fetcher model to factory
ecyrbe Jan 22, 2023
364457c
RELEASING: Releasing 5 package(s)
ecyrbe Jan 22, 2023
b5a0433
chore: new beta release
ecyrbe Jan 22, 2023
35b8891
feat(request): check response type
ecyrbe Jan 22, 2023
f361589
test: remove axios in tests
ecyrbe Jan 22, 2023
bb8f294
docs(changeset): feat: improve typings
ecyrbe Jan 28, 2023
36d676d
docs(changeset): feat: improve typings
ecyrbe Jan 28, 2023
0a3578c
chore(deps): upgrade ts
ecyrbe Jan 28, 2023
d770be2
fix(core): request should match only on response type
ecyrbe Jan 29, 2023
82b769f
RELEASING: Releasing 5 package(s)
ecyrbe Jan 29, 2023
8065c52
chore: update changesets
ecyrbe Jan 29, 2023
4e28e5f
chore(core): export types
ecyrbe Jan 29, 2023
180a22a
chore(deps): update express types
ecyrbe Jan 29, 2023
85b3b3b
docs(changeset): fix(react): do not double fetch if react-query signa…
ecyrbe Jan 29, 2023
cd8ea8f
docs(changeset): feat(plugin): add new zodios plugin system
ecyrbe Jan 31, 2023
e597762
RELEASING: Releasing 5 package(s)
ecyrbe Jan 31, 2023
f5aeb47
test(plugin): fix plugin tests
ecyrbe Jan 31, 2023
0122529
chore(express): init express package
ecyrbe Jan 31, 2023
ff6ba98
fix(express): do not support options
ecyrbe Feb 2, 2023
8fe90ef
test: dix flacky tests
ecyrbe Feb 2, 2023
6610c24
feat(inference): use nex const keywork for generics instead of custom…
ecyrbe Feb 6, 2023
4e68e0c
feat(type-providers): improve version by not casting
ecyrbe Feb 11, 2023
cc5bb3c
feat(core): export mergeApis
ecyrbe Mar 12, 2023
ac92a07
docs(website): update docs
ecyrbe Mar 16, 2023
af2848a
feat: update to ts 5.0
ecyrbe Mar 26, 2023
4d64342
chore(deps): upgrade deps
ecyrbe Mar 26, 2023
d498a04
feat(express): activate transform
ecyrbe Mar 26, 2023
e2bc66b
RELEASING: Releasing 0 package(s)
ecyrbe Apr 8, 2023
a39510e
feat(types): improve typing
ecyrbe Apr 8, 2023
9ca19e1
docs(changeset): migrate to typescript v11
ecyrbe Apr 8, 2023
4b15b5e
RELEASING: Releasing 6 package(s)
ecyrbe Apr 8, 2023
c4b5fdf
chore: update large api
ecyrbe Apr 8, 2023
f029e08
docs(changeset): feat(openapi): add openapi
ecyrbe Apr 9, 2023
34e4a41
RELEASING: Releasing 7 package(s)
ecyrbe Apr 9, 2023
b124b1f
feat(perf): improve autocompletion perf for finding endpoints
ecyrbe Apr 13, 2023
99aa78b
fix(express): node create server compatibility
ecyrbe Apr 16, 2023
398f791
fix: match errors
ecyrbe Apr 16, 2023
75b5493
feat(batch): add fetch batch project
ecyrbe Aug 6, 2023
c0fc974
chore(fetch-batch): add lbuild
ecyrbe Aug 6, 2023
6207e86
chore(fetch-batch): rename batching
ecyrbe Aug 6, 2023
91c737c
feat(fetch-batch): add helpers to BatchData
ecyrbe Aug 6, 2023
32cb3e1
refactor(fetch-batch): rename snapshot
ecyrbe Aug 6, 2023
93f76c3
feat(fetch-batch): expose boundary getter
ecyrbe Aug 6, 2023
a09f245
feat(fetch-batch): add KMP algorithms to handle Uint8Array
ecyrbe Aug 7, 2023
fdaa34c
test(fetch-batch): add more tests
ecyrbe Aug 7, 2023
665154f
refactor(fetch-batch): better naming
ecyrbe Aug 7, 2023
eb47ffd
feat(batch): release lock on reader when finished
ecyrbe Aug 7, 2023
4e4b6a2
test(batch-data): add more tests
ecyrbe Aug 7, 2023
719f0ca
feat(batching): add BatchResponse impl
ecyrbe Aug 8, 2023
b0d4cd0
docs(batch): update readme
ecyrbe Aug 8, 2023
c825830
refactor(batch): better separators naming
ecyrbe Aug 8, 2023
3b2501c
feat(batch): add batch helper
ecyrbe Aug 8, 2023
c577c40
fix(batch): remove console.log
ecyrbe Aug 8, 2023
18f0d9a
style(batch): fix identation
ecyrbe Aug 8, 2023
9612144
fix(batch): check for batch endpoint error
ecyrbe Aug 8, 2023
64f2a35
docs(batch): add inline docs
ecyrbe Aug 8, 2023
1bd7e70
fix(batch): better header pasing
ecyrbe Aug 8, 2023
e23eafa
test(batch): add more header checks
ecyrbe Aug 8, 2023
ddb9d95
fix(batch): no new line on headers
ecyrbe Aug 8, 2023
6e6928f
feat(batch): improve perf by not recomputing lps every time
ecyrbe Aug 9, 2023
37ce498
refactor(batch): rename search functions
ecyrbe Aug 9, 2023
533d18b
docs(batch): update readme
ecyrbe Aug 9, 2023
6ac9ae9
feat(batch): allow to cancel individual requests
ecyrbe Aug 10, 2023
4e016d0
feat(batch): allow to cancel even before batching
ecyrbe Aug 10, 2023
651acf1
feat(batch): allow to cancel all pending batched requests
ecyrbe Aug 10, 2023
4a36a29
fix(batch): reject with DomException
ecyrbe Aug 10, 2023
4f62499
chore(batch): cancel batched requests as soon as possible
ecyrbe Aug 10, 2023
9e2bd2e
doc(batch): document cancelling
ecyrbe Aug 10, 2023
cb23bbb
feat(batch): batch request on http error should be dispatched
ecyrbe Aug 10, 2023
69e08fb
docs(batch): better cancel example
ecyrbe Aug 10, 2023
13cdfa9
test(batch): simplify tests
ecyrbe Aug 10, 2023
4d3b0ee
test(batch): simplify tests
ecyrbe Aug 10, 2023
42243ae
docs(batch): simplify example
ecyrbe Aug 10, 2023
ee7cc74
docs(batch): fix example
ecyrbe Aug 10, 2023
a61bf61
fix(batch): only handle batch response if it's multipart/mixed
ecyrbe Aug 10, 2023
260a32e
feat(batch): add customisation options
ecyrbe Aug 10, 2023
da2d27c
update readme about custom fetch
ecyrbe Aug 10, 2023
73471ae
docs(batch): improve docs
ecyrbe Aug 10, 2023
ad02b91
feat(batch): make cancel utils isolated
ecyrbe Aug 10, 2023
b5f469d
refactor(batch): split files
ecyrbe Aug 10, 2023
f9165b8
docs(batch): fix readme
ecyrbe Aug 10, 2023
9d0de95
examples: some example tests
ecyrbe Aug 11, 2023
ce50125
feat(core): fix type inference for params
ecyrbe Aug 11, 2023
82d183b
fix(core): error detection should not need to pass api
ecyrbe Aug 11, 2023
38561de
fix: input type of io-ts is output type
ecyrbe Aug 11, 2023
b4e6cb2
tests: fix tests
ecyrbe Aug 12, 2023
3af9ede
refactor(batch): rename
ecyrbe Aug 13, 2023
3f5dfd7
chore(express): target es2020
ecyrbe Aug 13, 2023
c5fe927
feat(batch): add support for streaming
ecyrbe Aug 15, 2023
c38e711
fix(batch): cleanup
ecyrbe Aug 15, 2023
462cc77
docs(batch): add streaming docs
ecyrbe Aug 15, 2023
257dfd4
feat(batch): export streaming variant
ecyrbe Aug 15, 2023
ab02b07
feat(batch): remove internal map
ecyrbe Aug 15, 2023
c8a0d36
refactor(batch): factor completed state handling
ecyrbe Aug 15, 2023
8ca6a29
docs(batch): add more inlined docs
ecyrbe Aug 15, 2023
1fa7610
fix(batch): typo
ecyrbe Aug 16, 2023
9ec5612
test(batch): split stream a little more
ecyrbe Aug 16, 2023
070528b
chore(batch): fix grammar
ecyrbe Aug 16, 2023
48eeb36
refactor(batch): put parse boundary on utils
ecyrbe Aug 16, 2023
9f748fa
refactor(batch): add ensure body in separate util
ecyrbe Aug 16, 2023
0f896be
refactor(batch): parse boundary from headers
ecyrbe Aug 16, 2023
409d0a5
docs(batch): clean readme
ecyrbe Aug 16, 2023
da4d153
feat(batch): add react-native support for responses
ecyrbe Aug 16, 2023
f703e73
feat(batch): add support for react-native
ecyrbe Aug 16, 2023
6aac5e5
refactor(batch): make format reaquest more readable
ecyrbe Aug 16, 2023
5cd6a2a
docs(batch): update readme with new options interface
ecyrbe Aug 16, 2023
71ebe68
test(batch): add react-native to tests
ecyrbe Aug 16, 2023
e460052
docs(batch): update readme
ecyrbe Aug 16, 2023
bc1c08c
docs(batch): update readme
ecyrbe Aug 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
7 changes: 7 additions & 0 deletions .changeset/blue-hounds-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
---

add fetch package
9 changes: 9 additions & 0 deletions .changeset/chilled-emus-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

feat(fetcher): change fetcher model to factory
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.2.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": true,
"fixed": [["@zodios/*"]],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
9 changes: 9 additions & 0 deletions .changeset/curly-shrimps-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

feat: improve typings
9 changes: 9 additions & 0 deletions .changeset/famous-rules-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

feat(react): migrate react to v11
10 changes: 10 additions & 0 deletions .changeset/few-icons-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@zodios/express": major
"@zodios/testing": major
"@zodios/axios": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/core": major
---

migrate to typescript v11
9 changes: 9 additions & 0 deletions .changeset/five-apricots-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

chore(deps): update zod
8 changes: 8 additions & 0 deletions .changeset/gentle-ligers-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/testing": major
---

fix(testing): safely export hooks
9 changes: 9 additions & 0 deletions .changeset/good-tigers-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

chore(deps): update fp-ts
9 changes: 9 additions & 0 deletions .changeset/gorgeous-dolls-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

fix(react): do not double fetch if react-query signal is not used
7 changes: 7 additions & 0 deletions .changeset/long-fans-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
---

chore(deps): upgrade axios
6 changes: 6 additions & 0 deletions .changeset/lucky-brooms-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@zodios/axios": major
"@zodios/core": major
---

fix axios tests
9 changes: 9 additions & 0 deletions .changeset/nervous-kings-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

feat: improve typings
8 changes: 8 additions & 0 deletions .changeset/nice-kids-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/testing": major
---

feat(testing): add testing package
8 changes: 8 additions & 0 deletions .changeset/nice-wombats-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/testing": major
---

feat(testing): add response testing handlers
11 changes: 11 additions & 0 deletions .changeset/odd-avocados-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@zodios/express": major
"@zodios/openapi": major
"@zodios/testing": major
"@zodios/axios": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/core": major
---

feat(openapi): add openapi
7 changes: 7 additions & 0 deletions .changeset/polite-bugs-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
---

feat(fetch): remove qs dependency
8 changes: 8 additions & 0 deletions .changeset/polite-points-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/testing": major
---

fix(testing): import types from core instead of relaive directory
43 changes: 43 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"@zodios/core": "11.0.0-beta.0",
"@zodios/axios": "11.0.0-beta.0",
"@zodios/fetch": "11.0.0-beta.5",
"@zodios/testing": "11.0.0-beta.8",
"@zodios/react": "11.0.0-beta.12",
"@zodios/express": "11.0.0-beta.17",
"@zodios/openapi": "10.4.7"
},
"changesets": [
"blue-hounds-sort",
"chilled-emus-own",
"curly-shrimps-destroy",
"famous-rules-drop",
"few-icons-march",
"five-apricots-breathe",
"gentle-ligers-mix",
"good-tigers-tie",
"gorgeous-dolls-fry",
"long-fans-dress",
"lucky-brooms-fry",
"nervous-kings-bow",
"nice-kids-attend",
"nice-wombats-boil",
"odd-avocados-prove",
"polite-bugs-confess",
"polite-points-float",
"quiet-rockets-dream",
"rare-zoos-serve",
"rich-pigs-thank",
"short-hounds-mix",
"silent-garlics-scream",
"slimy-pugs-melt",
"slow-worms-destroy",
"small-horses-laugh",
"soft-seas-lie",
"tasty-bags-happen",
"twelve-dingos-cover"
]
}
9 changes: 9 additions & 0 deletions .changeset/quiet-rockets-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

feat(plugin): add new zodios plugin system
9 changes: 9 additions & 0 deletions .changeset/rare-zoos-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

chore(deps): update typescript
9 changes: 9 additions & 0 deletions .changeset/rich-pigs-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

fix(react): bump version
7 changes: 7 additions & 0 deletions .changeset/short-hounds-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
---

add basic mocks helpers
6 changes: 6 additions & 0 deletions .changeset/silent-garlics-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@zodios/axios": major
"@zodios/core": major
---

sync axios and core versions
7 changes: 7 additions & 0 deletions .changeset/slimy-pugs-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
---

tests(core): fix tests
9 changes: 9 additions & 0 deletions .changeset/slow-worms-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

refactor: factor http verbs
9 changes: 9 additions & 0 deletions .changeset/small-horses-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

chore: fix type exports for nodenext
8 changes: 8 additions & 0 deletions .changeset/soft-seas-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/testing": major
---

refactor(testing): move base hooks to testing
7 changes: 7 additions & 0 deletions .changeset/tasty-bags-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
---

chore(fetch): fix deps
9 changes: 9 additions & 0 deletions .changeset/twelve-dingos-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@zodios/axios": major
"@zodios/core": major
"@zodios/fetch": major
"@zodios/react": major
"@zodios/testing": major
---

feat(react): simplify exported instance
27 changes: 16 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ on:
push:
branches: [main]
paths:
- src/**
- yarn.lock
- packages/**
- pnpm-lock.yaml
- package.json
- tsconfig.json
- .github/workflows/ci.yml
pull_request:
branches: [main]
paths:
- src/**
- yarn.lock
- packages/**
- pnpm-lock.yaml
- package.json
- tsconfig.json
- .github/workflows/ci.yml

jobs:
build:
Expand All @@ -29,15 +29,20 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- run: yarn install --ignore-engines
- run: yarn build
- run: yarn test
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: pnpm test
analyze:
name: Analyze
runs-on: ubuntu-latest
Expand Down
Loading