Skip to content

Releases: amacleay-cohere/restful-react

v15.5.1

22 Apr 14:56
c910a47
Compare
Choose a tag to compare

v15.4.2

16 April 2021

  • Expose more customProps & add some metadata 6c97387
  • Stabilize the identity of the mutate function b75d2a6
  • Implement resolve for Mutate 3945ad0

v15.2.0

1 February 2021

  • Fix allOf in requestBodies generation #317
  • Resolve parameters $ref #259
  • Replace yamljs with js-yaml #280
  • Allow content-type wildcard (/) pattern #279
  • Fix changelog 30abf57
  • Wrap path params with url encoding function 0bd6866
  • Remove default encoding function (pathParametersEncodingMode) b4fdbbd

v14.0.2

24 June 2020

  • Refetch when provider props change c5c0fe0
  • Add pathParams to the watching list to refetch 42d5694

v14.0.1

24 June 2020

  • Add mocks support on hooks 5b25523
  • Avoid shallowed variable in generated paramsInPath 1b737fb
  • Deal with empty interface in schema 82b6d98

v14.0.0

15 June 2020

v13.0.0

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

v12.0.0

4 May 2020

v11.2.0

12 April 2020

  • add support for passing queryParams in mutate method 617a3e0
  • support formdata 23f6324
  • Fix a random test fail… (not critical) bf8e1f2

v11.1.0

12 April 2020

  • Added onRequest & onResponse in RestfulProvider b00c0b1
  • Trigger onError on useGet catch case 1abf095
  • Improve onError types 0f9eab8

v11.0.0

27 March 2020

  • Trigger onError on useGet catch case 3e4b4e0
  • Improve onError types 88db463
  • Resolve the scalar for delete type 3e8f56c

v10.0.1

23 March 2020

  • Use type from specs for delete operations eb569d4
  • Deal with schema ref 3a8320e
  • Resolve the scalar for delete type 50ee413

v10.0.0

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

v9.12.0

18 February 2020

  • Remove danger.js eed1135
  • Add a publish flow with "without-cli" version b930d47
  • Add querystring params 1805ecd

v9.11.1

11 February 2020

  • fix: fix codegen for array of enums 74a342f
  • fix: fix codegen for array of enums 84e2c88

v9.11.0

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

v9.10.1

3 February 2020

v9.10.0

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

v9.9.1

22 January 2020

  • Export RestfulReactProviderProps 74572ed

v9.9.0

22 January 2020

  • Replace @operational/scripts with tsdx f2adece
  • build: update yarn.lock file to use public npm registry 396e6ba
  • Add lodash-es 29fcc5f

v9.7.1

13 January 2020

v9.7.0

9 January 2020

  • Add schema description as documentation 0746e93

v9.6.2

9 January 2020

  • Handle importSpecs error #99
  • Add docs to query params 396eeac

v9.6.1

23 December 2019

  • Handle importSpecs error #99

v9.6.0

16 December 2019

Read more

v15.4.2

16 Apr 17:42
1ae33fa
Compare
Choose a tag to compare

v15.2.0

1 February 2021

  • Fix allOf in requestBodies generation #317
  • Resolve parameters $ref #259
  • Replace yamljs with js-yaml #280
  • Allow content-type wildcard (/) pattern #279
  • Fix changelog 30abf57
  • Wrap path params with url encoding function 0bd6866
  • Remove default encoding function (pathParametersEncodingMode) b4fdbbd

v14.0.2

24 June 2020

  • Refetch when provider props change c5c0fe0
  • Add pathParams to the watching list to refetch 42d5694

v14.0.1

24 June 2020

  • Add mocks support on hooks 5b25523
  • Avoid shallowed variable in generated paramsInPath 1b737fb
  • Deal with empty interface in schema 82b6d98

v14.0.0

15 June 2020

v13.0.0

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

v12.0.0

4 May 2020

v11.2.0

12 April 2020

  • add support for passing queryParams in mutate method 617a3e0
  • support formdata 23f6324
  • Fix a random test fail… (not critical) bf8e1f2

v11.1.0

12 April 2020

  • Added onRequest & onResponse in RestfulProvider b00c0b1
  • Trigger onError on useGet catch case 1abf095
  • Improve onError types 0f9eab8

v11.0.0

27 March 2020

  • Trigger onError on useGet catch case 3e4b4e0
  • Improve onError types 88db463
  • Resolve the scalar for delete type 3e8f56c

v10.0.1

23 March 2020

  • Use type from specs for delete operations eb569d4
  • Deal with schema ref 3a8320e
  • Resolve the scalar for delete type 50ee413

v10.0.0

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

v9.12.0

18 February 2020

  • Remove danger.js eed1135
  • Add a publish flow with "without-cli" version b930d47
  • Add querystring params 1805ecd

v9.11.1

11 February 2020

  • fix: fix codegen for array of enums 74a342f
  • fix: fix codegen for array of enums 84e2c88

v9.11.0

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

v9.10.1

3 February 2020

v9.10.0

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

v9.9.1

22 January 2020

  • Export RestfulReactProviderProps 74572ed

v9.9.0

22 January 2020

  • Replace @operational/scripts with tsdx f2adece
  • build: update yarn.lock file to use public npm registry 396e6ba
  • Add lodash-es 29fcc5f

v9.7.1

13 January 2020

v9.7.0

9 January 2020

  • Add schema description as documentation 0746e93

v9.6.2

9 January 2020

  • Handle importSpecs error #99
  • Add docs to query params 396eeac

v9.6.1

23 December 2019

  • Handle importSpecs error #99

v9.6.0

16 December 2019

  • Add documentation on hooks version 25f9686
  • Generate docs for object properties and fix components docs b79b234
  • Add Response description b6614dc

v9.5.0

13 December 2019

  • fix get tests c654cc1
  • add promise test to get and poll components 93aacc7
  • Make request options asyncable [d10cbe4](d10cbe41...
Read more

v15.2.0

18 Mar 00:03
2793720
Compare
Choose a tag to compare

v14.0.2

24 June 2020

  • Refetch when provider props change c5c0fe0
  • Add pathParams to the watching list to refetch 42d5694

v14.0.1

24 June 2020

  • Add mocks support on hooks 5b25523
  • Avoid shallowed variable in generated paramsInPath 1b737fb
  • Deal with empty interface in schema 82b6d98

v14.0.0

15 June 2020

v13.0.0

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

v12.0.0

4 May 2020

v11.2.0

12 April 2020

  • add support for passing queryParams in mutate method 617a3e0
  • support formdata 23f6324
  • Fix a random test fail… (not critical) bf8e1f2

v11.1.0

12 April 2020

  • Added onRequest & onResponse in RestfulProvider b00c0b1
  • Trigger onError on useGet catch case 1abf095
  • Improve onError types 0f9eab8

v11.0.0

27 March 2020

  • Trigger onError on useGet catch case 3e4b4e0
  • Improve onError types 88db463
  • Resolve the scalar for delete type 3e8f56c

v10.0.1

23 March 2020

  • Use type from specs for delete operations eb569d4
  • Deal with schema ref 3a8320e
  • Resolve the scalar for delete type 50ee413

v10.0.0

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

v9.12.0

18 February 2020

  • Remove danger.js eed1135
  • Add a publish flow with "without-cli" version b930d47
  • Add querystring params 1805ecd

v9.11.1

11 February 2020

  • fix: fix codegen for array of enums 74a342f
  • fix: fix codegen for array of enums 84e2c88

v9.11.0

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

v9.10.1

3 February 2020

v9.10.0

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

v9.9.1

22 January 2020

  • Export RestfulReactProviderProps 74572ed

v9.9.0

22 January 2020

  • Replace @operational/scripts with tsdx f2adece
  • build: update yarn.lock file to use public npm registry 396e6ba
  • Add lodash-es 29fcc5f

v9.7.1

13 January 2020

v9.7.0

9 January 2020

  • Add schema description as documentation 0746e93

v9.6.2

9 January 2020

  • Handle importSpecs error #99
  • Add docs to query params 396eeac

v9.6.1

23 December 2019

  • Handle importSpecs error #99

v9.6.0

16 December 2019

  • Add documentation on hooks version 25f9686
  • Generate docs for object properties and fix components docs b79b234
  • Add Response description b6614dc

v9.5.0

13 December 2019

  • fix get tests c654cc1
  • add promise test to get and poll components 93aacc7
  • Make request options asyncable d10cbe4

v9.4.2

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

v9.4.1

11 December 2019

  • fix: set displayName correctly 98d248c

v9.4.0

25 November 2019

  • Improve the generated type of additionalProperties #187

v9.3.0

22 November 2019

  • Update React peer depen...
Read more