All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by auto-changelog
.
27 December 2021
3 December 2021
- Initial support for React 17
#378
- Add refetch return value test assertions
2e52b90
- Allow fetchData in useGet to return data (so refetch can return data)
925f2a2
- bump version
d5d836a
24 September 2021
24 September 2021
- Fix: empty required should not generate invalid types.
#374
16 August 2021
- Bump ibm-openapi-validator
feab4bc
20 July 2021
- Add unit test
b94cff0
- support required at root level
e179727
- Fix parameter getting replaced from path
e18fa08
13 July 2021
- Add yarn
d0aad44
- Bump browserslist from 4.16.3 to 4.16.6
bdcff08
- Bump handlebars from 4.7.6 to 4.7.7
90606b0
22 April 2021
- minor: update babel deps in lockfile
e3f50de
22 April 2021
- stabilize the identity of useGet and its refetch method
#186
- stabilize across multiple calls fix even more
5d2ad1e
- minor test fix (toEqual -> toBe)
b145405
16 April 2021
- Expose more customProps & add some metadata
6c97387
- Implement
resolve
for Mutate3945ad0
-
- support form-data on mutate function (already fixed for useMutate)
e6a1d0f
- support form-data on mutate function (already fixed for useMutate)
22 March 2021
- Stabilize the identity of the mutate function
b75d2a6
1 February 2021
- Include spec version in generated file.
9407357
4 January 2021
11 December 2020
- Fix
allOf
inrequestBodies
generation#317
- fix: Avoid including undefined bodies in DELETE
d7e7648
- Bump dot-prop from 4.2.0 to 4.2.1
01b145b
- Bump ini from 1.3.5 to 1.3.7
2bf6808
6 November 2020
14 October 2020
- Fix path generation
7b417af
12 October 2020
- Fix changelog
30abf57
- Remove originalResponse flag
e1896fa
- Update Readme with more information on code generation.
d9e9623
7 October 2020
- Wrap path params with url encoding function
0bd6866
- Remove default encoding function (pathParametersEncodingMode)
b4fdbbd
- Add
--skip-react
flaga9a0e73
11 August 2020
- Resolve parameters $ref
#259
- Support queryParamStringifyOptions on RestfulProvider level
81a4020
- Handle body object for DELETE request
53ad85c
- Bump lodash from 4.17.15 to 4.17.19
4452f57
10 July 2020
10 July 2020
- Replace yamljs with js-yaml
#280
- Clone response before passing to onResponse
cc1a801
- Fix build (babel helper-compilation-targets workaround)
c4b0494
9 July 2020
9 July 2020
- Allow content-type wildcard (/) pattern
#279
24 June 2020
24 June 2020
- Add mocks support on hooks
5b25523
- Avoid shallowed variable in generated paramsInPath
1b737fb
- Deal with empty interface in schema
82b6d98
15 June 2020
5 June 2020
- feat: add support for path params is useMutate
f50da00
- feat: add support for path params is useMutate
63fe965
- feat: add support for path params is useMutate
96fd119
4 May 2020
12 April 2020
- add support for passing queryParams in mutate method
617a3e0
- support formdata
23f6324
- Fix a random test fail… (not critical)
bf8e1f2
12 April 2020
- Added onRequest & onResponse in RestfulProvider
b00c0b1
- Trigger
onError
on useGet catch case1abf095
- Improve onError types
0f9eab8
27 March 2020
- Trigger
onError
on useGet catch case3e4b4e0
- Improve onError types
88db463
- Resolve the scalar for delete type
3e8f56c
23 March 2020
- Use type from specs for delete operations
eb569d4
- Deal with schema ref
3a8320e
- Resolve the scalar for delete type
50ee413
20 March 2020
- Extract usage of AbortController into own hook to check if it is available
#243
- Add querystring params
2c15815
- Use type from specs for delete operations
ae63296
- Allow passing options to
qs.stringify
3a2700e
18 February 2020
- Remove danger.js
eed1135
- Add a publish flow with "without-cli" version
b930d47
- Add querystring params
1805ecd
11 February 2020
4 February 2020
- Deal with charset
#231
- Improve block readability
ab65d3e
- Save token in home instead of node_modules
87fb25b
- Update github help link
c041227
3 February 2020
- Move tslib to deps
eb2096f
28 January 2020
- Add documentation / example for custom generator
d8b1cc5
- Extract requestBody type if inline
a6919e1
- Fix empty object vs free form object specs
e5b1ca6
22 January 2020
- Export RestfulReactProviderProps
74572ed
22 January 2020
- Replace @operational/scripts with tsdx
f2adece
- build: update yarn.lock file to use public npm registry
396e6ba
- Add lodash-es
29fcc5f
13 January 2020
- Bump handlebars from 4.1.2 to 4.5.3
#204
- build: updated dependencies such as @testing-library
2998855
- build: update husky definition in package.json
2d2693a
- Update yarn.lock
f37cc0c
9 January 2020
- Add schema description as documentation
0746e93
9 January 2020
23 December 2019
- Handle importSpecs error
#99
16 December 2019
- Add documentation on hooks version
25f9686
- Generate docs for object properties and fix components docs
b79b234
- Add Response description
b6614dc
13 December 2019
- fix get tests
c654cc1
- add promise test to get and poll components
93aacc7
- Make request options asyncable
d10cbe4
11 December 2019
- fix: add double quotes for special properties
23f0e7f
- Do not report user aborted requests as errors
9b75814
- fix: add double quotes for query params
4afa1a9
11 December 2019
- fix: set displayName correctly
98d248c
25 November 2019
- Improve the generated type of
additionalProperties
#187
22 November 2019
- Update React peer dependency
#182
- Support pulling spec from URL
#169
- Fix type definition of refetch()
#174
- Fix undefined in success message
#158
- Add: Getting started with react native and editable example on expo. Bumped react version to 16.8.5 from 16.8.4 to match react-dom dependency and added react to dev dependency
#161
- Fix: Path resolution when base path is null/empty
#160
- Support Global queryparams
#157
- Add support for global queryParams and composition
80bac52
- Deal with discriminator pattern
0ce7bb6
- feat: add displayName to Context component
b41a230
21 October 2019
- CLI improvements
#155
- Update README
#153
- Update docs more
200a63f
- Make output optional
4f64be6
- REALLY keep tsonfig
237752d
18 September 2019
- Add basic configuration support
0db9d09
- Handle customProps & customImport
0a3db29
- Deal with customProps in hooks
5259378
10 September 2019
- Move
request
to dependencies23e9501
31 July 2019
- Deal with
nullable
attributefbae11c
30 July 2019
- Fix useMutate with delete generation
a972ca8
30 July 2019
- Fix openAPI generator
9be89e5
29 July 2019
- Bump lodash from 4.17.11 to 4.17.13
#138
- Add a unit test for non-json error responses - Closed #140
#140
- Add a onMutate callback.
708ee4c
- Keep tsconfig
9efe082
- Add fix for #136
3ad53b2
5 July 2019
- Unify error message format with Get
#135
3 July 2019
- fix/132 handle fetch error mutate
#134
21 June 2019
21 June 2019
- Fix delete without id case
#131
- Bump js-yaml from 3.13.0 to 3.13.1
#128
- Bump handlebars from 4.1.1 to 4.1.2
#129
- Generate
useMutate
components#126
- Handle empty response (204 status)
#125
- Avoid to use reserved keyword in the example
#122
- Propagate the error on Mutate
#121
- Add dependencies
4b6cebc
- Add the useMutate
3ef62e7
- Generate useMutate from openAPI
f0b4171
8 May 2019
23 April 2019
- useGetProps take only 2 generics
#117
- new tag version v7.6.0
a6321de
- exporting missing UseGetProps
217f0e3
23 April 2019
23 April 2019
- exporting missing UseGetProps
0ff29fb
23 April 2019
23 April 2019
- Fix useGet url composition pattern
#114
- Add support for requestOptions as a method to Poll
#113
- Add requestOptions in the watch list for refetch
#110
- Add
useGet
generatoradb1ae6
- Fixed a case with merging request options in Poll
1914b50
1 April 2019
- Fix/use get error clearing
#109
29 March 2019
- Recreate an abortController for the next call
32f6b72
27 March 2019
- Update lodash
#105
- Security audit
#104
- update @operational/scripts
75497b9
- Update react dependency
f2931ef
- remove parcel
2b27ca8
2 February 2019
- Fix infinite request loop because of queryParam equality
#100
12 December 2018
10 December 2018
- Fix Get reload on queryParams change
4ccf8b5
7 December 2018
- Open api import
#28
- Add @types/commander
121f38b
- Add open-api scripts dependencies
372f35e
- Update operational-scripts
fbba9ca
20 November 2018
- Fix React import on generated d.ts
#95
13 November 2018
- Add Response in the onError callback
04fcd52
7 November 2018
- Fix delete with id
ef00272
- Add test to verify polling doesn't happen if no index
13f118e
- Fix Delete composition
81644b1
1 November 2018
- Fix base path propagation to ignore parentPath
b4683d4
- Avoid requests side effects once component unmounts
237c08a
- Fix an infinite loop on fetching without a resolve function
4cba6ad
31 October 2018
- Feature: Add support for validators that are promise-based or throw errors
#72
- compose urls for relative paths cases
#64
- Refetch when resolve prop changes
#70
- Export method types
#73
- relative and absolute url composition
431abc5
- Add support for validators that are promise-based or throw errors
086f94a
- Add comments for resolve issue when rerendiring Provider
48452d2
24 September 2018
- Fix the error case on Get with
wait
property#56
- Remove engine in package.json
#55
- Update nock to the latest version 🚀
#50
- Update danger to the latest version 🚀
#49
- Feat provider error handling
#48
- Add a provider error handler
871182e
- Add a retry on error
4b27585
- chore(package): update lockfile yarn.lock
632e75e
12 September 2018
12 September 2018
- Add null to prevData in case it's null
#45
- 5.1.0
#44
- Add a clean way to consolidate data in
Poll
#43
- Delete package-lock.json
a4ace6a
- Add unit tests and optimize Poll
7912452
- Add
prevData
in the Poll resolveree2839b
10 September 2018
10 September 2018
- Update mainfile
#40
10 September 2018
- 4.1.1
#39
- Migrate to operational-scripts
b5474b2
- [breaking] Improve mutation response
ea075f0
- Fix danger
ef25c0b
5 September 2018
- Update tsconfig because Greenkeeper changed things
45c8210
5 September 2018
5 September 2018
- Add debounce
#35
- Add a debounce option to
Get
#32
- Update dependencies to enable Greenkeeper 🌴
#34
- v4.0.2: Updated error handling
#31
- Improve the error layer
#30
- Update Docs
898230e
- Deal with json parsing error
b8b800f
- Refactor to put all the logic inside processResponse
5f02ce4
27 August 2018
14 August 2018
- Add seconds to prefer header
#26
- Infra/dx
#24
- Add Danger
3bc4a0a
- Add Travis
286902e
- Output Jest results
ec19022
8 August 2018
- Release v4
#23
- Update Docs
#21
- Fix #2: Add codesandbox links
#2
- Link to interfaces instead of displaying them
e20f744
- Update examples
11b29ae
- Link to docs with lines
1208f67
8 August 2018
- Factor out handling of response content type handler
#22
- response -> rawResponse
7742532
- Add await to processResponse
4841466
8 August 2018
- Update typescript, remove npm lockfile since we use yarn
1096553
- Add jest-dom and react-testing-library dependencies
2140493
- Separate Mutations into different component, clean up Get
61b52bd
6 August 2018
- Unit tests - Get component
#18
- Add Unit tests for Get component
#17
- Add jest-dom and react-testing-library dependencies
5af7154
- Add Get classic usage tests
7701a1d
- Improve the typing with generics
5af9348
3 August 2018
1 August 2018
- Implement Contiamo Polling
223bb03
- Add doc
33a8c3c
- Finishing touches to implementing Contiamo Polling spec
02847e5
19 July 2018
- Poll state
#14
- Add error handling to Poll, do not rerender polled results unless content changes
8dc1ee0
18 July 2018
- Refactor URL handling to account for query params
#13
- Enhance/compose paths
#11
- Update implementation for cleaner mutations
#7
- Update typescript, remove npm lockfile since we use yarn
103c783
- Separate Mutations into different component, clean up Get
94c533f
- Throw error responses and leave error handling to the user
b7aa426
8 August 2018
- Factor out handling of response content type handler
#22
- Update HTTP verbs in mutations to be uppercase
#8
- Update typescript, remove npm lockfile since we use yarn
1096553
- Add jest-dom and react-testing-library dependencies
2140493
- Separate Mutations into different component, clean up Get
61b52bd
6 July 2018
10 July 2018
2 July 2018
2 July 2018