You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
- New `creator.Creator.convert_and_check_metadata` to convert metadata to bytes or str for known use cases and check proper type is passed to libzim
20
20
- Add svg2png image conversion function #113
21
21
- Add `conversion.convert_svg2png` image conversion function + support for SVG in `probing.format_for`#113
22
+
- Add `i18n.Lang` class used as typed result of i18n operations #151
22
23
23
24
## Changed
24
25
@@ -31,6 +32,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
31
32
-**BREAKING**`creator.Creator.add_metadata` and `creator.Creator.validate_metadata` now only accepts `bytes | str` as value (it must have been converted before call)
32
33
-**BREAKING** second argument of `creator.Creator.add_metadata` has been renamed to `value` instead of `content` to align with other methods
33
34
- When a type issue arises in metadata checks, wrong value type is displayed in exception
35
+
-**BREAKING**`i18n.get_language_details()`, `i18n.get_iso_lang_data()`, `i18n.find_language_names()` and `i18n.update_with_macro` now process / return a new typed `Lang` class #151
36
+
-**BREAKING** Rename `i18.NotFound` to `i18n.NotFoundError`
0 commit comments