Skip to content
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

🤖 Bump pocketbase from 0.21.2 to 0.25.0 in /frontend #424

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 11, 2025

Bumps pocketbase from 0.21.2 to 0.25.0.

Release notes

Sourced from pocketbase's releases.

v0.25.0 Release

  • Added pb.crons service to interact with the cron Web APIs (available with PocketBase v0.24+).

v0.24.0 Release

  • Added support for assigning FormData as body to individual batch requests (pocketbase#6145).

v0.23.0 Release

  • Added optional pb.realtime.onDisconnect hook function. Note that the realtime client autoreconnect on its own and this hook is useful only for the cases where you want to apply a special behavior on server error or after closing the realtime connection.

v0.22.1 Release

  • Fixed old pb.authStore.isAdmin/pb.authStore.isAuthRecord getters and marked them as deprecated in favour of pb.authStore.isSuperuser (#323). Note that with PocketBase v0.23.0 superusers are converted to a system auth collection so you can always simply check the value of pb.authStore.record?.collectionName.

v0.22.0 Release

⚠️ This release introduces some breaking changes and works only with PocketBase v0.23.0+.

  • Added support for sending batch/transactional create/updated/delete/upsert requests with the new batch Web APIs.

    const batch = pb.createBatch();
    batch.collection("example1").create({ ... });
    batch.collection("example2").update("RECORD_ID", { ... });
    batch.collection("example3").delete("RECORD_ID");
    batch.collection("example4").upsert({ ... });
    const result = await batch.send();

  • Added support for authenticating with OTP (email code):

    const result = await pb.collection("users").requestOTP("test@example.com");
    // ... show a modal for users to check their email and to enter the received code ...
    await pb.collection("users").authWithOTP(result.otpId, "EMAIL_CODE");

    Note that PocketBase v0.23.0 comes also with Multi-factor authentication (MFA) support. When enabled from the dashboard, the first auth attempt will result in 401 response and a mfaId response, that will have to be submitted with the second auth request. For example:

    try {
      await pb.collection("users").authWithPassword("test@example.com", "1234567890");
    } catch (err) {
      const mfaId = err.response?.mfaId;
      if (!mfaId) {
        throw err; // not mfa -> rethrow
      }

... (truncated)

Changelog

Sourced from pocketbase's changelog.

0.25.0

  • Added pb.crons service to interact with the cron Web APIs.

0.24.0

  • Added support for assigning FormData as body to individual batch requests (pocketbase#6145).

0.23.0

  • Added optional pb.realtime.onDisconnect hook function. Note that the realtime client autoreconnect on its own and this hook is useful only for the cases where you want to apply a special behavior on server error or after closing the realtime connection.

0.22.1

  • Fixed old pb.authStore.isAdmin/pb.authStore.isAuthRecord and marked them as deprecated in favour of pb.authStore.isSuperuser (#323). Note that with PocketBase v0.23.0 superusers are converted to a system auth collection so you can always simply check the value of pb.authStore.record?.collectionName.

0.22.0

⚠️ This release introduces some breaking changes and works only with PocketBase v0.23.0+.

  • Added support for sending batch/transactional create/updated/delete/upsert requests with the new batch Web APIs.

    const batch = pb.createBatch();
    batch.collection("example1").create({ ... });
    batch.collection("example2").update("RECORD_ID", { ... });
    batch.collection("example3").delete("RECORD_ID");
    batch.collection("example4").upsert({ ... });
    const result = await batch.send();

  • Added support for authenticating with OTP (email code):

    const result = await pb.collection("users").requestOTP("test@example.com");
    // ... show a modal for users to check their email and to enter the received code ...
    await pb.collection("users").authWithOTP(result.otpId, "EMAIL_CODE");

    Note that PocketBase v0.23.0 comes also with Multi-factor authentication (MFA) support. When enabled from the dashboard, the first auth attempt will result in 401 response and a mfaId response, that will have to be submitted with the second auth request. For example:

... (truncated)

Commits

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)

@dependabot dependabot bot requested a review from janlauber as a code owner January 11, 2025 22:59
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 11, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/frontend/pocketbase-0.25.0 branch 2 times, most recently from 0672684 to b846da0 Compare January 11, 2025 23:01
@janlauber
Copy link
Owner

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/frontend/pocketbase-0.25.0 branch from b846da0 to b8613a9 Compare January 11, 2025 23:03
Bumps [pocketbase](https://github.com/pocketbase/js-sdk) from 0.21.2 to 0.25.0.
- [Release notes](https://github.com/pocketbase/js-sdk/releases)
- [Changelog](https://github.com/pocketbase/js-sdk/blob/master/CHANGELOG.md)
- [Commits](pocketbase/js-sdk@v0.21.2...v0.25.0)

---
updated-dependencies:
- dependency-name: pocketbase
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@janlauber janlauber force-pushed the dependabot/npm_and_yarn/frontend/pocketbase-0.25.0 branch from b8613a9 to c3b0f96 Compare January 11, 2025 23:04
Signed-off-by: Jan Lauber <jan.lauber@protonmail.ch>
@github-actions github-actions bot added size/L and removed size/S labels Jan 11, 2025
@janlauber janlauber merged commit 70e9d95 into main Jan 11, 2025
9 checks passed
@janlauber janlauber deleted the dependabot/npm_and_yarn/frontend/pocketbase-0.25.0 branch January 11, 2025 23:14
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 javascript Pull requests that update Javascript code size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant