Skip to content

build(deps): bump better-auth from 1.0.7 to 1.1.6 #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 30, 2024

Bumps better-auth from 1.0.7 to 1.1.6.

Release notes

Sourced from better-auth's releases.

v1.1.6

    🔓 Security Fixes

    View changes on GitHub

v1.1.5

   🐞 Bug Fixes

    View changes on GitHub

v1.1.4

   🐞 Bug Fixes

    View changes on GitHub

v1.1.4-beta.2

   🐞 Bug Fixes

    View changes on GitHub

v1.1.4-beta.1

No significant changes

    View changes on GitHub

v1.1.3

   🚀 Features

... (truncated)

Commits
  • e7a03bd chore: release v1.1.6
  • 8eddfa9 chore: cleanup
  • deb3d73 fix: enforce origin checker for GET methods
  • dd8f34d chore: cleanup
  • 8a77c7a chore: release v1.1.5
  • 0de8770 chore: fix test imports
  • ceea542 fix: throw error in multiple resource permission checks
  • 6ab1689 fix: disallow the creator role as a possible invitation role for all inviter ...
  • 00996b9 fix(passkey): user verification shouldn't be required on passkey registration...
  • 717134f fix(email-otp): it shouldn't send email if user doesn't exist on forget passw...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by Sourcery

Build:

  • Bump better-auth dependency from 1.0.7 to 1.1.6.

Bumps [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) from 1.0.7 to 1.1.6.
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.1.6/packages/better-auth)

---
updated-dependencies:
- dependency-name: better-auth
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 30, 2024
Copy link

sourcery-ai bot commented Dec 30, 2024

Reviewer's Guide by Sourcery

This PR bumps the better-auth package from version 1.0.7 to 1.1.6. This addresses a security vulnerability by enforcing origin checks for all GET methods. Several bug fixes are also included in this update. The changes are limited to updating version numbers in package.json and pnpm-lock.yaml files.

Sequence diagram for enhanced origin checking in GET methods

sequenceDiagram
    participant Client
    participant BetterAuth
    participant Server

    Note over BetterAuth: v1.1.6 adds origin checking
    Client->>BetterAuth: GET Request
    activate BetterAuth
    BetterAuth->>BetterAuth: Check Origin Header
    alt Invalid or Missing Origin
        BetterAuth-->>Client: 403 Forbidden
    else Valid Origin
        BetterAuth->>Server: Forward Request
        Server-->>BetterAuth: Response
        BetterAuth-->>Client: Forward Response
    end
    deactivate BetterAuth
Loading

Class diagram showing updated better-auth dependencies

classDiagram
    class BetterAuth {
        +version: 1.1.6
    }

    BetterAuth --> BetterAuthUtils
    BetterAuth --> SimpleWebAuthn
    BetterAuth --> BetterCall

    class BetterAuthUtils {
        +version: 0.2.3
    }

    class SimpleWebAuthn {
        +version: 13.0.0
    }

    class BetterCall {
        +version: 0.3.3-beta.4
    }

    note for BetterAuth "Security fix: Added origin checking for GET methods"
Loading

File-Level Changes

Change Details Files
Bumped better-auth package from 1.0.7 to 1.1.6
  • Updated the better-auth version in packages/shared/package.json.
  • Updated the better-auth version and its dependencies in pnpm-lock.yaml.
packages/shared/package.json
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants