From fd5f0ff3f0f5be01113d422d7f250d5c1e8183d3 Mon Sep 17 00:00:00 2001 From: David Seddon Date: Mon, 23 Sep 2024 17:29:09 +0100 Subject: [PATCH 1/2] Update CHANGELOG --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 013564f..a20b9a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +- Changed error handling during `Bundle` instantiation. Now message errors will be ignored by default, overrideable + by a new `strict` parameter. In this mode, a `ParserError` will be raised instead of a `ValueError` as before. +- Renamed the `namespace` argument to `language`. +- Fluent message variables are now no longer passed to `get_translation` using `**kwargs`; instead a `variables` + parameter is used. + ## [0.1.0a1] - 2024-09-13 - Added initial implementation. From 364723cc95c2820726396ba75b16d4cc08f42393 Mon Sep 17 00:00:00 2001 From: David Seddon Date: Mon, 23 Sep 2024 17:21:24 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Bump=20version:=200.1.0a1=20=E2=86=92=200.1?= =?UTF-8?q?.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a20b9a5..98b1b44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.1.0a2] - 2024-09-23 - Changed error handling during `Bundle` instantiation. Now message errors will be ignored by default, overrideable by a new `strict` parameter. In this mode, a `ParserError` will be raised instead of a `ValueError` as before. diff --git a/pyproject.toml b/pyproject.toml index dfa5c67..0b9154d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ classifiers = [ ] # Do not manually edit the version, use `make version_{type}` instead. # This should match the version in the [tool.bumpversion] section. -version = "0.1.0a1" +version = "0.1.0a2" dependencies = [] [project.urls] @@ -133,7 +133,7 @@ filterwarnings = "error" [tool.bumpversion] # Do not manually edit the version, use `make version_{type}` instead. # This should match the version in the [project] section. -current_version = "0.1.0a1" +current_version = "0.1.0a2" parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" serialize = ["{major}.{minor}.{patch}"] search = "{current_version}"