From 709d0e5ca9f7cea382b8ac9aa69d0b42161224f5 Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Tue, 16 Apr 2024 19:16:10 +0200 Subject: [PATCH] chore: update version --- .changeset/blue-days-joke.md | 5 ----- .changeset/curvy-beans-battle.md | 5 ----- .changeset/small-tables-confess.md | 5 ----- package/CHANGELOG.md | 11 +++++++++++ package/package.json | 2 +- 5 files changed, 12 insertions(+), 16 deletions(-) delete mode 100644 .changeset/blue-days-joke.md delete mode 100644 .changeset/curvy-beans-battle.md delete mode 100644 .changeset/small-tables-confess.md diff --git a/.changeset/blue-days-joke.md b/.changeset/blue-days-joke.md deleted file mode 100644 index 2ec07ae..0000000 --- a/.changeset/blue-days-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrolicious/i18n": minor ---- - -Adds a new `getLocalesPlaceholder` utility to retrieve `locales` provided in the integration config from inside `getStaticPaths` diff --git a/.changeset/curvy-beans-battle.md b/.changeset/curvy-beans-battle.md deleted file mode 100644 index 53c8c26..0000000 --- a/.changeset/curvy-beans-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrolicious/i18n": patch ---- - -Fixes `getLocalePath` typing to allow specifying a locale diff --git a/.changeset/small-tables-confess.md b/.changeset/small-tables-confess.md deleted file mode 100644 index 436d2dd..0000000 --- a/.changeset/small-tables-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrolicious/i18n": minor ---- - -Allows passing custom paths to `getLocalePath` (not registered in the integration config). This will simply prefix paths based on the choosen strategy diff --git a/package/CHANGELOG.md b/package/CHANGELOG.md index 322bd1b..8a7871f 100644 --- a/package/CHANGELOG.md +++ b/package/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrolicious/i18n +## 0.3.0 + +### Minor Changes + +- e138d1b: Adds a new `getLocalesPlaceholder` utility to retrieve `locales` provided in the integration config from inside `getStaticPaths` +- e138d1b: Allows passing custom paths to `getLocalePath` (not registered in the integration config). This will simply prefix paths based on the choosen strategy + +### Patch Changes + +- e138d1b: Fixes `getLocalePath` typing to allow specifying a locale + ## 0.2.1 ### Patch Changes diff --git a/package/package.json b/package/package.json index ad93aa7..0df7abd 100644 --- a/package/package.json +++ b/package/package.json @@ -1,6 +1,6 @@ { "name": "@astrolicious/i18n", - "version": "0.2.1", + "version": "0.3.0", "description": "Yet another i18n integration for Astro with server and client utilities, type safety and translations built-in.", "author": { "email": "contact@florian-lefebvre.dev",