Skip to content

Bump pinia from 0.0.7 to 0.5.1#10

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/pinia-0.5.1
Closed

Bump pinia from 0.0.7 to 0.5.1#10
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/pinia-0.5.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 19, 2021

Bumps pinia from 0.0.7 to 0.5.1.

Release notes

Sourced from pinia's releases.

v0.5.1

Please refer to CHANGELOG.md for details.

v0.5.0

Please refer to CHANGELOG.md for details.

v0.4.1

Please refer to CHANGELOG.md for details.

v0.4.0

Please refer to CHANGELOG.md for details.

v0.3.1

Please refer to CHANGELOG.md for details.

🚀 Release 0.1.0

  • feat: access the state and getters through this (#190) (7bb7733)
  • refactor: use defineComponent (cae8fca)

Breaking changes

There is no longer a state property on the store, you need to directly access any property

store.state.counter
// becomes
store.counter

getters no longer receive parameters, directly call this.myState to read state and other getters:

getters: {
  doubleCount: state => state.counter * 2
  // becomes
  doubleCounte() {
    return this.counter * 2
  }
}

More at #190

🚀 Release 0.1.0-alpha.1

  • refactor: rename details about branch (786ea50)
  • Merge branch 'master' into next (d1285e3)
  • chore: up deps (957ae31)
  • docs: update demo link (2361d8f)
  • docs: clearer implications of where to call useStore (1d6aee1)
  • chore(deps-dev): bump rollup from 1.29.0 to 1.29.1 (c3454fe)

... (truncated)

Changelog

Sourced from pinia's changelog.

0.5.1 (2021-05-17)

Bug Fixes

  • type: export forgotten types (b3909c7)
  • types: correct subtype Store (65d4ab3), closes #500

0.5.0 (2021-05-17)

Bug Fixes

  • types: forbid non existent keys on store (9513d1a)
  • types: patch should unwrap refs (9668167)
  • types: unwrap refs passed to state (c29b1e0), closes #491

Features

  • types: allow defining custom state properties (34cef9b)
  • subscribe to actions with $onAction (57d8503), closes #240

BREAKING CHANGES

  • The type property of the first parameter of store.$subscribe() has slightly changed. In most scenarios this shouldn't affect you as the possible values for type were including emojis (a bad decision...) and they are now using an enum without emojis. Emojis are used only in devtools to give a mental hint regarding the nature and origin of different events in the timeline.

  • In store.$subscribe()'s first argument, the storeName property has been deprecated in favor of storeId (This is not really a breaking change yet).

0.4.1 (2021-05-05)

Bug Fixes

  • nuxt: inject Vue before rendering (309bf8f), closes #473

0.4.0 (2021-05-03)

Features

  • pinia: allow chaining pinia.use (d5e7a6e)
  • plugins: pass a context object to plugins instead of app (8176db4)
  • plugins: pass options to plugins (4d750ad)
  • store: pass state to getters as first argument (9f3132b)
  • types: fail on async patch (fe58fab)

Performance Improvements

  • store: reuse stores from parent to children components (fcfda41)

BREAKING CHANGES

  • store: getters now receive the state as their first argument and it's properly typed so you can write getters with arrow functions:

... (truncated)

Commits
  • 4e771b1 release: v0.5.1
  • b3909c7 fix(type): export forgotten types
  • 58482e1 refactor: add ts-expect-error
  • 65d4ab3 fix(types): correct subtype Store
  • b929578 release: v0.5.0
  • a254335 chore: use workspace ts
  • 9513d1a fix(types): forbid non existants keys on store
  • 34cef9b feat(types): allow defining custom state properties
  • a4bcdd1 test: test refs in plugins
  • d2e9b94 test: activate unwrapping tests
  • 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 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 [pinia](https://github.com/posva/pinia) from 0.0.7 to 0.5.1.
- [Release notes](https://github.com/posva/pinia/releases)
- [Changelog](https://github.com/posva/pinia/blob/v0.5.1/CHANGELOG.md)
- [Commits](vuejs/pinia@0.0.7...v0.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 19, 2021
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Jun 8, 2021

Superseded by #11.

@dependabot dependabot Bot closed this Jun 8, 2021
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/pinia-0.5.1 branch June 8, 2021 06:42
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