Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

v15.9.4

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 27 Dec 22:27

v15.9.4

27 December 2021

  • Fix allOf in responseBodies generation #381

v15.9.3

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

v15.9.2

24 September 2021

v15.9.1

24 September 2021

  • Fix: empty required should not generate invalid types. #374

v15.9.0

16 August 2021

  • Bump ibm-openapi-validator feab4bc

v15.8.0

20 July 2021

  • Add unit test b94cff0
  • support required at root level e179727
  • Fix parameter getting replaced from path e18fa08

v15.7.0

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

v15.6.0

5 May 2021

  • Allow to pass github token with env var d047196

v15.5.1

22 April 2021

  • minor: update babel deps in lockfile e3f50de

v15.5.0

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

v15.4.2

16 April 2021

  • Implement resolve for Mutate 3945ad0
    • support form-data on mutate function (already fixed for useMutate) e6a1d0f
  • Deal with multiline prop values db44ed7

v15.4.1

31 March 2021

  • Expose more customProps & add some metadata 6c97387
  • Implement resolve for Mutate 46b0584
  • Bump tslib 9f48b4d

v15.4.0

31 March 2021

  • Expose more customProps & add some metadata 9ca16aa
  • Bump tslib 62834d9

v15.3.0

22 March 2021

  • Stabilize the identity of the mutate function b75d2a6

v15.2.0

1 February 2021

  • Include spec version in generated file. 9407357

v15.1.4

4 January 2021

v15.1.3

11 December 2020

  • Fix allOf in requestBodies 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

v15.1.2

6 November 2020

  • Fix allOf in requestBodies generation #317
  • Fix path generation ec6d49a

v15.1.1

14 October 2020

v15.1.0

12 October 2020

  • Fix changelog 30abf57
  • Remove originalResponse flag e1896fa
  • Update Readme with more information on code generation. d9e9623

v15.0.0

7 October 2020

  • Wrap path params with url encoding function 0bd6866
  • Remove default encoding function (pathParametersEncodingMode) b4fdbbd
  • Add --skip-react flag a9a0e73

v14.4.0

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

v14.2.1

10 July 2020

  • Resolve parameters $ref #259
  • Fix npm-publish-without-cli CI a189eaa

v14.2.0

10 July 2020

  • Replace yamljs with js-yaml #280
  • Clone response before passing to onResponse cc1a801
  • Fix build (babel helper-compilation-targets workaround) c4b0494

v14.1.1

9 July 2020

v14.1.0

9 July 2020

  • Allow content-type wildcard (/) pattern #279

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 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

v9.1.0

21 October 2019

v9.0.1

18 September 2019

  • Add basic configuration support 0db9d09
  • Handle customProps & customImport 0a3db29
  • Deal with customProps in hooks 5259378

v8.1.4

10 September 2019

  • Move request to dependencies 23e9501

v8.1.3

31 July 2019

  • Deal with nullable attribute fbae11c

v8.1.2

30 July 2019

  • Fix useMutate with delete generation a972ca8

v8.1.1

30 July 2019

v8.1.0

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

v8.0.0

5 July 2019

  • Unify error message format with Get #135

v7.6.4

3 July 2019

  • fix/132 handle fetch error mutate #134

v7.6.3

21 June 2019

v7.6.2

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

v7.6.1

8 May 2019

v7.6.0

23 April 2019

  • useGetProps take only 2 generics #117
  • new tag version v7.6.0 a6321de
  • exporting missing UseGetProps 217f0e3

v7.5.0

23 April 2019

v7.4.0

23 April 2019

  • exporting missing UseGetProps 0ff29fb

v7.3.1

23 April 2019

  • useGetProps take only 2 generics #117
  • exporting missing UseGetProps 217f0e3

v7.3.0

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 generator adb1ae6
  • Fixed a case with merging request options in Poll 1914b50

v7.2.3

1 April 2019

  • Fix/use get error clearing #109

v7.2.2

29 March 2019

  • Recreate an abortController for the next call 32f6b72

v7.2.1

27 March 2019

v7.1.1

2 February 2019

  • Fix infinite request loop because of queryParam equality #100

v7.1.0

12 December 2018

v7.0.1

10 December 2018

  • Fix Get reload on queryParams change 4ccf8b5

v7.0.0

7 December 2018

  • Open api import #28
  • Add @types/commander 121f38b
  • Add open-api scripts dependencies 372f35e
  • Update operational-scripts fbba9ca

v6.1.1

20 November 2018

  • Fix React import on generated d.ts #95

v6.1.0

13 November 2018

  • Add Response in the onError callback 04fcd52

v6.0.2

7 November 2018

  • Fix delete with id ef00272
  • Add test to verify polling doesn't happen if no index 13f118e
  • Fix Delete composition 81644b1

v6.0.1

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

v6.0.0

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

v5.2.1

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

v5.1.1

12 September 2018

  • Improve the error management for Poll #46
  • Prettier 985c64a

v5.1.0

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 resolver ee2839b

v5.0.1

10 September 2018

  • 5.0.1 #42
  • Fix return type #41

v5.0.0

10 September 2018

  • Update mainfile #40

v4.1.3

10 September 2018

v4.1.2

5 September 2018

  • Update tsconfig because Greenkeeper changed things 45c8210

v4.1.1

5 September 2018

v4.1.0

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

v4.0.2

27 August 2018

  • 4.0.1 #27
  • Remove package-lock in favor of yarn 60f4947

v4.0.1

14 August 2018

v4.0.0

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

v4.0.0-10

8 August 2018

  • Factor out handling of response content type handler #22
  • response -> rawResponse 7742532
  • Add await to processResponse 4841466

v4.0.0-9

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

v4.0.0-8

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

v4.0.0-7

3 August 2018

  • Fix error handling and resource deletion #16
  • Contiamo poll #15

v4.0.0-6

1 August 2018

  • Implement Contiamo Polling 223bb03
  • Add doc 33a8c3c
  • Finishing touches to implementing Contiamo Polling spec 02847e5

v4.0.0-5

19 July 2018

  • Poll state #14
  • Add error handling to Poll, do not rerender polled results unless content changes 8dc1ee0

v4.0.0-4

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

v4.0.0-1

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

v3.1.0

6 July 2018

v3.0.3

10 July 2018

  • Update HTTP verbs in mutations to be uppercase #8
  • Throw a response object if a mutation fails #5

v3.0.2

2 July 2018

v3.0.1

2 July 2018