@rivinia/i18n 1.0.0-rc.2 → 1.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -14,12 +14,45 @@ value>))`.
14
14
  Coming from 0.8.0: **nothing to do** — 1.0.0 removes no name and renames none.
15
15
  The removals a consumer already met were in 0.6.0 (`RTranslatePipe` /
16
16
  `rTranslate`), recorded below, and the freeze that fixed what ships is
17
- [`docs/API-SURFACE-1.0.md`](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/API-SURFACE-1.0.md).
17
+ [`docs/releases/1.0/API-SURFACE.md`](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/releases/1.0/API-SURFACE.md).
18
18
  The README is the start-here tier; everyday patterns and the reference live in
19
19
  [`docs/i18n/`](https://github.com/abdelfattahqandil21-oss/Revinia/tree/main/docs/i18n),
20
20
  one topic per page. This file keeps what a consumer of this package needs,
21
21
  including the migration notes for 0.6.0 and 0.4.0.
22
22
 
23
+ ## 1.0.0-rc.4
24
+
25
+ - Align the package and optional `@rivinia/select` peer with the 1.0.0-rc.4 synchronized release.
26
+ - No public API change.
27
+
28
+ ## 1.0.0-rc.3
29
+
30
+ **No config key, export, pipe, token, loader hook or behavior changed** — the code in
31
+ this release is the code of `1.0.0-rc.2`. The version exists because a published version
32
+ is immutable and `1.0.0-rc.2` shipped a `CHANGELOG.md` whose newest heading was still
33
+ `## 1.0.0-rc.1`, and because every repository link in the READMEs now points at an
34
+ immutable release tag instead of the moving `main` branch.
35
+
36
+ - **Documentation links are pinned to this release.** The asset and docs links in
37
+ `README.md` resolve through the `i18n/v1.0.0-rc.3` tag, so the document read from the
38
+ installed package can never be redirected to a `main` that has moved on.
39
+ - **Nothing a consumer imports moved**: 35 names at `.`, 5 at `./ui`, 5 at `./select`,
40
+ the `rvTranslate` pipe, the ICU rules and the shape `rivinia-i18n-keys` generates are
41
+ as frozen in the API surface document.
42
+ - **The optional `@rivinia/select` peer stays at `^1.0.0-rc.1` on purpose.** That range
43
+ admits every select `1.x` — each rc and the stable release alike — and excludes a 2.0,
44
+ which is what a peer wants. It is deliberately not `^1.0.0` yet: a caret on `1.0.0`
45
+ excludes prereleases, so an app installing this rc alongside `@rivinia/select@next`
46
+ would get an `ERESOLVE` the day the file is changed and not before. The flip belongs
47
+ with the `1.0.0` release, where both sides exist.
48
+
49
+ ## 1.0.0-rc.2
50
+
51
+ Documentation only, and the first release of this package whose own changelog entry had
52
+ to be written after the fact (see above). What it carried was the `Package version` line
53
+ in `README.md`; the optional `@rivinia/select` peer stayed at `^1.0.0-rc.1`. No config
54
+ key, export, pipe, token, loader hook or behavior changed.
55
+
23
56
  ## 1.0.0-rc.1
24
57
 
25
58
  - **The optional `@rivinia/select` peer is now `^1.0.0-rc.1`** (it was `^0.7.0`, a
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Rivinia contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -4,14 +4,14 @@
4
4
  [![license](https://img.shields.io/npm/l/@rivinia/i18n.svg)](https://www.npmjs.com/package/@rivinia/i18n)
5
5
 
6
6
  <p align="center">
7
- <img src="https://raw.githubusercontent.com/abdelfattahqandil21-oss/Revinia/main/assets/rivinia-abstract-mark-light.svg" alt="Rivinia" width="140" />
7
+ <img src="https://raw.githubusercontent.com/abdelfattahqandil21-oss/Revinia/i18n/v1.0.0-rc.4/assets/rivinia-abstract-mark-light.svg" alt="Rivinia" width="140" />
8
8
  </p>
9
9
 
10
10
  A headless Angular language manager built on signals: key-based JSON
11
11
  dictionaries, inline translations, RTL/LTR document attributes, lazy loaders, ICU
12
12
  plural/select messages, browser-language detection, and `Intl` number/date
13
13
  formatting — with SSR that actually works and no runtime dependency beyond
14
- Angular. Package version: **1.0.0-rc.2**.
14
+ Angular. Package version: **1.0.0-rc.4**.
15
15
 
16
16
  1.0.0-rc.1 is the first supported release; 0.x was experimental.
17
17
 
@@ -43,7 +43,7 @@ export class Header {
43
43
 
44
44
  `title()` and the pipe update on the click and the page's direction flips with the
45
45
  language — nothing else is wired by hand. The same app under
46
- [`projects/i18n-e2e/src/app`](https://github.com/abdelfattahqandil21-oss/Revinia/tree/main/projects/i18n-e2e/src/app)
46
+ [`projects/i18n/testing/app/src`](https://github.com/abdelfattahqandil21-oss/Revinia/tree/i18n/v1.0.0-rc.4/projects/i18n/testing/app/src)
47
47
  is what the Playwright suites drive: `npx ng build i18n-e2e` runs it locally.
48
48
 
49
49
  ## Why `@rivinia/i18n`
@@ -129,7 +129,7 @@ so an app that never runs `ng add` does not install it). Optional, for the picke
129
129
 
130
130
  The two are independent: the UI entry points import core **types** only, and the core
131
131
  never imports them. Every UI export is Experimental; the tiers are in the
132
- [API reference](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/api.md#api-stability).
132
+ [API reference](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/api.md#api-stability).
133
133
 
134
134
  ## Compatibility
135
135
 
@@ -149,20 +149,20 @@ the `/select` entry only — optional, so an app that never imports
149
149
  `@rivinia/i18n/select` does not install it. The caret admits every select 1.x
150
150
  release, the rc and the final alike, and excludes a 2.0. The floor dates, the
151
151
  `@supports` gate and what has never been run (including real Safari) are in
152
- [browser support](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/browser-support.md).
152
+ [browser support](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/browser-support.md).
153
153
 
154
154
  ## Go further
155
155
 
156
156
  Three levels, kept as they were: everyday patterns first, then the complete
157
157
  surface ordered by API.
158
158
 
159
- | Tier | Read |
160
- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
161
- | Everyday use | [translating text](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/translating.md) · [switching the language](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/switching.md) · [dictionaries and SSR](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/dictionaries.md) |
162
- | Reference — behaviour | [ICU messages](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/icu.md) · [missing keys, fallback and failures](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/resilience.md) · [the CLI](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/cli.md) |
163
- | Reference — the surface | [the API](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/api.md) · [the language toggle](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/toggle.md) · [the language picker](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/i18n/select.md) |
164
- | Theming | [Rivinia theming](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/docs/theming.md) |
159
+ | Tier | Read |
160
+ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
161
+ | Everyday use | [translating text](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/translating.md) · [switching the language](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/switching.md) · [dictionaries and SSR](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/dictionaries.md) |
162
+ | Reference — behaviour | [ICU messages](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/icu.md) · [missing keys, fallback and failures](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/resilience.md) · [the CLI](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/cli.md) |
163
+ | Reference — the surface | [the API](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/api.md) · [the language toggle](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/toggle.md) · [the language picker](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/i18n/select.md) |
164
+ | Theming | [Rivinia theming](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/docs/theme/README.md) |
165
165
 
166
166
  Migration notes for each version live in
167
- [CHANGELOG.md](https://github.com/abdelfattahqandil21-oss/Revinia/blob/main/projects/i18n/CHANGELOG.md).
167
+ [CHANGELOG.md](https://github.com/abdelfattahqandil21-oss/Revinia/blob/i18n/v1.0.0-rc.4/projects/i18n/CHANGELOG.md).
168
168
  MIT licensed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivinia/i18n",
3
- "version": "1.0.0-rc.2",
3
+ "version": "1.0.0-rc.4",
4
4
  "description": "Headless Angular language manager: signals, RTL, SSR-safe loaders, fallback language, missing-key reporting, ICU plurals, typed keys.",
5
5
  "keywords": [
6
6
  "angular",