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

go-dep: bump github.com/pocketbase/pocketbase from 0.19.4 to 0.20.0 in /backend #360

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps github.com/pocketbase/pocketbase from 0.19.4 to 0.20.0.

Release notes

Sourced from github.com/pocketbase/pocketbase's releases.

v0.20.0 Release

To update the prebuilt executable you can run ./pocketbase update.

  • Added expand, filter, fields, custom query and headers parameters support for the realtime subscriptions. Requires JS SDK v0.20.0+ or Dart SDK v0.17.0+.

    // JS SDK v0.20.0
    pb.collection("example").subscribe("*", (e) => {
      ...
    }, {
      expand: "someRelField",
      filter: "status = 'active'",
      fields: "id,expand.someRelField.*:excerpt(100)",
    })
    // Dart SDK v0.17.0
    pb.collection("example").subscribe("*", (e) {
        ...
      },
      expand: "someRelField",
      filter: "status = 'active'",
      fields: "id,expand.someRelField.*:excerpt(100)",
    )
  • Generalized the logs to allow any kind of application logs, not just requests.

    The new app.Logger() implements the standard log/slog interfaces available with Go 1.21.

    // Go: https://pocketbase.io/docs/go-logging/
    app.Logger().Info("Example message", "total", 123, "details", "lorem ipsum...")
    

    // JS: https://pocketbase.io/docs/js-logging/ $app.logger().info("Example message", "total", 123, "details", "lorem ipsum...")

    For better performance and to minimize blocking on hot paths, logs are currently written with debounce and on batches:

    - 3 seconds after the last debounced log write
    - when the batch threshold is reached (currently 200)
    - right before app termination to attempt saving everything from the existing logs queue
    

    Some notable log related changes:

    • ⚠️ Bumped the minimum required Go version to 1.21.

... (truncated)

Changelog

Sourced from github.com/pocketbase/pocketbase's changelog.

v0.20.0

  • Added expand, filter, fields, custom query and headers parameters support for the realtime subscriptions. Requires JS SDK v0.20.0+ or Dart SDK v0.17.0+.

    // JS SDK v0.20.0
    pb.collection("example").subscribe("*", (e) => {
      ...
    }, {
      expand: "someRelField",
      filter: "status = 'active'",
      fields: "id,expand.someRelField.*:excerpt(100)",
    })
    // Dart SDK v0.17.0
    pb.collection("example").subscribe("*", (e) {
        ...
      },
      expand: "someRelField",
      filter: "status = 'active'",
      fields: "id,expand.someRelField.*:excerpt(100)",
    )
  • Generalized the logs to allow any kind of application logs, not just requests.

    The new app.Logger() implements the standard log/slog interfaces available with Go 1.21.

    // Go: https://pocketbase.io/docs/go-logging/
    app.Logger().Info("Example message", "total", 123, "details", "lorem ipsum...")
    

    // JS: https://pocketbase.io/docs/js-logging/ $app.logger().info("Example message", "total", 123, "details", "lorem ipsum...")

    For better performance and to minimize blocking on hot paths, logs are currently written with debounce and on batches:

    - 3 seconds after the last debounced log write
    - when the batch threshold is reached (currently 200)
    - right before app termination to attempt saving everything from the existing logs queue
    

    Some notable log related changes:

    - ⚠️ Bumped the minimum required Go version to 1.21.
    
    • ⚠️ Removed _requests table in favor of the generalized _logs.

... (truncated)

Commits
  • 98c8c98 updated jsvm types
  • 97345f0 skip log writes if max retention setting is zero
  • b29e404 updated ui/dist, go deps, docs and fixed some typos
  • d8ec36f updated jsvm types
  • fb2eafe #3790 added MaxSize json field option
  • b9f391c revert ResetBootstrapState removal on app termination since closing the db ex...
  • 646f90e updated logs chart
  • 5b6b459 updated logs listing
  • 35fc6d0 define Server.BaseContext to cancel globally the SSE connections on server sh...
  • 506b759 fixed graceful shutdown handling
  • 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)

Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.19.4 to 0.20.0.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](pocketbase/pocketbase@v0.19.4...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 11, 2023
@github-actions github-actions bot merged commit 8c6f11e into master Dec 11, 2023
2 of 3 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/backend/github.com/pocketbase/pocketbase-0.20.0 branch December 11, 2023 09:44
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants