Skip to content

Releases: dan1229/typescript-api-services

1.0.7

11 Oct 21:29
Compare
Choose a tag to compare
### [1.0.7] - 2024-10-11

- Fixed `pageCurrent` not being set properly for all responses
- General `get` API response handling bug fixes

1.0.6

18 Jun 02:23
Compare
Choose a tag to compare
### [1.0.6] - 2024-06-17

- Duplciate API catching improvements
  - Previously successful API calls were being caught as duplicates
  - Duplicate responses now include the last successful response data in case that's what the client accidentally uses
  - Remove `ApiResponseDuplicate` and replace with `duplicate` field

1.0.5

15 Jun 15:15
Compare
Choose a tag to compare
### [1.0.5] - 2024-06-15

- Fixed `errorFields` not being set properly for all responses
- CD branch creation clean up / fix

1.0.4

25 Mar 02:35
Compare
Choose a tag to compare
### [1.0.4] - 2024-03-24

- Django `get` API response handling bug

1.0.3

25 Mar 02:13
Compare
Choose a tag to compare
### [1.0.3] - 2024-03-24

- Logging improvements

1.0.2

17 Mar 23:58
Compare
Choose a tag to compare
### [1.0.2] - 2024-03-17

- Fix for `DjangoGet` APIs related to paginated APIs
  - Wasn't handling `next` and `previous` links correctly

1.0.1

16 Feb 01:41
Compare
Choose a tag to compare
### [1.0.1] - 2024-02-15

- Improved `retry/duplicate` logic
  - `retryIfNecessary` -> `catchDuplicates`
  - Improved issues with calling APIs too fast
- Fixed some bugs in `DjangoGet` methods
- Improved typing in handler classes and `DjangoApi` methods
- Improved lint - no more (unexpected) `any` types
- `console.log` lint rule added

1.0.0

15 Feb 00:59
Compare
Choose a tag to compare
### [1.0.0] - 2024-02-14

- Added automatic call limiting/retrying to `BaseApi` and `DjangoApi`
  - Ability to choose amount of time
- Created `BaseApiResponseHandler` and `DjangoApiResponseHandler` for more functionality
  - Much more modular and customizable
  - Cleaned up `DjangoApiResponseHandler` error handling
- General support for `BaseApi` improved
- `DjangoApi.post` - `extraHeaders` param fixed
- Added `loading` property to `BaseApi` and `DjangoApi` for loading state
- `TypeFilter` added to `BaseApi` and `DjangoApi` for type filtering
  - Moved 'up' from method level to class level
- Improved linting to help prevent some errors
- Added `prettier` to help with code formatting

0.2.5

02 May 03:12
Compare
Choose a tag to compare
### [0.2.5] - 2023-05-01

- URL query param fix for `undefined` or `falsey` values

0.2.4

25 Apr 05:37
Compare
Choose a tag to compare
### [0.2.4] - 2023-04-25

- Lint and cleanup