From 1d4b11e3f2cc42f595bb38ccdd6c9f28dd6c1170 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 9 Oct 2020 12:44:49 +0200 Subject: [PATCH] release: v2.0.0-alpha.5 --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf5161da9e..e7d463a263 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 5e5c7bc34f..b343b2e808 100644 --- a/package.json +++ b/package.json @@ -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",