Skip to content

Latest commit

History

History
286 lines (165 loc) 路 13.9 KB

CHANGELOG.md

File metadata and controls

286 lines (165 loc) 路 13.9 KB

0.5.2-beta.0 (2024-04-17)

Bug Fixes

0.5.1 (2024-04-04)

Bug Fixes

0.5.1 (2023-10-16)

Bug Fixes

  • nuxt: use srcDir by default for storesDirs (dd90708), closes #2447

Features

0.5.0 (2023-10-13)

Features

  • imports: add storesDirs auto import (70a95ba), closes #1604

BREAKING CHANGES

  • imports: the option autoImports has been removed as it offered
    no value compared to the existing imports option in Nuxt. Instead, we are automatically adding defineStore(), and acceptHMRUpdate() to the list of auto imported functions. We are also adding the ./stores dirs to auto imports now, so if you were manually adding that option, it can be removed.

0.4.11 (2023-05-17)

This release only contains build related changes

0.4.10 (2023-05-08)

This release only contains build related changes

0.4.9 (2023-04-20)

Bug Fixes

0.4.8 (2023-04-07)

Bug Fixes

  • support "types" condition in "exports" field (#2078) (66d3a5e)

0.4.7 (2023-02-20)

No changes in this release

0.4.6 (2022-11-27)

Bug Fixes

  • nuxt: Avoid recursive import from Nuxt #imports (#1823) (e1c0a19)
  • nuxt: use #app imports (6cf7e48)

0.4.5 (2022-11-21)

Bug Fixes

  • nuxt: ensure pinia plugin is added before router (3e4e63c)

0.4.4 (2022-11-17)

Bug Fixes

0.4.3 (2022-10-08)

  • Update nuxt version and usage to rc.11

0.4.2 (2022-09-06)

Bug Fixes

0.4.1 (2022-08-18)

Features

0.4.0 (2022-08-10)

Bug Fixes

0.3.1 (2022-07-25)

  • doc generation changes

0.3.0 (2022-07-13)

Please read the release notes if you are upgrading from a previous version.

Bug Fixes

  • nuxt: correct type for $nuxt (4f1a514)

Features

  • nuxt: add autoImports option in module (42be2fc)
  • nuxt: deprecate old $nuxt context (3e3041a)
  • nuxt: remove wrong $nuxt in Nuxt 3 (67e5417)
  • usePinia composable (c7debd6)

BREAKING CHANGES

  • nuxt: $nuxt usage in stores defaults to type any unless you install the @nuxt/types package. This is because that package is quite heavy and can cause conflicts in projects not requiring it. Note $nuxt is deprecated and shouldn't be used (cf the other breaking changes notes).

  • nuxt: Starting on this version, @pinia/nuxt only works with Nuxt 2 + Bridge and Nuxt 3, it no longer works with Nuxt 2 only. This is necessary to have one single plugin that works well with the different versions of Nuxt. If you aren't using bridge with Nuxt 2, check out the migration guide or pin your @pinia/nuxt dependency in your:

    -    "@pinia/nuxt": "^0.2.1",
    +    "@pinia/nuxt": "0.2.1",

    The $nuxt context usage should be replaced with globals like $fetch() and useNuxtApp(). You can find more information about this in Nuxt documentation:

  • nuxt: in Nuxt 3, $nuxt is no longer available in stores. This is because it was removed in Nuxt 3 and it is no longer the context as it used to be. Most of the features used there, like $fetch are now globally available and therefore remove the need of it. You can also use useNuxtApp() when necessary.

0.2.1 (2022-07-12)

Bug Fixes

0.2.0 (2022-07-11)

Bug Fixes

  • nuxt: plugin injection on latest Nuxt 3 context (#1433) (bd0c52f)

0.1.9 (2022-05-05)

Update build tools

0.1.8 (2021-12-24)

Override the 0.1.7 version for convenience but no code changes since 0.1.6.

0.1.7 (2021-12-20)

No code updates in this release

0.1.6 (2021-12-01)

Upgrade dependencies

0.1.5 (2021-11-11)

Performance Improvements

  • install plugins only once (1b8e363)

0.1.4 (2021-11-10)

Bug Fixes

  • workaround prod build bug (e1ebadb)

0.1.3 (2021-11-10)

Bug Fixes

  • install vue composition api for vue 2 (1287916)

0.1.2 (2021-11-04)

Bug Fixes

  • nuxt: correct build export (b2229cc)

0.1.1 (2021-11-03)

Bug Fixes

0.1.0 (2021-10-25)

  • Adapt paths of dist files

0.0.9 (2021-10-21)

Bug Fixes

  • correct deps in nuxt plugin (8020f99)
  • correct peer deps and deps (c83677a)
  • should work with nuxt (03159a4)

0.0.8 (2021-10-20)

Bug Fixes

  • expose the plugin in mjs (7a18af7)

0.0.7 (2021-10-19)

Bug Fixes

0.0.6 (2021-10-14)

Bug Fixes

  • link to correct file [skip ci] (c44b771)

0.0.5 (2021-10-14)

Bug Fixes

  • nuxt: inject pinia after installing the plugin (32dfdec)
  • nuxt: inject state for nuxt 3 (14999ce)
  • nuxt: point to the correct dist file (438b16d)

Features

  • nuxt: deprecate context.pinia in favor of context.$pinia (7dbc8e8)

0.0.4 (2021-10-12)

Bug Fixes

0.0.3 (2021-10-03)

Bug Fixes

  • export the module version in mjs (cffc313)
  • nuxt: correct build (435b294)

0.0.2 (2021-09-03)

Features

0.0.1 (2021-08-19)

Features

  • expose getActivePinia (8b8d0c1)
  • nuxt: nuxt plugin working with Vue 2 (2b3aa5f)