| 1 |
========= |
| 2 |
Changelog |
| 3 |
========= |
| 4 |
|
| 5 |
.. |
| 6 |
You should *NOT* be adding new change log entries to this file, this |
| 7 |
file is managed by towncrier. You *may* edit previous change logs to |
| 8 |
fix problems like typo corrections or such. |
| 9 |
To add a new change log entry, please see |
| 10 |
https://pip.pypa.io/en/latest/development/contributing/#news-entries |
| 11 |
we named the news folder "changes". |
| 12 |
|
| 13 |
WARNING: Don't drop the next directive! |
| 14 |
|
| 15 |
.. towncrier release notes start |
| 16 |
|
| 17 |
v1.8.0 |
| 18 |
====== |
| 19 |
|
| 20 |
*(2025-10-05)* |
| 21 |
|
| 22 |
|
| 23 |
Contributor-facing changes |
| 24 |
-------------------------- |
| 25 |
|
| 26 |
- The :file:`reusable-cibuildwheel.yml` workflow has been refactored to |
| 27 |
be more generic and :file:`ci-cd.yml` now holds all the configuration |
| 28 |
toggles -- by :user:`webknjaz`. |
| 29 |
|
| 30 |
*Related issues and pull requests on GitHub:* |
| 31 |
:issue:`668`. |
| 32 |
|
| 33 |
- When building wheels, the source distribution is now passed directly |
| 34 |
to the ``cibuildwheel`` invocation -- by :user:`webknjaz`. |
| 35 |
|
| 36 |
*Related issues and pull requests on GitHub:* |
| 37 |
:issue:`669`. |
| 38 |
|
| 39 |
- Builds and tests have been added to |
| 40 |
``ci-cd.yml`` for arm64 Windows wheels -- by :user:`finnagin`. |
| 41 |
|
| 42 |
*Related issues and pull requests on GitHub:* |
| 43 |
:issue:`677`. |
| 44 |
|
| 45 |
- Started building wheels for CPython 3.14 -- by :user:`kumaraditya303`. |
| 46 |
|
| 47 |
*Related issues and pull requests on GitHub:* |
| 48 |
:issue:`681`, :issue:`682`. |
| 49 |
|
| 50 |
- Removed ``--config-settings=pure-python=false`` from :file:`requirements/dev.txt`. |
| 51 |
Developers on CPython still get accelerated builds by default. To explicitly build |
| 52 |
a pure Python wheel, use ``pip install -e . --config-settings=pure-python=true`` |
| 53 |
-- by :user:`bdraco`. |
| 54 |
|
| 55 |
*Related issues and pull requests on GitHub:* |
| 56 |
:issue:`687`. |
| 57 |
|
| 58 |
|
| 59 |
---- |
| 60 |
|
| 61 |
|
| 62 |
v1.7.0 |
| 63 |
====== |
| 64 |
|
| 65 |
*(2025-06-09)* |
| 66 |
|
| 67 |
|
| 68 |
Features |
| 69 |
-------- |
| 70 |
|
| 71 |
- Added deepcopy support to FrozenList -- by :user:`bdraco`. |
| 72 |
|
| 73 |
*Related issues and pull requests on GitHub:* |
| 74 |
:issue:`659`. |
| 75 |
|
| 76 |
|
| 77 |
Packaging updates and notes for downstreams |
| 78 |
------------------------------------------- |
| 79 |
|
| 80 |
- Fixed an issue where ``frozenlist`` binary wheels would be built with debugging symbols and line tracing enabled, which significantly impacted performance. Line tracing is now disabled by default and can only be enabled explicitly -- by :user:`bdraco`. |
| 81 |
|
| 82 |
This change ensures that production builds are optimized for performance. Developers who need line tracing for debugging purposes can still enable it by: |
| 83 |
|
| 84 |
1. Setting the ``FROZENLIST_CYTHON_TRACING`` environment variable |
| 85 |
2. Using the ``--config-setting=with-cython-tracing=true`` option with pip |
| 86 |
|
| 87 |
*Related issues and pull requests on GitHub:* |
| 88 |
:issue:`660`. |
| 89 |
|
| 90 |
- Enabled ``PIP_CONSTRAINT`` environment variable in the build configuration to ensure the pinned Cython version from ``requirements/cython.txt`` is used during wheel builds. |
| 91 |
|
| 92 |
*Related issues and pull requests on GitHub:* |
| 93 |
:issue:`661`. |
| 94 |
|
| 95 |
|
| 96 |
---- |
| 97 |
|
| 98 |
|
| 99 |
v1.6.2 |
| 100 |
====== |
| 101 |
|
| 102 |
*(2025-06-03)* |
| 103 |
|
| 104 |
|
| 105 |
No significant changes. |
| 106 |
|
| 107 |
|
| 108 |
---- |
| 109 |
|
| 110 |
|
| 111 |
v1.6.1 |
| 112 |
====== |
| 113 |
|
| 114 |
*(2025-06-02)* |
| 115 |
|
| 116 |
|
| 117 |
Bug fixes |
| 118 |
--------- |
| 119 |
|
| 120 |
- Correctly use ``cimport`` for including ``PyBool_FromLong`` -- by :user:`lysnikolaou`. |
| 121 |
|
| 122 |
*Related issues and pull requests on GitHub:* |
| 123 |
:issue:`653`. |
| 124 |
|
| 125 |
|
| 126 |
Packaging updates and notes for downstreams |
| 127 |
------------------------------------------- |
| 128 |
|
| 129 |
- Exclude ``_frozenlist.cpp`` from bdists/wheels -- by :user:`musicinmybrain`. |
| 130 |
|
| 131 |
*Related issues and pull requests on GitHub:* |
| 132 |
:issue:`649`. |
| 133 |
|
| 134 |
- Updated to use Cython 3.1 universally across the build path -- by :user:`lysnikolaou`. |
| 135 |
|
| 136 |
*Related issues and pull requests on GitHub:* |
| 137 |
:issue:`654`. |
| 138 |
|
| 139 |
|
| 140 |
---- |
| 141 |
|
| 142 |
|
| 143 |
v1.6.0 |
| 144 |
====== |
| 145 |
|
| 146 |
*(2025-04-17)* |
| 147 |
|
| 148 |
|
| 149 |
Bug fixes |
| 150 |
--------- |
| 151 |
|
| 152 |
- Stopped implicitly allowing the use of Cython pre-release versions when |
| 153 |
building the distribution package -- by :user:`ajsanchezsanz` and |
| 154 |
:user:`markgreene74`. |
| 155 |
|
| 156 |
*Related commits on GitHub:* |
| 157 |
:commit:`41591f2`. |
| 158 |
|
| 159 |
|
| 160 |
Features |
| 161 |
-------- |
| 162 |
|
| 163 |
- Implemented support for the free-threaded build of CPython 3.13 -- by :user:`lysnikolaou`. |
| 164 |
|
| 165 |
*Related issues and pull requests on GitHub:* |
| 166 |
:issue:`618`. |
| 167 |
|
| 168 |
- Started building armv7l wheels -- by :user:`bdraco`. |
| 169 |
|
| 170 |
*Related issues and pull requests on GitHub:* |
| 171 |
:issue:`642`. |
| 172 |
|
| 173 |
|
| 174 |
Packaging updates and notes for downstreams |
| 175 |
------------------------------------------- |
| 176 |
|
| 177 |
- Stopped implicitly allowing the use of Cython pre-release versions when |
| 178 |
building the distribution package -- by :user:`ajsanchezsanz` and |
| 179 |
:user:`markgreene74`. |
| 180 |
|
| 181 |
*Related commits on GitHub:* |
| 182 |
:commit:`41591f2`. |
| 183 |
|
| 184 |
- Started building wheels for the free-threaded build of CPython 3.13 -- by :user:`lysnikolaou`. |
| 185 |
|
| 186 |
*Related issues and pull requests on GitHub:* |
| 187 |
:issue:`618`. |
| 188 |
|
| 189 |
- The packaging metadata switched to including an SPDX license identifier introduced in :pep:`639` -- by :user:`cdce8p`. |
| 190 |
|
| 191 |
*Related issues and pull requests on GitHub:* |
| 192 |
:issue:`639`. |
| 193 |
|
| 194 |
|
| 195 |
Contributor-facing changes |
| 196 |
-------------------------- |
| 197 |
|
| 198 |
- GitHub Actions CI/CD is now configured to manage caching pip-ecosystem |
| 199 |
dependencies using `re-actors/cache-python-deps`_ -- an action by |
| 200 |
:user:`webknjaz` that takes into account ABI stability and the exact |
| 201 |
version of Python runtime. |
| 202 |
|
| 203 |
.. _`re-actors/cache-python-deps`: |
| 204 |
https://github.com/marketplace/actions/cache-python-deps |
| 205 |
|
| 206 |
*Related issues and pull requests on GitHub:* |
| 207 |
:issue:`633`. |
| 208 |
|
| 209 |
- Organized dependencies into test and lint dependencies so that no |
| 210 |
unnecessary ones are installed during CI runs -- by :user:`lysnikolaou`. |
| 211 |
|
| 212 |
*Related issues and pull requests on GitHub:* |
| 213 |
:issue:`636`. |
| 214 |
|
| 215 |
|
| 216 |
---- |
| 217 |
|
| 218 |
|
| 219 |
1.5.0 (2024-10-22) |
| 220 |
================== |
| 221 |
|
| 222 |
Bug fixes |
| 223 |
--------- |
| 224 |
|
| 225 |
- An incorrect signature of the ``__class_getitem__`` class method |
| 226 |
has been fixed, adding a missing ``class_item`` argument under |
| 227 |
Python 3.8 and older. |
| 228 |
|
| 229 |
This change also improves the code coverage of this method that |
| 230 |
was previously missing -- by :user:`webknjaz`. |
| 231 |
|
| 232 |
|
| 233 |
*Related issues and pull requests on GitHub:* |
| 234 |
:issue:`567`, :issue:`571`. |
| 235 |
|
| 236 |
|
| 237 |
Improved documentation |
| 238 |
---------------------- |
| 239 |
|
| 240 |
- Rendered issue, PR, and commit links now lead to |
| 241 |
``frozenlist``'s repo instead of ``yarl``'s repo. |
| 242 |
|
| 243 |
|
| 244 |
*Related issues and pull requests on GitHub:* |
| 245 |
:issue:`573`. |
| 246 |
|
| 247 |
- On the :doc:`Contributing docs <contributing/guidelines>` page, |
| 248 |
a link to the ``Towncrier philosophy`` has been fixed. |
| 249 |
|
| 250 |
|
| 251 |
*Related issues and pull requests on GitHub:* |
| 252 |
:issue:`574`. |
| 253 |
|
| 254 |
|
| 255 |
Packaging updates and notes for downstreams |
| 256 |
------------------------------------------- |
| 257 |
|
| 258 |
- A name of a temporary building directory now reflects |
| 259 |
that it's related to ``frozenlist``, not ``yarl``. |
| 260 |
|
| 261 |
|
| 262 |
*Related issues and pull requests on GitHub:* |
| 263 |
:issue:`573`. |
| 264 |
|
| 265 |
- Declared Python 3.13 supported officially in the distribution package metadata. |
| 266 |
|
| 267 |
|
| 268 |
*Related issues and pull requests on GitHub:* |
| 269 |
:issue:`595`. |
| 270 |
|
| 271 |
|
| 272 |
---- |
| 273 |
|
| 274 |
|
| 275 |
1.4.1 (2023-12-15) |
| 276 |
================== |
| 277 |
|
| 278 |
Packaging updates and notes for downstreams |
| 279 |
------------------------------------------- |
| 280 |
|
| 281 |
- Declared Python 3.12 and PyPy 3.8-3.10 supported officially |
| 282 |
in the distribution package metadata. |
| 283 |
|
| 284 |
|
| 285 |
*Related issues and pull requests on GitHub:* |
| 286 |
:issue:`553`. |
| 287 |
|
| 288 |
- Replaced the packaging is replaced from an old-fashioned :file:`setup.py` to an |
| 289 |
in-tree :pep:`517` build backend -- by :user:`webknjaz`. |
| 290 |
|
| 291 |
Whenever the end-users or downstream packagers need to build ``frozenlist`` |
| 292 |
from source (a Git checkout or an sdist), they may pass a ``config_settings`` |
| 293 |
flag ``pure-python``. If this flag is not set, a C-extension will be built |
| 294 |
and included into the distribution. |
| 295 |
|
| 296 |
Here is how this can be done with ``pip``: |
| 297 |
|
| 298 |
.. code-block:: console |
| 299 |
|
| 300 |
$ python3 -m pip install . --config-settings=pure-python= |
| 301 |
|
| 302 |
This will also work with ``-e | --editable``. |
| 303 |
|
| 304 |
The same can be achieved via ``pypa/build``: |
| 305 |
|
| 306 |
.. code-block:: console |
| 307 |
|
| 308 |
$ python3 -m build --config-setting=pure-python= |
| 309 |
|
| 310 |
Adding ``-w | --wheel`` can force ``pypa/build`` produce a wheel from source |
| 311 |
directly, as opposed to building an ``sdist`` and then building from it. |
| 312 |
|
| 313 |
|
| 314 |
*Related issues and pull requests on GitHub:* |
| 315 |
:issue:`560`. |
| 316 |
|
| 317 |
|
| 318 |
Contributor-facing changes |
| 319 |
-------------------------- |
| 320 |
|
| 321 |
- It is now possible to request line tracing in Cython builds using the |
| 322 |
``with-cython-tracing`` :pep:`517` config setting |
| 323 |
-- :user:`webknjaz`. |
| 324 |
|
| 325 |
This can be used in CI and development environment to measure coverage |
| 326 |
on Cython modules, but is not normally useful to the end-users or |
| 327 |
downstream packagers. |
| 328 |
|
| 329 |
Here's a usage example: |
| 330 |
|
| 331 |
.. code-block:: console |
| 332 |
|
| 333 |
$ python3 -Im pip install . --config-settings=with-cython-tracing=true |
| 334 |
|
| 335 |
For editable installs, this setting is on by default. Otherwise, it's |
| 336 |
off unless requested explicitly. |
| 337 |
|
| 338 |
The following produces C-files required for the Cython coverage |
| 339 |
plugin to map the measurements back to the PYX-files: |
| 340 |
|
| 341 |
.. code-block:: console |
| 342 |
|
| 343 |
$ python -Im pip install -e . |
| 344 |
|
| 345 |
Alternatively, the ``FROZENLIST_CYTHON_TRACING=1`` environment variable |
| 346 |
can be set to do the same as the :pep:`517` config setting. |
| 347 |
|
| 348 |
|
| 349 |
*Related issues and pull requests on GitHub:* |
| 350 |
:issue:`560`. |
| 351 |
|
| 352 |
- Coverage collection has been implemented for the Cython modules |
| 353 |
-- by :user:`webknjaz`. |
| 354 |
|
| 355 |
It will also be reported to Codecov from any non-release CI jobs. |
| 356 |
|
| 357 |
|
| 358 |
*Related issues and pull requests on GitHub:* |
| 359 |
:issue:`561`. |
| 360 |
|
| 361 |
- A step-by-step :doc:`Release Guide <contributing/release_guide>` guide has |
| 362 |
been added, describing how to release *frozenlist* -- by :user:`webknjaz`. |
| 363 |
|
| 364 |
This is primarily targeting the maintainers. |
| 365 |
|
| 366 |
|
| 367 |
*Related issues and pull requests on GitHub:* |
| 368 |
:issue:`563`. |
| 369 |
|
| 370 |
- Detailed :doc:`Contributing Guidelines <contributing/guidelines>` on |
| 371 |
authoring the changelog fragments have been published in the |
| 372 |
documentation -- by :user:`webknjaz`. |
| 373 |
|
| 374 |
|
| 375 |
*Related issues and pull requests on GitHub:* |
| 376 |
:issue:`564`. |
| 377 |
|
| 378 |
|
| 379 |
---- |
| 380 |
|
| 381 |
|
| 382 |
1.4.0 (2023-07-12) |
| 383 |
================== |
| 384 |
|
| 385 |
The published source distribution package became buildable |
| 386 |
under Python 3.12. |
| 387 |
|
| 388 |
|
| 389 |
---- |
| 390 |
|
| 391 |
|
| 392 |
Bugfixes |
| 393 |
-------- |
| 394 |
|
| 395 |
- Removed an unused :py:data:`typing.Tuple` import |
| 396 |
`#411 <https://github.com/aio-libs/frozenlist/issues/411>`_ |
| 397 |
|
| 398 |
|
| 399 |
Deprecations and Removals |
| 400 |
------------------------- |
| 401 |
|
| 402 |
- Dropped Python 3.7 support. |
| 403 |
`#413 <https://github.com/aio-libs/frozenlist/issues/413>`_ |
| 404 |
|
| 405 |
|
| 406 |
Misc |
| 407 |
---- |
| 408 |
|
| 409 |
- `#410 <https://github.com/aio-libs/frozenlist/issues/410>`_, `#433 <https://github.com/aio-libs/frozenlist/issues/433>`_ |
| 410 |
|
| 411 |
|
| 412 |
---- |
| 413 |
|
| 414 |
|
| 415 |
1.3.3 (2022-11-08) |
| 416 |
================== |
| 417 |
|
| 418 |
- Fixed CI runs when creating a new release, where new towncrier versions |
| 419 |
fail when the current version section is already present. |
| 420 |
|
| 421 |
|
| 422 |
---- |
| 423 |
|
| 424 |
|
| 425 |
1.3.2 (2022-11-08) |
| 426 |
================== |
| 427 |
|
| 428 |
Misc |
| 429 |
---- |
| 430 |
|
| 431 |
- Updated the CI runs to better check for test results and to avoid deprecated syntax. `#327 <https://github.com/aio-libs/frozenlist/issues/327>`_ |
| 432 |
|
| 433 |
|
| 434 |
---- |
| 435 |
|
| 436 |
|
| 437 |
1.3.1 (2022-08-02) |
| 438 |
================== |
| 439 |
|
| 440 |
The published source distribution package became buildable |
| 441 |
under Python 3.11. |
| 442 |
|
| 443 |
|
| 444 |
---- |
| 445 |
|
| 446 |
|
| 447 |
1.3.0 (2022-01-18) |
| 448 |
================== |
| 449 |
|
| 450 |
Bugfixes |
| 451 |
-------- |
| 452 |
|
| 453 |
- Do not install C sources with binary distributions. |
| 454 |
`#250 <https://github.com/aio-libs/frozenlist/issues/250>`_ |
| 455 |
|
| 456 |
|
| 457 |
Deprecations and Removals |
| 458 |
------------------------- |
| 459 |
|
| 460 |
- Dropped Python 3.6 support |
| 461 |
`#274 <https://github.com/aio-libs/frozenlist/issues/274>`_ |
| 462 |
|
| 463 |
|
| 464 |
---- |
| 465 |
|
| 466 |
|
| 467 |
1.2.0 (2021-10-16) |
| 468 |
================== |
| 469 |
|
| 470 |
Features |
| 471 |
-------- |
| 472 |
|
| 473 |
- ``FrozenList`` now supports being used as a generic type as per PEP 585, e.g. ``frozen_int_list: FrozenList[int]`` (requires Python 3.9 or newer). |
| 474 |
`#172 <https://github.com/aio-libs/frozenlist/issues/172>`_ |
| 475 |
- Added support for Python 3.10. |
| 476 |
`#227 <https://github.com/aio-libs/frozenlist/issues/227>`_ |
| 477 |
- Started shipping platform-specific wheels with the ``musl`` tag targeting typical Alpine Linux runtimes. |
| 478 |
`#227 <https://github.com/aio-libs/frozenlist/issues/227>`_ |
| 479 |
- Started shipping platform-specific arm64 wheels for Apple Silicon. |
| 480 |
`#227 <https://github.com/aio-libs/frozenlist/issues/227>`_ |
| 481 |
|
| 482 |
|
| 483 |
---- |
| 484 |
|
| 485 |
|
| 486 |
1.1.1 (2020-11-14) |
| 487 |
================== |
| 488 |
|
| 489 |
Bugfixes |
| 490 |
-------- |
| 491 |
|
| 492 |
- Provide x86 Windows wheels. |
| 493 |
`#169 <https://github.com/aio-libs/frozenlist/issues/169>`_ |
| 494 |
|
| 495 |
|
| 496 |
---- |
| 497 |
|
| 498 |
|
| 499 |
1.1.0 (2020-10-13) |
| 500 |
================== |
| 501 |
|
| 502 |
Features |
| 503 |
-------- |
| 504 |
|
| 505 |
- Add support for hashing of a frozen list. |
| 506 |
`#136 <https://github.com/aio-libs/frozenlist/issues/136>`_ |
| 507 |
|
| 508 |
- Support Python 3.8 and 3.9. |
| 509 |
|
| 510 |
- Provide wheels for ``aarch64``, ``i686``, ``ppc64le``, ``s390x`` architectures on |
| 511 |
Linux as well as ``x86_64``. |
| 512 |
|
| 513 |
|
| 514 |
---- |
| 515 |
|
| 516 |
|
| 517 |
1.0.0 (2019-11-09) |
| 518 |
================== |
| 519 |
|
| 520 |
Deprecations and Removals |
| 521 |
------------------------- |
| 522 |
|
| 523 |
- Dropped support for Python 3.5; only 3.6, 3.7 and 3.8 are supported going forward. |
| 524 |
`#24 <https://github.com/aio-libs/frozenlist/issues/24>`_ |