Skip to content

Releases: Toblerity/Fiona

1.9.4.post1

23 May 23:23
Compare
Choose a tag to compare

Extraneous files were unintentionally packaged in the 1.9.4 wheels. This post1 release excludes them so that wheel contents are as in version 1.9.3.

1.9.4

17 May 14:52
Compare
Choose a tag to compare

Version 1.9.4 has important bug fixes and improvements and, in the PyPI wheels, updates GDAL to 3.6.4.

  • The performance of Feature.from_dict() has been improved (#1267).
  • Several sources of meaningless log messages from fiona._geometry about NULL geometries are avoided (#1264).
  • The Parquet driver has been added to the list of supported drivers and will be available if your system's GDAL library links libarrow. Note that fiona wheels on PyPI do not include libarrow as it is rather large.
  • Ensure that fiona._vendor modules are found and included.
  • Bytes type feature properties are now hex encoded when serializing to GeoJSON (#1263).
  • Docstrings for listdir and listlayers have been clarified and harmonized.
  • Nose style test cases have been converted to unittest.TestCase (#1256).
  • The munch package used by fio-filter and fio-calc is now vendored and patched to remove usage of the deprecated pkg_resources module (#1255).

1.9.3

10 Apr 21:58
Compare
Choose a tag to compare

Version 1.9.3 has a handful of important bug fixes and, in the PyPI wheels, upgrades GEOS to 3.11.2.

  • Rasterio CRS objects are compatible with the Collection constructor and are now accepted (#1248).
  • Append mode for fio-load has been enabled (#1237).
  • Reading a GeoJSON with an empty array property can result in a segmentation fault since version 1.9.0. This has been fixed (#1228).

1.9.2

21 Mar 15:18
Compare
Choose a tag to compare

Version 1.9.2 has a handful of important bug fixes.

  • The fio CLI now gets its command entry points using importlib.metadata (#1220). The project has no more runtime dependency on setuptools.
  • Instead of warning, transform_geom() raises an exception when some points can't be reprojected unless the caller opts in to partial reprojection. This restores the behavior of version 1.8.22.
  • Add support for open options to all CLI commands that call fiona.open (#1215).
  • Fix a memory leak that can occur when iterating over a dataset using strides (#1205).
  • ZipMemoryFile now supports zipped GDB data (#1203).

1.9.1

10 Feb 02:09
Compare
Choose a tag to compare

The 1.9.0 release revealed a few bugs. Here are the ones we felt should be squished immediately.

  • Log a warning message when identically named fields are encountered (#1201).
  • Avoid dependence on listdir order in tests (#1193).
  • Prevent empty geometries arrays from appearing in __geo_interface__ (#1197).
  • setuptools added to pyproject.toml. Its pkg_resources module is used by the CLI (#1191).

Wheels on PyPI include the same versions of GEOS, GDAL, and PROJ as in 1.9.0 but also patch GDAL 3.5.3 (OSGeo/gdal#7171).

1.9.0

30 Jan 17:43
Compare
Choose a tag to compare

This is 1.9.0.

The GitHub release notes have been clobbered accidentally. We'll try to restore them if/when we can.

1.9b2

23 Jan 16:24
Compare
Choose a tag to compare
1.9b2 Pre-release
Pre-release

1.9b2 (2023-01-22)

The second 1.9 beta release is ready for early testing. All of the features planned for 1.9.0 are in this release.

The binary wheels on PyPI include GDAL 3.5.3, GEOS 3.11.1, and PROJ 9.0.1. To try the wheels, run pip install --pre fiona.

Changes

  • Add Feature.__geo_interface__ property (#1181).
  • Invalid creation options are filtered and ignored (#1180).
  • The readme doc has been shortened and freshened up, with a modern example for version 1.9.0 (#1174). Advanced installation instructions have been moved to a separate doc.
  • The Geometry class now provides and looks for __geo_interface__ (#1174).
  • The top level fiona module now exports Feature, Geometry, and Properties (#1174).
  • Functions that take Feature or Geometry objects will continue to take dicts or objects that provide __geo_interface__ (#1177). This reverses the deprecation introduced in 1.9a2.
  • Python ignores SIGPIPE by default. By never catching BrokenPipeError via except Exception when, for example, piping the output of rio-shapes to the Unix head program, we avoid getting an unhandled BrokenPipeError message when the interpreter shuts down (#2689).

1.9b1

13 Dec 20:45
Compare
Choose a tag to compare
1.9b1 Pre-release
Pre-release

The first 1.9 beta release is ready for early testing. All of the features planned for 1.9.0 are in this release.

The binary wheels on PyPI include GDAL 3.5.3, GEOS 3.11.1, and PROJ 9.0.1. To try the wheels, run pip install --pre fiona.

New features

  • Add listdir and listlayers method to io.MemoryFile (resolving #754).
  • Add support for TIN and triangle geometries (#1163).
  • Add an allow_unsupported_drivers option to fiona.open() (#1126).
  • Added support for the OGR StringList field type (#1141).

Changes and bug fixes

  • Missing and unused imports have been added or removed.
  • Make sure that errors aren't lost when a collection can't be saved properly (#1169).
  • Ensure that ZipMemoryFile have the proper GDAL name after creation so that we can use listdir() (#1092).
  • The fiona._loading module, which supports DLL loading on Windows, has been moved into __init__.py and is no longer used anywhere else (#1168).
  • Move project metadata to pyproject.toml (#1165).
  • Update drvsupport.py to reflect new format capabilities in GDAL 3.6.0 (#1122).
  • Remove debug logging from env and _env modules.

1.9a3

18 Oct 19:00
Compare
Choose a tag to compare
1.9a3 Pre-release
Pre-release

Builds now require Cython >= 0.29.29 because of cython/cython#4609 (see #1143).

Wheels include GDAL 3.5.2, PROJ 9.0.1, and GEOS 3.11.0 and are available for Python versions 3.7-3.11.

1.8.22

14 Oct 23:54
bae44db
Compare
Choose a tag to compare

Builds now require Cython >= 0.29.29 because of cython/cython#4609 (see #1143).

Wheels include GDAL 3.4.3, PROJ 8.2.1, and GEOS 3.10.2.