Skip to content

Commit a020761

Browse files
committed
v0.5.0 (#37)
* update version number * add changelog * publish via SillyFreak/typst-packages
1 parent b5aecbd commit a020761

File tree

6 files changed

+68
-4
lines changed

6 files changed

+68
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
# the repository to which to push the release version
88
# usually a fork of typst/packages (https://github.com/typst/packages/)
99
# that you have push privileges to
10-
REGISTRY_REPO: typst-community/packages
10+
REGISTRY_REPO: SillyFreak/packages
1111
# the path within that repo where the "<name>/<version>" directory should be put
1212
# for the Typst package registry, keep this as is
1313
PATH_PREFIX: packages/preview

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
<details>
11+
<summary>Migration guide from v0.1.x</summary>
12+
13+
<!-- Write migration guide here -->
14+
15+
</details>
16+
17+
### Added
18+
19+
### Changed
20+
21+
### Deprecated
22+
23+
### Removed
24+
25+
### Fixed
26+
27+
### Security
28+
29+
## [0.5.0] - 2025-12-15
30+
31+
<details>
32+
<summary>Migration guide from v0.4.x</summary>
33+
34+
The following identifiers have been renamed and need to be changed in your source code:
35+
36+
- `load_ftl_data` --> `load-ftl-data`
37+
- `data_type` key in database `toml` files --> `data-type`
38+
- `lflib.get_text` --> `lflib.get-text`
39+
- `lflib.fluent.get_message` --> `lflib.fluent.get-message`
40+
41+
(there should be no need to use `lflib` directly, so the first two should be enough)
42+
43+
<!-- Write migration guide here -->
44+
45+
</details>
46+
47+
### Added
48+
49+
- Add `database-at()` that allows one to use a database that is active in another part of the document.
50+
This is mainly for outlines, where you may want to use the database used for the heading, instead of the one active at the outline.
51+
- Add `linguify-raw()` which requires external `context` and thus returns non-opaque results.
52+
This can _also_ be used for outlines, but also enables a bunch of other use cases that require inspecting translated text.
53+
54+
### Changed
55+
56+
- **BREAKING:** identifiers now use kebab-case consistently; see the migration guide for a list
57+
58+
### Fixed
59+
60+
- discrepancies between manual and implementation have been fixed
61+
62+
63+
[Unreleased]: https://github.com/SillyFreak/typst-alexandria/compare/v0.5.0...HEAD
64+
[0.5.0]: https://github.com/SillyFreak/typst-alexandria/releases/tag/v0.5.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can use linguify global database.
1212

1313
Example:
1414
```typst
15-
#import "@preview/linguify:0.4.2": *
15+
#import "@preview/linguify:0.5.0": *
1616
1717
#let lang-data = toml("lang.toml")
1818
#set-database(lang-data)

docs/docs.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Since embedding one file inside another is not optimal for things like IDE suppo
183183

184184
```typc
185185
// my-document.typ
186-
#import "@preview/linguify:0.4.2": *
186+
#import "@preview/linguify:0.5.0": *
187187
// Define the languages you have files for.
188188
#set-database(eval(load-ftl-data("./l10n", ("en", "de"))))
189189
```

manual.pdf

-125 Bytes
Binary file not shown.

typst.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "linguify"
5-
version = "0.4.2"
5+
version = "0.5.0"
66
entrypoint = "src/lib.typ"
77
authors = [
88
"Jomaway <https://github.com/jomaway>",

0 commit comments

Comments
 (0)