这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: poppinss/oauth-client

Update dependencies

04 Jul 08:59
Compare
Choose a tag to compare

Remove got in favor of ky

27 Dec 05:51
Compare
Choose a tag to compare

Breaking changes

got is a huge library and we don't even use 90% of its features. Therefore, replaced it with a lightweight option. Since, got APIs are never exposed to the end-user, we do not expect any major breaking changes.

  • Replaced got with ky.
  • Removed support for buffer response type. The response type is now either text or json.
  • Removed support for sending body in GET requests. It was earlier supported via allowGetBody option from got, which isn't support by ky.

Update dependencies

28 Mar 06:08
Compare
Choose a tag to compare
  • chore: update dependencies f7450e8

Full Changelog: v5.1.2...v5.1.3

Update dependencies

16 Dec 05:03
Compare
Choose a tag to compare
  • chore: update dependencies a55f52c

Full Changelog: v5.1.1...v5.1.2

Publish source maps and use TSC for generating types

06 Nov 07:28
Compare
Choose a tag to compare
  • chore: publish source maps and use tsc for generating types 154486c
  • chore: update dependencies 04fd662

Full Changelog: v5.1.0...v5.1.1

Breaking changes + ESM only

14 Oct 06:16
Compare
Choose a tag to compare

Please refer to the following release notes to learn about the breaking changes

Commits

What's Changed

New Contributors

Full Changelog: v4.0.2...v5.1.0

Re-organizing exports and dropping Luxon

23 Sep 08:53
Compare
Choose a tag to compare

Breaking change

  • This release moves the Oauth1Client and Oauth2Client behind submodules. You can import them as follows.

    - import { Oauth1Client } from '@poppinss/oauth-client'
    + import { Oauth1Client } from '@poppinss/oauth-client/oauth1'
    
    - import { Oauth2Client } from '@poppinss/oauth-client'
    + import { Oauth2Client } from '@poppinss/oauth-client/oauth2'
  • The exceptions are exported under the errors namespace as error codes.

    - import { MissingTokenException } from '@poppinss/oauth-client'
    + import { errors } from '@poppinss/oauth-client'
    + errors.E_OAUTH_MISSING_TOKEN
    
    - import { StateMisMatchException } from '@poppinss/oauth-client'
    + import { errors } from '@poppinss/oauth-client'
    + errors.E_OAUTH_STATE_MISMATCH
  • The oauth2Token.expiresAt is no longer an instance of luxon. Luxon is quite heavy in size and we do not want to push that on the package users. The oauth2Token.expiresAt is an instance of JavaScript Date class.

Commits

Full Changelog: v5.1.0-3...v5.1.0-4

Update dependencies

29 Jun 10:17
Compare
Choose a tag to compare
Update dependencies Pre-release
Pre-release
  • chore: add engines to package.json file 6598fe1
  • ci: add linting and typechecking in ci 914aec0
  • chore: use @adonisjs/tooling presets for tooling config 6108851
  • chore: upgrade japa to v3 c24ad99
  • chore: update dependencies 4ce05e6

Full Changelog: v5.1.0-2...v5.1.0-3

Upgrade to TypeScript 5

25 Mar 07:44
Compare
Choose a tag to compare
Pre-release
  • chore(package): update utils to latest version 322fd8e
  • docs: update License file 446ab70
  • chore: update dependencies e257dfa

Full Changelog: v5.1.0-1...v5.1.0-2

Update dependencies

11 Mar 05:40
Compare
Choose a tag to compare
Update dependencies Pre-release
Pre-release
  • chore: update dependencies b25a4d4
  • test: fix import url for tests to run on windows 16c2fd4
  • docs(README): fix badge url for github workflow 10e7b6e
  • chore: update dependencies 542b562

Full Changelog: v5.1.0-0...v5.1.0-1