From f505a52a38bb52023587ba1f3b34c3ed33fe354f Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Mon, 28 Oct 2024 11:20:21 -0700 Subject: [PATCH 1/2] CHANGELOG: add additional newlines between versions Signed-off-by: Benjamin Gilbert --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac7c22af..dfc8e194 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * examples: Default to ICC profile's default intent, not absolute colorimetric * tests: Correctly require pytest ≥ 7.0 + ## Version 1.3.0, 2023-07-22 * Support new soname in OpenSlide ≥ 4.0.0 @@ -21,6 +22,7 @@ * examples: Correctly import `openslide` on Windows if `OPENSLIDE_PATH` not set * tests: Fix `pytest` of installed package from source directory + ## Version 1.2.0, 2022-06-17 * Drop support for Python \< 3.7 @@ -37,6 +39,7 @@ * examples: Read OpenSlide DLL path from `OPENSLIDE_PATH` env var on Windows * examples: Update OpenSeadragon to 3.0.0 + ## Version 1.1.2, 2020-09-13 * Fix install with setuptools ≥ 46 @@ -44,6 +47,7 @@ * Fix docs build with Sphinx 2.x * Remove `--without-performance` install option + ## Version 1.1.1, 2016-06-11 * Change default Deep Zoom tile size to 254 pixels @@ -54,6 +58,7 @@ * Add test suite * examples: Drop support for Internet Explorer \< 9 + ## Version 1.1.0, 2015-04-20 * Improve pixel read performance using optional extension module @@ -63,21 +68,25 @@ * examples: Verify at server startup that file was specified * examples: Disable pinch zoom outside of viewer + ## Version 1.0.1, 2014-03-09 * Fix documentation build breakage + ## Version 1.0.0, 2014-03-09 * Add documentation * Switch from distutils to setuptools * Declare Pillow dependency in `setup.py` (but still support PIL) + ## Version 0.5.1, 2014-01-26 * Fix breakage on Python 2.6 * examples: Fix tile server breakage on classic PIL + ## Version 0.5.0, 2014-01-25 * Require OpenSlide 3.4.0 @@ -93,6 +102,7 @@ * examples: Avoid loading smallest Deep Zoom levels * examples: Update OpenSeadragon to 1.0.0 + ## Version 0.4.0, 2012-09-08 * Require OpenSlide 3.3.0 @@ -101,6 +111,7 @@ * Properly report `openslide_open()` errors on OpenSlide 3.3.0 * Fix library loading on Mac OS X + ## Version 0.3.0, 2011-12-16 * Fix segfault if properties/associated images accessed after `OpenSlide` @@ -110,6 +121,7 @@ * Fix for large JPEG tiles in example Deep Zoom tilers * Make example static tiler output self-contained + ## Version 0.2.0, 2011-09-02 * Initial library release From 91ef77bae8ab0925ddce4a76e62e23f705e49363 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 29 Oct 2024 09:59:03 -0700 Subject: [PATCH 2/2] Update for release Signed-off-by: Benjamin Gilbert --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ openslide/_version.py | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfc8e194..fcd632ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # Notable Changes in OpenSlide Python +## Version 1.4.0, 2024-10-29 + +### New features + +* Support OpenSlide [installed from PyPI][] with `pip install openslide-bin` +* Add type hints for Python ≥ 3.10 +* Add wheels for Linux aarch64, Linux x86_64, and macOS arm64 + x86_64 +* Build version-independent wheels on Python ≥ 3.11 +* examples: Default `deepzoom_tile.py` job count to available CPUs when known + +### Changes + +* Drop wheel for 32-bit Windows +* Require `AbstractSlide` subclasses to implement all abstract methods +* Provide default `AbstractSlide.set_cache()` implementation +* Switch to [PEP 621][] project metadata +* docs: Document existence of `AbstractSlide` +* examples: Update OpenSeadragon to 5.0.0 + +### Bug fixes + +* If OpenSlide cannot be loaded, report errors from all attempts +* Fix `OpenSlide` support for `bytes` filename arguments (1.2.0 regression) +* Disallow arbitrary types as `OpenSlide` filename arguments (1.2.0 regression) +* Encode `OpenSlide` filename arguments using [Python filesystem encoding][] +* Add error check to `OpenSlide.set_cache()` +* docs: Fix types of properties that return tuples of items + +[installed from PyPI]: https://pypi.org/project/openslide-bin/ +[PEP 621]: https://peps.python.org/pep-0621/ +[Python filesystem encoding]: https://docs.python.org/3/glossary.html#term-filesystem-encoding-and-error-handler + + ## Version 1.3.1, 2023-10-08 * docs: Document using ICC profile's default intent, not absolute colorimetric diff --git a/openslide/_version.py b/openslide/_version.py index 2c184e31..ad0dab29 100644 --- a/openslide/_version.py +++ b/openslide/_version.py @@ -22,4 +22,4 @@ This module is an implementation detail. The package version should be obtained from openslide.__version__.""" -__version__ = '1.3.1' +__version__ = '1.4.0'