Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for release #300

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,45 @@
# 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
* 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
Expand All @@ -21,6 +55,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
Expand All @@ -37,13 +72,15 @@
* 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
* Fix `ImportError` with Python 3.9
* 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
Expand All @@ -54,6 +91,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
Expand All @@ -63,21 +101,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
Expand All @@ -93,6 +135,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
Expand All @@ -101,6 +144,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`
Expand All @@ -110,6 +154,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
Expand Down
2 changes: 1 addition & 1 deletion openslide/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Loading