Skip to content

Latest commit

 

History

History
1443 lines (758 loc) · 90.1 KB

CHANGELOG.md

File metadata and controls

1443 lines (758 loc) · 90.1 KB

Changelog

6.15.1 (2025-01-21)

Full Changelog: v6.15.0...v6.15.1

Chores

Documentation

6.15.0 (2025-01-09)

Full Changelog: v6.14.0...v6.15.0

Features

Chores

6.14.0 (2025-01-07)

Full Changelog: v6.13.1...v6.14.0

Features

6.13.1 (2025-01-07)

Full Changelog: v6.13.0...v6.13.1

Chores

6.13.0 (2024-12-20)

Full Changelog: v6.12.0...v6.13.0

Features

Bug Fixes

Chores

Documentation

6.12.0 (2024-11-27)

Full Changelog: v6.11.0...v6.12.0

Features

6.11.0 (2024-11-25)

Full Changelog: v6.10.2...v6.11.0

Features

  • client: do not run in browser context unless explicitly asked (#500) (d251bc6)

6.10.2 (2024-11-20)

Full Changelog: v6.10.1...v6.10.2

Bug Fixes

  • webhooks: use @noble/hashes instead of crypto for signing (#495) (6289374)

6.10.1 (2024-11-20)

Full Changelog: v6.10.0...v6.10.1

Chores

6.10.0 (2024-11-19)

Full Changelog: v6.9.0...v6.10.0

Features

Chores

  • rebuild project due to codegen change (#482) (789bea1)
  • rebuild project due to codegen change (#484) (dabe1af)
  • rebuild project due to codegen change (#485) (90c94e0)
  • rebuild project due to codegen change (#486) (34dcd1d)

6.9.0 (2024-11-01)

Full Changelog: v6.8.0...v6.9.0

Features

6.8.0 (2024-10-23)

Full Changelog: v6.7.0...v6.8.0

Features

6.7.0 (2024-10-10)

Full Changelog: v6.6.0...v6.7.0

Features

Bug Fixes

  • tests: adjust to use basic auth (0e42757)

6.6.0 (2024-10-03)

Full Changelog: v6.5.0...v6.6.0

Features

Bug Fixes

  • tests: add required clientId/clientSecret (d1a8f2d)

Chores

Documentation

6.5.0 (2024-09-03)

Full Changelog: v6.4.1...v6.5.0

Features

  • api: OpenAPI spec update via Stainless API (#452) (5215d71)

6.4.1 (2024-09-03)

Full Changelog: v6.4.0...v6.4.1

Bug Fixes

  • client: correct File construction from node-fetch Responses (#449) (29bd830)

6.4.0 (2024-08-30)

Full Changelog: v6.3.0...v6.4.0

Features

  • api: OpenAPI spec update via Stainless API (#445) (e852d45)

Chores

6.3.0 (2024-08-28)

Full Changelog: v6.2.0...v6.3.0

Features

  • chore: update reviewers for new teams (#439) (a4dc6bd)

6.2.0 (2024-08-13)

Full Changelog: v6.1.7...v6.2.0

Features

6.1.7 (2024-08-12)

Full Changelog: v6.1.6...v6.1.7

Chores

6.1.6 (2024-08-09)

Full Changelog: v6.1.5...v6.1.6

Chores

6.1.5 (2024-08-09)

Full Changelog: v6.1.4...v6.1.5

Chores

6.1.4 (2024-08-08)

Full Changelog: v6.1.3...v6.1.4

Chores

6.1.3 (2024-08-01)

Full Changelog: v6.1.2...v6.1.3

Chores

6.1.2 (2024-07-31)

Full Changelog: v6.1.1...v6.1.2

Chores

  • ci: correctly tag pre-release npm packages (#423) (18a11dc)

6.1.1 (2024-07-29)

Full Changelog: v6.1.0...v6.1.1

Chores

  • internal: add constant for default timeout (#421) (de2ded0)

6.1.0 (2024-07-26)

Full Changelog: v6.0.2...v6.1.0

Features

  • api: add 'payment frequencies' and 'pay group ids' to payment model (#420) (2d5eb58)

Chores

  • docs: fix incorrect client var names (#418) (18d13b0)

6.0.2 (2024-07-25)

Full Changelog: v6.0.1...v6.0.2

Bug Fixes

  • compat: remove ReadableStream polyfill redundant since node v16 (#416) (bbbc6f4)

6.0.1 (2024-07-23)

Full Changelog: v6.0.0...v6.0.1

Bug Fixes

Chores

6.0.0 (2024-07-19)

Full Changelog: v5.24.6...v6.0.0

⚠ BREAKING CHANGES

  • api: authentication method type is an enum, not a plain string (#409)

Bug Fixes

  • api: authentication method type is an enum, not a plain string (#409) (7faec13)

Chores

  • ci: limit release doctor target branches (#410) (e0fa95b)
  • docs: improve docstrings (#411) (c738d0c)
  • docs: use client instead of package name in Node examples (#406) (c392bca)

5.24.6 (2024-07-17)

Full Changelog: v5.24.5...v5.24.6

Bug Fixes

Chores

  • docs: mention support of web browser runtimes (#404) (46c211c)
  • docs: minor update to formatting of API link in README (#403) (09dda49)
  • internal: codegen related update (#405) (4281cc6)

5.24.5 (2024-07-11)

Full Changelog: v5.24.4...v5.24.5

Chores

  • ci: also run workflows for PRs targeting next (#398) (0ff02b9)

Documentation

5.24.4 (2024-07-01)

Full Changelog: v5.24.3...v5.24.4

Chores

5.24.3 (2024-06-28)

Full Changelog: v5.24.2...v5.24.3

Chores

5.24.2 (2024-06-25)

Full Changelog: v5.24.1...v5.24.2

Chores

5.24.1 (2024-06-18)

Full Changelog: v5.24.0...v5.24.1

Chores

  • deps: bump braces from 3.0.2 to 3.0.3 (784423d)

5.24.0 (2024-06-10)

Full Changelog: v5.23.1...v5.24.0

Features

  • support application/octet-stream request bodies (#388) (29a9339)

5.23.1 (2024-06-07)

Full Changelog: v5.23.0...v5.23.1

Bug Fixes

5.23.0 (2024-06-06)

Full Changelog: v5.22.12...v5.23.0

Features

5.22.12 (2024-05-31)

Full Changelog: v5.22.11...v5.22.12

Bug Fixes

5.22.11 (2024-05-28)

Full Changelog: v5.22.10...v5.22.11

Documentation

5.22.10 (2024-05-25)

Full Changelog: v5.22.9...v5.22.10

Bug Fixes

  • fix bug access tokens create should set the authorization header to null (4eb197e)
  • fix lint issue (a240b14)

5.22.9 (2024-05-24)

Full Changelog: v5.22.8...v5.22.9

Bug Fixes

  • api: correct authentication methods type (#370) (98a5860)
  • tests: replace outdated example values (3554d3f)
  • types: correct index signature type (#376) (5321060)

Chores

5.22.8 (2024-05-03)

Full Changelog: v5.22.7...v5.22.8

Bug Fixes

  • package: revert recent client file change (#362) (97d9b40)

5.22.7 (2024-05-02)

Full Changelog: v5.22.6...v5.22.7

Bug Fixes

  • package: add exports back in (231a9a7)

5.22.6 (2024-05-02)

Full Changelog: v5.22.5...v5.22.6

Chores

  • internal: move client class to separate file (#357) (a8ea8e2)

5.22.5 (2024-05-01)

Full Changelog: v5.22.4...v5.22.5

Chores

  • internal: forward arguments in scripts/test (#355) (b17aadc)

5.22.4 (2024-04-30)

Full Changelog: v5.22.3...v5.22.4

Chores

  • internal: add link to openapi spec (#353) (f165e11)
  • internal: add scripts/test, scripts/mock and add ci job (#354) (e33e4af)
  • internal: refactor scripts (#351) (2c6d68a)

5.22.3 (2024-04-26)

Full Changelog: v5.22.2...v5.22.3

Chores

  • internal: add scripts/test and scripts/mock (#350) (5e9a279)

Documentation

  • clarify behavior around employee_size (#348) (0c634a7)

5.22.2 (2024-04-24)

Full Changelog: v5.22.1...v5.22.2

Chores

  • internal: use actions/checkout@v4 for codeflow (#346) (956404e)

5.22.1 (2024-04-22)

Full Changelog: v5.22.0...v5.22.1

Chores

  • internal: use @swc/jest for running tests (#344) (ea531ff)

5.22.0 (2024-04-16)

Full Changelog: v5.21.0...v5.22.0

Features

Chores

Build System

  • configure UTF-8 locale in devcontainer (#343) (52fec36)

5.21.0 (2024-04-09)

Full Changelog: v5.20.3...v5.21.0

Features

5.20.3 (2024-04-04)

Full Changelog: v5.20.2...v5.20.3

Chores

5.20.2 (2024-04-02)

Full Changelog: v5.20.1...v5.20.2

Bug Fixes

  • client: correctly send deno version header (#330) (1a6a391)
  • handle process.env being undefined in debug func (#329) (eece7be)
  • internal: make toFile use input file's options (#326) (d186ce5)

Chores

Documentation

5.20.1 (2024-03-05)

Full Changelog: v5.20.0...v5.20.1

Chores

Documentation

5.20.0 (2024-03-01)

Full Changelog: v5.19.0...v5.20.0

Features

Chores

Documentation

  • contributing: improve wording (#310) (bef514c)
  • readme: fix typo in custom fetch implementation (#311) (5b8010f)

5.19.0 (2024-02-20)

Full Changelog: v5.18.2...v5.19.0

Features

5.18.2 (2024-02-15)

Full Changelog: v5.18.1...v5.18.2

Chores

  • internal: refactor release environment script (#299) (3147fb7)

5.18.1 (2024-02-08)

Full Changelog: v5.18.0...v5.18.1

Chores

  • internal: enable building when git installed (#293) (3e9c578)
  • internal: minor pagination restructuring (#296) (1553843)
  • internal: update package.json formatting (#298) (c053279)
  • respect application/vnd.api+json content-type header (#297) (80c3c95)

Documentation

5.18.0 (2024-02-02)

Full Changelog: v5.17.2...v5.18.0

Features

  • api: create access token reads client opts if not provided (#290) (8cd787e)

Chores

  • interal: make link to api.md relative (#292) (12dd552)

5.17.2 (2024-01-30)

Full Changelog: v5.17.1...v5.17.2

Chores

  • internal: support pre-release versioning (#288) (d97d778)

5.17.1 (2024-01-30)

Full Changelog: v5.17.0...v5.17.1

Features

  • api: add employer_contributions field (#282) (98c1da0)

Bug Fixes

  • allow body type in RequestOptions to be null (#284) (d948729)
  • api: fix authentication_type enum (#286) (6ff8af1)
  • api: update employer_size parameter to employee_size (#287) (cbb933f)
  • types: accept undefined for optional client options (#280) (169ddc6)

Chores

  • ci: rely on Stainless GitHub App for releases (#281) (fac02eb)
  • internal: add internal helpers & improve build scripts (#285) (fb91cd8)
  • internal: debug logging for retries; speculative retry-after-ms support (#279) (90b0dad)

Documentation

  • fix missing async in readme code sample (#277) (893f7cc)

5.17.0 (2024-01-12)

Full Changelog: v5.16.0...v5.17.0

Features

  • webhooks: add types to the unwrap method (#273) (52be237)

Chores

  • internal: narrow type into stringifyQuery (#275) (8ed3d63)

Documentation

5.16.0 (2024-01-11)

Full Changelog: v5.15.0...v5.16.0

Features

  • client: hook up sandbox auth (#271) (ffba918)
  • remove redundant endpoint, add sandbox client options (not yet used) (#270) (d49613c)

Bug Fixes

  • use default base url if BASE_URL env var is blank (#272) (3d89ada)

Chores

  • internal: rename unreleased connection status type (#268) (2b070f8)

5.15.0 (2024-01-09)

Full Changelog: v5.14.3...v5.15.0

Features

Bug Fixes

  • headers: always send lowercase headers and strip undefined (BREAKING in rare cases) (#262) (2fab66d)

Chores

5.14.3 (2023-12-20)

Full Changelog: v5.14.2...v5.14.3

Documentation

Refactors

5.14.2 (2023-12-19)

Full Changelog: v5.14.1...v5.14.2

Chores

Documentation

5.14.1 (2023-12-17)

Full Changelog: v5.14.0...v5.14.1

Chores

Documentation

Build System

5.14.0 (2023-12-07)

Full Changelog: v5.13.0...v5.14.0

Features

  • api: add lp tax payer type enum value (#245) (81f7cfd)

5.13.0 (2023-12-06)

Full Changelog: v5.12.1...v5.13.0

Features

  • api: add /jobs endpoints (#241) (8dc8f9d)
  • api: add client_type and connection_type to introspection (#243) (5f0f755)

5.12.1 (2023-12-04)

Full Changelog: v5.12.0...v5.12.1

5.12.0 (2023-11-30)

Full Changelog: v5.11.2...v5.12.0

Features

  • client: support reading the base url from an env variable (#237) (c813a07)

5.11.2 (2023-11-28)

Full Changelog: v5.11.1...v5.11.2

5.11.1 (2023-11-24)

Full Changelog: v5.11.0...v5.11.1

Chores

  • internal: remove file import and conditionally run prepare (#233) (b01e6ba)

5.11.0 (2023-11-21)

Full Changelog: v5.10.0...v5.11.0

Features

Chores

  • internal: don't call prepare in dist (#232) (ab65376)

5.10.0 (2023-11-14)

Full Changelog: v5.9.1...v5.10.0

Features

Chores

  • internal: update APIResource structure (#228) (8955d3a)

5.9.1 (2023-11-10)

Full Changelog: v5.9.0...v5.9.1

Chores

5.9.0 (2023-11-05)

Full Changelog: v5.8.0...v5.9.0

Features

Documentation

5.8.0 (2023-10-31)

Full Changelog: v5.7.3...v5.8.0

Features

  • github: include a devcontainer setup (#213) (c0cc335)

5.7.3 (2023-10-27)

Full Changelog: v5.7.2...v5.7.3

Chores

5.7.2 (2023-10-25)

Full Changelog: v5.7.1...v5.7.2

Bug Fixes

5.7.1 (2023-10-24)

Full Changelog: v5.7.0...v5.7.1

5.7.0 (2023-10-24)

Full Changelog: v5.6.0...v5.7.0

Features

  • client: adjust retry behavior to be exponential backoff (#205) (c5423fe)

5.6.0 (2023-10-19)

Full Changelog: v5.5.1...v5.6.0

Features

5.5.1 (2023-10-19)

Full Changelog: v5.5.0...v5.5.1

5.5.0 (2023-10-17)

Full Changelog: v5.4.2...v5.5.0

Features

  • make webhook headers case insensitive (#196) (bf48e89)

Bug Fixes

  • client: eliminate circular imports, which cause runtime errors in webpack dev bundles (#189) (6977468)
  • correct benfits to benefits (#192) (a31d068)
  • fix namespace exports regression (#191) (c7b90b2)
  • import web-streams-polyfill without overriding globals (#200) (e8ab145)
  • improve status code in error messages (#198) (836a552)

Chores

Documentation

  • organisation -> organization (UK to US English) (#199) (7dd52a3)

Refactors

5.4.2 (2023-10-06)

Full Changelog: v5.4.1...v5.4.2

Bug Fixes

  • prevent ReferenceError, update compatibility to ES2020 and Node 18+ (#187) (92eb90f)

5.4.1 (2023-10-06)

Full Changelog: v5.4.0...v5.4.1

5.4.0 (2023-10-05)

Full Changelog: v5.3.0...v5.4.0

Features

  • api: add /forward endpoint and other updates (#181) (12e49a9)

Chores

5.4.0 (2023-10-03)

Full Changelog: v5.3.0...v5.4.0

Features

  • api: add /forward endpoint and other updates (#181) (cb720d9)

Chores

5.3.0 (2023-09-26)

Full Changelog: v5.2.0...v5.3.0

Features

Chores

Documentation

5.2.0 (2023-09-21)

Full Changelog: v5.1.0...v5.2.0

Features

  • client: retry on 408 Request Timeout (#159) (b28c579)
  • client: support importing node or web shims manually (#166) (8812dcc)
  • errors: add status code to error message (#163) (edea234)

Chores

  • api: remove deprecated & unused ATS API (#164) (e9377e8)

Documentation

  • declare Bun 1.0 officially supported (#162) (b082f06)
  • README: fix variable names in some examples (#167) (7e83bae)
  • readme: remove incorrect wording in opening (#165) (ec99ddb)

5.1.0 (2023-09-08)

Full Changelog: v5.0.0...v5.1.0

Features

Bug Fixes

  • client: fix TS errors that appear when users Go to Source in VSCode (#150) (81cf41d)
  • client: handle case where the client is instantiated with a undefined baseURL (#151) (45c409c)
  • client: use explicit file extensions in _shims imports (#149) (5484933)
  • fix module not found errors in Vercel edge (#156) (e39458c)
  • readme: update link to api.md to use the correct branch (#154) (312a217)

Chores

Documentation

5.0.0 (2023-08-29)

Full Changelog: v4.2.1...v5.0.0

⚠ BREAKING CHANGES

  • rename response page types (#144)
  • client: restructure some methods (#143)

Features

Bug Fixes

  • types: improve getNextPage() return type (#141) (159c7c3)

Chores

  • ci: setup workflows to create releases and release PRs (#139) (d969e30)

Refactors

4.2.1 (2023-08-26)

Refactors

  • remove unnecessary line in constructor (#134) (39f814f)

Chores

4.2.0 (2023-08-24)

Features

Bug Fixes

  • core: fix navigator check for strange environments (#129) (74edc8d)

Chores

  • internal: add missing eslint-plugin-prettier (#128) (1000bd6)
  • internal: export HeadersInit type shim (#132) (60b23ca)
  • internal: minor reformatting of code (#126) (ee3c2fc)

4.1.0 (2023-08-17)

Features

  • client: improve compatibility with Bun (#124) (6a9c632)
  • docs: add documentation to the client constructor (#123) (747855e)

Bug Fixes

  • client: fix TypeError when a request gets retried (#121) (25de6e2)

4.0.0 (2023-08-16)

⚠ BREAKING CHANGES

  • client: support accessing raw response + remove deprecated features (#114)

Features

  • allow a default timeout to be set for clients (#117) (5264bb7)
  • client: detect browser usage (#106) (0a322ae)
  • client: support accessing raw response + remove deprecated features (#114) (31c306b)
  • streaming: add .toReadableStream() method (#109) (7715977)

Documentation

  • api: improve custom method arguments (#108) (f9bc372)
  • readme: minor updates (#115) (575b46c)
  • readme: remove beta status + document versioning policy (#105) (bc2c0c0)

Chores

3.1.3 (2023-08-01)

Bug Fixes

  • client: handle undefined process in more places (#96) (3fa25a2)
  • fix undefined message in errors (#94) (b4f1e34)

Chores

  • internal: allow the build script to be run without yarn installed (#99) (f8ce4ec)
  • internal: minor refactoring of client instantiation (#97) (c9658e3)
  • internal: remove duplicate assignment (#91) (578c305)

Refactors

  • create build for deno.land (#100) (02af2ec)
  • use destructuring arguments in client constructor and respect false values (#98) (5eba1d1)

3.1.2 (2023-07-22)

Chores

3.1.1 (2023-07-17)

Bug Fixes

  • fix errors with "named" client export in CJS (#80) (9ed2ab5)

Chores

  • internal: add helper function for b64 (#78) (1777d0f)
  • internal: let toFile helper accept promises to objects with name/type properties (#79) (cc800bb)
  • internal: remove unused streaming implementation (#76) (d4ab2eb)

3.1.0 (2023-07-12)

Features

  • client: add support for passing a signal request option (#73) (268e403)
  • client: improve timeout handling to reuse agent (#66) (93f1971)
  • client: support passing a custom fetch function (#69) (7afb2cf)

Bug Fixes

  • client: properly handle multi-byte characters in Content-Length (#70) (0f3992a)
  • fix errors in package source files when users go to definition in VSCode (#65) (5df4494)
  • include README.md, LICENSE and CHANGELOG.md in published package (#62) (349b3f4)
  • streaming: do not abort successfully completed streams (#72) (29c397c)
  • streaming: fix response body streaming in non-Chrome environments (#67) (6444271)
  • streaming: polyfill ReadableStream async iterator and text decoding (#61) (40d413d)
  • support PromiseLike input to toFile (#64) (8f3c827)

Chores

  • internal: fix release please version config (#59) (dc04d72)

Refactors

  • improve streaming implementation (#63) (45fd9b8)
  • streaming: make response body streaming polyfill more spec-compliant (#68) (9ff63e7)

Documentation

3.0.0 (2023-07-07)

⚠ BREAKING CHANGES

  • import issue with ESM (#53)

Features

  • client: add support for defaultQuery option (#51) (3c66c1a)

Bug Fixes

Styles

Refactors

  • mark .responseHeaders and .response as deprecated (#56) (30b93bc)
  • move to src directory, improve ecosystem compatibility (#49) (492a91a)

Chores

  • internal: fix tsc usage (#55) (c74b4b0)
  • set noEmit: true in tsconfig.json, since it's for typechecking only (#57) (430a6fc)

Documentation

  • api.md: fix links not referencing src directory (#52) (a243a2e)
  • api.md: minor restructuring (#47) (cde08a6)
  • client: improve documentation for client options (#54) (0e6387b)
  • readme: fix typescript usage example response types (#58) (365edfd)

2.0.0 (2023-06-29)

⚠ BREAKING CHANGES

  • types: singularize array item types (#39)
  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#30)

Features

  • support ESM and web platform runtimes; easier file uploads (#41) (a9de794)
  • types: export nested types through the root client export (#38) (a524a6d)

Bug Fixes

  • form-data: strip out undefined properties (#36) (3263e7a)
  • internal: improve stream cancellation handling of abort controllers (#29) (a429beb)

Build System

  • add .github folder to .npmignore (#31) (e354911)

Refactors

  • move error type definitions to error.ts (#28) (b102084)
  • types: singularize array item types (#39) (b1e6ca9)

Styles

  • minor reordering of types and properties (#42) (733d237)

Chores

  • internal: improve SSE decoding of lines (#26) (a5c427e)
  • speed up build script slightly (#43) (d407434)

Documentation

  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#30) (9ddd198)
  • readme: add note about updating the default version header (#40) (1ca9421)
  • readme: fix main example snippet (#35) (4e84f2a)
  • readme: update main example (#33) (d38a664)
  • rearrange sections in api.md (#44) (da103bc)

1.1.0 (2023-06-13)

Features

  • client: add support for specifying client-level default headers (#19) (9dbd8ee)
  • client: handle trailing slash in base url properly (#16) (06d9f24)
  • initial commit (#1) (b4f5de4)

Bug Fixes

  • client: properly expose maxRetries option (#11) (4912955)
  • sse: handle server-sent events more robustly (#17) (78720c8)

Chores

  • internal: add empty request preparation method (#18) (a648b84)
  • internal: add prettierignore (#14) (1a18a39)
  • internal: fix workflow comment url (#15) (d5a5a12)
  • internal: improve NPM publish script (#9) (#10) (305f5ec)
  • internal: restructure core streaming implementation (#20) (a3eca00)
  • internal: update changelog config (#13) (8357f31)
  • internal: updates to type formatting & remove duplicated types (#21) (a70e092)
  • internal: use different package name (5acb715)
  • main: release finch-api 1.0.0 (#8) (6350356)

Documentation

  • point to github repo instead of email contact (#25) (ed6595f)

1.0.0 (2023-05-08)

Features