Skip to content

1.10a2

Pre-release
Pre-release
Compare
Choose a tag to compare
@sgillies sgillies released this 05 Apr 21:44
· 27 commits to main since this release

This is the second 1.10 pre-release. The changes since 1.10a1 are enumerated below.

Deprecations

  • The FIELD_TYPES, FIELD_TYPES_MAP, and FIELD_TYPES_MAP_REV attributes of fiona.schema are no longer used by the project and will be removed in version 2.0 (#1366).
  • The Python style of rio-filter expressions introduced in version 1.0 are deprecated. Only the parenthesized list type of expression will be supported by version 2.0.

New features

  • All supported Fiona field types are now represented by classes in fiona.schema. These classes are mapped in FIELD_TYPES_MAP2 and FIELD_TYPES_MAP2_REV to OGR field type and field subtype pairs (#1366).
  • The filter, map, and reduce CLI commands from the public domain version 1.1.0 of fio-planet have been incorporated into Fiona's core set of commands (#1362). These commands are only available if pyparsing and shapely (each of these are declared in the "calc" set of extra requirements) are installed.

Bug fixes

  • Fiona's python opener VSI plugin prefix has been changed to "vsifiopener" to not conflict with Rasterio (#1368).
  • Add a 16-bit integer type "int16" based on OGR's OSFTInt16 integer sub-type (#1358).
  • Allow a GeoJSON collection's layer name to be set on opening in write mode (#1352).
  • The legacy crs.py module which was shadowed by the new crs.pyx module has been deleted (#1344).
  • Python 3.8 has been added back to the list of supported versions and a dependency on Numpy added in 1.10a1 has been removed.
  • An implementation of the VSI flush callback has been added to _vsiopener.pyx.
  • Openers are now registered only by urlpath. The mode is no longer considered as OGR drivers may use a mix of modes when creating a new dataset.

Other changes

  • Feature builder and field getter/setter instances are reused when reading and writing features (#1366).

Packaging

Aftermath of the "xz hackdoor" incident (see #1367) is preventing us from building Windows wheels for this release. You may expect them for the first 1.10 release candidate, if not sooner, and for the final 1.10.0 release.

Future 1.10 pre-releases will be announced at #1332.