Skip to content

Commit be599b1

Browse files
authored
Merge pull request #48 from kurtmckee/releases
Merge back to `main`
2 parents daf7622 + 6d00552 commit be599b1

8 files changed

+32
-26
lines changed

CHANGELOG.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,33 @@ Please see the fragment files in the `changelog.d directory`_.
1515

1616
.. scriv-insert-here
1717
18+
.. _changelog-2.3.0:
19+
20+
2.3.0 - 2025-02-26
21+
==================
22+
23+
Python support
24+
--------------
25+
26+
* Support Python 3.13.
27+
* Drop support for Python 3.8.
28+
29+
Added
30+
-----
31+
32+
* Support zstandard compression.
33+
* Add package extras to select compression algorithms.
34+
35+
The extras are named after each compression algorithm:
36+
``brotli``, ``zstandard``, and ``zopfli``.
37+
38+
Development
39+
-----------
40+
41+
* Use scriv to manage the CHANGELOG.
42+
* Add a workflow to prep release PRs.
43+
* Migrate to PEP 621 project metadata.
44+
1845
2.2.0 - 2023-05-22
1946
==================
2047

changelog.d/20240916_082428_kurtmckee_unreleased_changes.rst

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

changelog.d/20240916_083834_kurtmckee_use_scriv.rst

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

changelog.d/20250226_040638_kurtmckee_updates.rst

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

changelog.d/20250226_051824_kurtmckee_zstd.rst

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

changelog.d/20250226_082313_kurtmckee_zstd.rst

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pelican_precompress"
3-
version = "2.2.0"
3+
version = "2.3.0"
44
description = "Pre-compress your Pelican site using gzip, brotli, zstandard, and zopfli!"
55
authors = [
66
{ name = "Kurt McKee", email = "[email protected]" },

tests/test_pelican_precompress.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def test_compress_files_never_overwrite(fs, multiprocessing):
258258
"PRECOMPRESS_BROTLI": False,
259259
"PRECOMPRESS_GZIP": True,
260260
"PRECOMPRESS_ZOPFLI": False,
261+
"PRECOMPRESS_ZSTANDARD": False,
261262
}
262263
with patch("pelican.plugins.precompress.log", Mock()) as log:
263264
pp.compress_files(instance)
@@ -279,6 +280,7 @@ def test_compress_files_skip_existing_matching_files(fs, multiprocessing):
279280
"PRECOMPRESS_BROTLI": False,
280281
"PRECOMPRESS_GZIP": True,
281282
"PRECOMPRESS_ZOPFLI": False,
283+
"PRECOMPRESS_ZSTANDARD": False,
282284
"PRECOMPRESS_OVERWRITE": True,
283285
}
284286
with patch("pelican.plugins.precompress.log", Mock()) as log:
@@ -302,6 +304,7 @@ def test_compress_files_overwrite_br(fs, multiprocessing):
302304
"PRECOMPRESS_BROTLI": True,
303305
"PRECOMPRESS_GZIP": False,
304306
"PRECOMPRESS_ZOPFLI": False,
307+
"PRECOMPRESS_ZSTANDARD": False,
305308
}
306309
with patch("pelican.plugins.precompress.log", Mock()) as log:
307310
pp.compress_files(instance)
@@ -322,6 +325,7 @@ def test_compress_files_overwrite_gz(fs, multiprocessing):
322325
"PRECOMPRESS_BROTLI": False,
323326
"PRECOMPRESS_GZIP": True,
324327
"PRECOMPRESS_ZOPFLI": False,
328+
"PRECOMPRESS_ZSTANDARD": False,
325329
}
326330
with patch("pelican.plugins.precompress.log", Mock()) as log:
327331
pp.compress_files(instance)

0 commit comments

Comments
 (0)