Skip to content

Commit 2c660b8

Browse files
authored
Release/0.14.0 (#111)
* Bumping version: 0.13.0 → 0.14.0 * Update documentation
1 parent ac92088 commit 2c660b8

60 files changed

Lines changed: 1296 additions & 144 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.rst

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,61 @@ Changes for the upcoming release can be found in the
2121

2222
.. towncrier release notes start
2323
24+
Version 0.14.0
25+
==============
26+
27+
Bug Fixes
28+
---------
29+
30+
- Fixes incorrect jing command arguments in validate_rng function. (:gh:`80`)
31+
- Fixed a bug where `INFO` and `DEBUG` level logs were not written to the log file. The logging system is now non-blocking and fully configurable via `pyproject.toml`. (:gh:`83`)
32+
- Fix regression in lock files (:gh:`93`)
33+
- GHA: Test for different Python versions (3.12 and 3.13) (:gh:`94`)
34+
- The application now features comprehensive validation for the Environment Configuration (`env.toml`) using Pydantic. This ensures all configuration files strictly adhere to the required schema, enforcing correct data types for fields (for example, paths, URLs, network addresses) and immediately catching errors like missing keys or incorrect values. This change stabilizes the configuration loading process and eliminates runtime errors caused by misconfigured environments. (:gh:`101`)
35+
- Fix case sensitivity in :class:`~docbuild.models.repo.Repo` handling.
36+
37+
Previously, the model treated URLs with different casing (e.g., ``github.com``
38+
vs ``GitHub.com``) as unequal. This commit normalizes URLs to ensure that
39+
casing differences do not result in duplicate or distinct records for the
40+
same repository. (:gh:`107`)
41+
42+
43+
Improved Documentation
44+
----------------------
45+
46+
- Explain project overview of files and directories (:gh:`74`)
47+
- Add new examples to improves the documentation for the docbuild build command. (:gh:`81`)
48+
49+
50+
Features
51+
--------
52+
53+
- Display current Python version when calling :command:`docbuild --version` (:gh:`70`)
54+
- Support additional RNG validation with lxml. This provides an alternative when jing is not available or preferred. (:gh:`79`)
55+
- Implemented concurrency control to prevent multiple `docbuild` instances from running simultaneously using the same environment configuration file. (:gh:`89`)
56+
- Implemented strict Pydantic validation for the Application Configuration (AppConfig), including a precise, nested schema for all logging parameters (formatters, handlers, loggers). This prevents runtime errors due to configuration typos and ensures data integrity at startup. (:gh:`91`)
57+
- Centralize Git and shell operations for better code reuse across modules (:gh:`99`)
58+
59+
60+
Infrastructure
61+
--------------
62+
63+
- Added macOS to the test CI workflow. (:gh:`76`)
64+
- Added a check to the release workflow to ensure the branch version matches the code's __version__ string. (:gh:`86`)
65+
- Aligned the 'uv' setup in the CI workflow for macOS and Ubuntu to ensure consistent and reliable dependency management across platforms. This resolves a 'docker: command not found' error on the macOS runner. (:gh:`87`)
66+
67+
68+
Code Refactoring
69+
----------------
70+
71+
- Refactor :class:`~docbuild.models.lifecycle.LifecycleFlag`.
72+
Dynamically created class didn't work well with VSCode and
73+
attribute access. (:gh:`53`)
74+
- Rename cli command test directories to make it consistent with the
75+
:file:`src/docbuild/cli` directory. (:gh:`73`)
76+
- Refactored the :class:`~docbuild.models.language.LanguageCode` model to be more idiomatic to Pydantic by removing a custom ``__init__`` initializer and using a :meth:`~docbuild.models.language.LanguageCode.model_validator` method for string parsing. (:gh:`85`)
77+
78+
2479
Version 0.13.0
2580
==============
2681

changelog.d/101.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/107.bugfix.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

changelog.d/53.refactor.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/70.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/73.refactor.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog.d/74.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/76.infra.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/79.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/80.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)