Skip to content

Commit

Permalink
Fix hydrate, add actix feature and initial language from HTTP header (
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja authored Mar 23, 2024
1 parent 20d602c commit 90c79d6
Show file tree
Hide file tree
Showing 31 changed files with 466 additions and 269 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ jobs:
fail-fast: false
matrix:
include:
- example: minimal
- example: csr-minimal
feature: csr
- example: complete
- example: csr-complete
feature: csr
- example: ssr-hydrate-actix
feature: ssr
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ repos:
alias: clippy-ssr
name: clippy-ssr
args: [--features=ssr, --, -A, clippy::comparison-chain, -Dwarnings]
- id: clippy
alias: clippy-ssr-actix
name: clippy-ssr-actix
args:
["--features=ssr,actix", --, -A, clippy::comparison-chain, -Dwarnings]
- id: clippy
alias: clippy-hydrate
name: clippy-hydrate
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# CHANGELOG

## Unreleased
## 2024-03-24 - [0.0.21]

- Minimum Leptos version set to `0.6`.
- Fix hydration mode.
- Allow to get the initial language on SSR from the `Accept-Language` header.
- Added `actix` feature to integrate with Actix Web framework.

## 2024-03-10 - [0.0.20]

Expand Down Expand Up @@ -33,6 +36,7 @@

- Added all ISO-639-1 and ISO-639-2 languages.

[0.0.21]: https://github.com/mondeja/leptos-fluent/compare/v0.0.20...v0.0.21
[0.0.20]: https://github.com/mondeja/leptos-fluent/compare/v0.0.17...v0.0.20
[0.0.17]: https://github.com/mondeja/leptos-fluent/compare/v0.0.15...v0.0.17
[0.0.15]: https://github.com/mondeja/leptos-fluent/compare/v0.0.1...v0.0.15
Loading

0 comments on commit 90c79d6

Please sign in to comment.