From 79eba84b042b945fcb4f283c75156b89d9a33cea Mon Sep 17 00:00:00 2001 From: Paul Gascou-Vaillancourt Date: Mon, 4 Dec 2017 22:53:14 -0500 Subject: [PATCH] chore(release): 1.0.0 --- CHANGELOG.md | 21 +++++++++++++++++++++ package.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..d686dcff1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# Change Log + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + + +# [1.0.0](https://github.com/paulgv/nuxt-i18n/compare/v0.1.0...v1.0.0) (2017-12-05) + + +### Features + +* **refactor:** refactor module's code ([e4186dc](https://github.com/paulgv/nuxt-i18n/commit/e4186dc)) + + +### BREAKING CHANGES + +* **refactor:** Route generation utils have been renamed & the module doesn't register a vuex module anymore + +- Replace all calls to getLocalizedRoute() with localePath() +- Replace all calls to getSwitchLocaleRoute() with switchLocalePath() +- Configured locales are now accessible in any component via `$i18n.locales` +- Similarly, default app locale can be accessed via `i18n.defaultLocale` diff --git a/package.json b/package.json index fde307fc7..a2f0c88e5 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nuxt-i18n", - "version": "0.1.0", + "version": "1.0.0", "description": "i18n for Nuxt", "license": "MIT", "contributors": [