Skip to content

Commit

Permalink
Merge pull request #11 from e3stpavel/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
e3stpavel authored Apr 11, 2024
2 parents 214be84 + e23b4ae commit a55d4c6
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 45 deletions.
5 changes: 0 additions & 5 deletions .changeset/brown-nails-think.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fast-brooms-deliver.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fifty-beds-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/five-scissors-speak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-donkeys-lick.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/soft-oranges-eat.md

This file was deleted.

30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# astro-nanointl

## 1.0.0

### Major Changes

- 89bbcb7: Added new `useTranslations` function

There is no backward compatibility because function API is changed. Refer to docs to learn more.

- 3a570d3: Removed some overhead and updated to Astro `v4.0.0`

There is no backward compatibility because of [new built-in Astro i18n API](https://docs.astro.build/en/guides/internationalization/).

Deprecated features:

- Custom integration
- Literal types for locales
- Strict translations loading from file system
- Access to default locale
- Custom middleware
- `l` function
- Integration with [`nanostores`](https://github.com/nanostores/nanostores) and [`@nanostores/i18n`](https://github.com/nanostores/i18n)

### Patch Changes

- fd66630: Updated `args` transformer with `@nanostores/i18n` dependencies removed
- 1a07cb4: Added [Content Collection](https://docs.astro.build/en/guides/content-collections) custom translations schema.
See [Using third-party collection schemas](https://docs.astro.build/en/guides/content-collections/#using-third-party-collection-schemas) for more.
- ca26e87: Updated `count` transformer with `@nanostores/i18n` dependencies removed
- 1187648: Updated `params` transformer with `@nanostores/i18n` dependencies removed

## 0.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "astro-nanointl",
"type": "module",
"version": "0.0.7",
"version": "1.0.0",
"description": "Tiny set of tools to implement internationalization for Astro",
"author": {
"name": "e3stpavel"
Expand Down

0 comments on commit a55d4c6

Please sign in to comment.