Skip to content

v15.5.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Apr 14:56
c910a47

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

  • 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

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

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