Skip to content

Releases: rasterio/affine

3.0b1

29 Jan 20:46
Compare
Choose a tag to compare
3.0b1 Pre-release
Pre-release

The second 3.0 pre-release has a single bug fix. Matrix multiplication with tuples of coordinate matrices, like the output of numpy.meshgrid(), was broken in 3.0a1. It has been restored (#126).

3.0a1

27 Jan 22:20
Compare
Choose a tag to compare
3.0a1 Pre-release
Pre-release

This is the first pre-release of Affine version 3.0. There is one major, potentially breaking change: the Affine class is no longer a named tuple, and is no longer serializable to JSON without an adapter of some kind. That said, Rasterio 1.4 needed only minor changes to work with Affine 3.0, and we hope that other projects are similarly easy to update.

New features

  • Type hint annotations for functions and methods are complete (#121).
  • Affine raises ValueError if initialized with values for g, h, and i that are not 0.0, 0.0, and 1.0, respectively (#117).
  • Python version support was changed to 3.9+ (#110).
  • Switch from namedtuple to attrs for implementation of the Affine class and use functools.cached_property(), which absolutely requires Python 3.8 (#111).
  • Source was moved to a single-module affine.py in the src directory (#112).
  • Add numpy __array__() interface (#108).
  • Add support for @ matrix multiplier methods (#122).

2.3.1

25 Mar 02:40
Compare
Choose a tag to compare

See CHANGES.txt.

2.2.2

20 Dec 23:40
8dce40a
Compare
Choose a tag to compare

Fixes #40.

2.2.0

21 Mar 02:58
58569bb
Compare
Choose a tag to compare
Update __init__.py