Uploaded image for project: 'Cristal'
  1. Cristal
  2. CRISTAL-477

Upgrade to pinia 3.0.1

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 0.16
    • 0.15
    • Dependency Upgrades
    • None
    • Unknown
    • N/A
    • N/A

    Description

      v3.0.0: Pinia 3.0

      Compare Source

      This version of Pinia has no new features, it drops support for Vue 2 and other deprecated APIs. It should be an straightforward upgrade for most users! 🎉

      See the migration guide for help.

      âš  BREAKING CHANGES
      • We now use the native Awaited introduced in TS 4.5, so you need at least TS 4.5 to use Pinia 3.0. That being said, it's always better to have an up to date version of TS.
      • PiniaStorePlugin is now removed. Use PiniaPlugin instead.
      • defineStore({ id: 'id' }) is now removed. Use defineStore('id') instead
      • Pinia is now published as a type: module package but it still provides CJS versions dist files

      Please refer to CHANGELOG.md for details.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: