@@ -14,6 +14,139 @@ Changelog
1414
1515.. towncrier release notes start
1616
17+ v1.22.1.dev0
18+ ============
19+
20+ *(2025-12-16) *
21+
22+
23+ Features
24+ --------
25+
26+ - Added support for ``pydantic ``, the :class: `~yarl.URL ` could be used as a
27+ field type in ``pydantic `` models seamlessly.
28+
29+ *Related issues and pull requests on GitHub: *
30+ :issue: `1607 `.
31+
32+
33+ Packaging updates and notes for downstreams
34+ -------------------------------------------
35+
36+ - The CI has been set up to notify Codecov about upload completion
37+ -- by :user: `webknjaz `.
38+
39+ With this, Codecov no longer needs to guess whether it received all
40+ the intended coverage reports or not.
41+
42+ *Related issues and pull requests on GitHub: *
43+ :issue: `1577 `.
44+
45+ - The in-tree build backend allows the end-users appending
46+ ``CFLAGS `` and ``LDFLAGS `` by setting respective environment
47+ variables externally.
48+
49+ It additionally sets up default compiler flags to perform
50+ building with maximum optimization in release mode. This
51+ makes the resulting artifacts shipped to PyPI smaller.
52+
53+ When line tracing is requested, the compiler and linker
54+ flags are configured to include as much information as
55+ possible for debugging and coverage tracking. The
56+ development builds are therefore smaller.
57+
58+ -- by :user: `webknjaz `
59+
60+ *Related issues and pull requests on GitHub: *
61+ :issue: `1586 `.
62+
63+ - The :pep: `517 ` build backend now supports a new config
64+ setting for controlling whether to build the project in-tree
65+ or in a temporary directory. It only affects wheels and is
66+ set up to build in a temporary directory by default. It does
67+ not affect editable wheel builds — they will keep being
68+ built in-tree regardless.
69+
70+ -- by :user: `webknjaz `
71+
72+ Here's an example of using this setting:
73+
74+ .. code-block :: console
75+
76+ $ python -m build \
77+ --config-setting=build-inplace=true
78+
79+ *Related issues and pull requests on GitHub: *
80+ :issue: `1590 `.
81+
82+ - Starting this version, when building the wheels is happening
83+ in an automatically created temporary directory, the build
84+ backend makes an effort to normalize the respective file
85+ system path to a deterministic source checkout directory.
86+
87+ -- by :user: `webknjaz `
88+
89+ It does so by injecting the ``-ffile-prefix-map `` compiler
90+ option into the ``CFLAGS `` environment variable as suggested
91+ by known `reproducible build practices
92+ <https://reproducible-builds.org/docs/build-path/> `__.
93+
94+ The effect is that downstreams will get more reproducible
95+ build results.
96+
97+ *Related issues and pull requests on GitHub: *
98+ :issue: `1591 `.
99+
100+ - Dropped Python 3.9 support; Python 3.10 is the minimal supported Python version
101+ -- by :user: `bdraco `.
102+
103+ *Related issues and pull requests on GitHub: *
104+ :issue: `1609 `.
105+
106+
107+ Contributor-facing changes
108+ --------------------------
109+
110+ - The deprecated license classifier was removed from :file: `setup.cfg `
111+ -- by :user: `yegorich `.
112+
113+ *Related issues and pull requests on GitHub: *
114+ :issue: `1550 `.
115+
116+ - The in-tree build backend allows the end-users appending
117+ ``CFLAGS `` and ``LDFLAGS `` by setting respective environment
118+ variables externally.
119+
120+ It additionally sets up default compiler flags to perform
121+ building with maximum optimization in release mode. This
122+ makes the resulting artifacts shipped to PyPI smaller.
123+
124+ When line tracing is requested, the compiler and linker
125+ flags are configured to include as much information as
126+ possible for debugging and coverage tracking. The
127+ development builds are therefore smaller.
128+
129+ -- by :user: `webknjaz `
130+
131+ *Related issues and pull requests on GitHub: *
132+ :issue: `1586 `.
133+
134+ - The CI has been updated to consistently benchmark optimized
135+ release builds -- by :user: `webknjaz `.
136+
137+ When the release workflow is triggered, the pre-built wheels
138+ ready to hit PyPI are being tested. Otherwise, the job
139+ builds the project from source, while the rest of the
140+ workflow uses debug builds for line tracing and coverage
141+ collection.
142+
143+ *Related issues and pull requests on GitHub: *
144+ :issue: `1587 `.
145+
146+
147+ ----
148+
149+
171501.22.0
18151======
19152
0 commit comments