]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
release: v2.0.0-alpha.5 v2.0.0-alpha.5
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 9 Oct 2020 10:44:49 +0000 (12:44 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 9 Oct 2020 10:44:49 +0000 (12:44 +0200)
CHANGELOG.md
package.json

index cf5161da9e378f802ace8fa10c80eb8cac930a8a..e7d463a263c9a651ad98b22732d3b6c557205e22 100644 (file)
@@ -1,3 +1,13 @@
+# [2.0.0-alpha.5](https://github.com/posva/pinia/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2020-10-09)
+
+### Code Refactoring
+
+- prefix store properties with \$ ([#254](https://github.com/posva/pinia/issues/254)) ([751f286](https://github.com/posva/pinia/commit/751f2867b97f210488eb82bad1ec05af6ab6e72c))
+
+### BREAKING CHANGES
+
+- all store properties (`id`, `state`, `patch`, `subscribe`, and `reset`) are now prefixed with `$` to allow properties defined with the same type and avoid types breaking. Tip: you can refactor your whole codebase with F2 (or right-click + Refactor) on each of the store's properties
+
 # [2.0.0-alpha.4](https://github.com/posva/pinia/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2020-09-29)
 
 ### Bug Fixes
index 5e5c7bc34f2524b195df930a207659d1a03daa25..b343b2e8088df1d893feee2d4a278f13dd703017 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "pinia",
-  "version": "2.0.0-alpha.4",
+  "version": "2.0.0-alpha.5",
   "description": "Some awesome description",
   "main": "dist/pinia.cjs.js",
   "module": "dist/pinia.esm-bundler.js",