Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Bump pocketbase from 0.18.1 to 0.18.3#42

Closed
dependabot[bot] wants to merge 1 commit intov3-New_Horizonsfrom
dependabot/npm_and_yarn/pocketbase-0.18.3
Closed

Bump pocketbase from 0.18.1 to 0.18.3#42
dependabot[bot] wants to merge 1 commit intov3-New_Horizonsfrom
dependabot/npm_and_yarn/pocketbase-0.18.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Oct 16, 2023

Bumps pocketbase from 0.18.1 to 0.18.3.

Release notes

Sourced from pocketbase's releases.

v0.18.3 Release

  • Added optional generic support for the RecordService (#251). This should allow specifying a single TypeScript definition for the client, eg. using type assertion:
    interface Task {
      id:   string;
      name: string;
    }
    interface Post {
    id:     string;
    title:  string;
    active: boolean;
    }
    interface TypedPocketBase extends PocketBase {
    collection(idOrName: string): RecordService // default fallback for any other collection
    collection(idOrName: 'tasks'): RecordService<Task>
    collection(idOrName: 'posts'): RecordService<Post>
    }
    ...
    const pb = new PocketBase('http://127.0.0.1:8090') as TypedPocketBase
    // the same as pb.collection('tasks').getOne<Task>("RECORD_ID")
    await pb.collection('tasks').getOne("RECORD_ID") // -> results in Task
    // the same as pb.collection('posts').getOne<Post>("RECORD_ID")
    await pb.collection('posts').getOne("RECORD_ID") // -> results in Post

v0.18.2 Release

  • Added support for assigning a Promise as AsyncAuthStore initial value (#249).
Changelog

Sourced from pocketbase's changelog.

0.18.3

  • Added optional generic support for the RecordService (#251). This should allow specifying a single TypeScript definition for the client, eg. using type assertion:
    interface Task {
      id:   string;
      name: string;
    }
    interface Post {
    id:     string;
    title:  string;
    active: boolean;
    }
    interface TypedPocketBase extends PocketBase {
    collection(idOrName: string): RecordService // default fallback for any other collection
    collection(idOrName: 'tasks'): RecordService<Task>
    collection(idOrName: 'posts'): RecordService<Post>
    }
    ...
    const pb = new PocketBase("http://127.0.0.1:8090") as TypedPocketBase;
    // the same as pb.collection('tasks').getOne<Task>("RECORD_ID")
    await pb.collection('tasks').getOne("RECORD_ID") // -> results in Task
    // the same as pb.collection('posts').getOne<Post>("RECORD_ID")
    await pb.collection('posts').getOne("RECORD_ID") // -> results in Post

0.18.2

  • Added support for assigning a Promise as AsyncAuthStore initial value (#249).
Commits
  • 503f6f1 #251 added optional RecordService generic type
  • d741c3b normalized example quotes
  • 2c7a6b3 added note about the custom request options
  • dec4b18 removed unnecessary ternary condition
  • a857acb updated AsyncAuthStore example
  • 421e15c #249 added support for assigning a Promise as AsyncAuthStore initial value
  • See full diff 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 [pocketbase](https://github.com/pocketbase/js-sdk) from 0.18.1 to 0.18.3.
- [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.18.1...v0.18.3)

---
updated-dependencies:
- dependency-name: pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 16, 2023
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Oct 16, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 310908e
Status: ✅  Deploy successful!
Preview URL: https://70f186aa.portfolio-c9y.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-pock-s4qe.portfolio-c9y.pages.dev

View logs

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Oct 19, 2023

Superseded by #46.

@dependabot dependabot Bot closed this Oct 19, 2023
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/pocketbase-0.18.3 branch October 19, 2023 05:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants