rasterio breaking changes
Updated December 4, 2026
On this page
Latest version 1.5.2, released September 30, 2026. Source repository
Its 1.5.0 release requires Python 3.12 or later. Python end of life dates.
- From 0.36.0 to 1.5.1: 105 breaking changes in 11 versions.
- From 0.35.0 to 1.5.1: 123 breaking changes in 12 versions.
rasterio 1.5.1 breaking changes
- Behavior changed
features.bounds
When transform and/or north_up=False is passed, features.bounds() no longer uses the GeoJSON "bbox" attribute and instead applies the transformation to features and geometry collections. github.com - Behavior changed
sieve
For 3D sources, sieve() now returns 3D output instead of automatically squeezing it to 2D, matching dataset read(). Code that expects 2D output from 3D input must be updated. github.com - Signature changed
rasterio.plot.show
Was def show(source, with_bounds=True, contour=False, contour_label_kws=None, indexes=None, ax=None, title=None, transform=None, percent_range=None, adjust=True, **kwargs); now def show(source, with_bounds=True, contour=False... pypi.org - Signature changed
rasterio.rio.gcps.gcps
Was def gcps(ctx, input, geojson_type, projection, precision, use_rs, indent, compact); now def gcps(ctx, input, geojson_type, projection, precision, sequence, use_rs, indent, compact). pypi.org - Signature changed
rasterio.rio.warp.reproject
Was def reproject(source, destination=None, src_transform=None, gcps=None, rpcs=None, src_crs=None, src_nodata=None, dst_transform=None, dst_crs=None, dst_nodata=None, dst_resolution=None, src_alpha=0, dst_alpha=0, masked=False... pypi.org - Signature changed
rasterio.warp.reproject
Was def reproject(source, destination=None, src_transform=None, gcps=None, rpcs=None, src_crs=None, src_nodata=None, dst_transform=None, dst_crs=None, dst_nodata=None, dst_resolution=None, src_alpha=0, dst_alpha=0, masked=False... pypi.org
rasterio 1.5.0 breaking changes
- Removed
Python 3.12 or later is now required. Users on older Python must upgrade before installing this release. github.com - Behavior changed
rasterio.warp
When reprojecting, masked output is no longer filled, so code relying on the previous filled values may see different results. github.com - Signature changed
rasterio.env.GDALVersion.at_least
Was def at_least(self, other); now def at_least(self, other, include_patch=False). pypi.org - Signature changed
rasterio.env.GDALVersion.parse
Was @classmethod def parse(cls, input); now @classmethod def parse(cls, input, include_patch=False). pypi.org - Signature changed
rasterio.env.GDALVersion.runtime
Was @classmethod def runtime(cls); now @classmethod def runtime(cls, include_patch=False). pypi.org - Signature changed
rasterio.io.MemoryFile.open
Was def open(self, driver=None, width=None, height=None, count=None, crs=None, transform=None, dtype=None, nodata=None, sharing=False, **kwargs); now def open(self, driver=None, width=None, height=None, count=None, crs=None... pypi.org - Signature changed
rasterio.io.ZipMemoryFile.open
Was def open(self, path, driver=None, sharing=False, **kwargs); now def open(self, path, driver=None, sharing=False, thread_safe=False, **kwargs). pypi.org - Signature changed
rasterio.open
Was def open(fp, mode='r', driver=None, width=None, height=None, count=None, crs=None, transform=None, dtype=None, nodata=None, sharing=False, opener=None, **kwargs); now def open(fp, mode='r', driver=None, width=None, height=None... pypi.org - Signature changed
rasterio.plot.show
Was def show(source, with_bounds=True, contour=False, contour_label_kws=None, ax=None, title=None, transform=None, adjust=False, **kwargs); now def show(source, with_bounds=True, contour=False, contour_label_kws=None, indexes=None... pypi.org - Signature changed
rasterio.rio.gcps.transform_geom
Was def transform_geom(src_crs, dst_crs, geom, antimeridian_cutting=True, antimeridian_offset=10.0, precision=-1); now def transform_geom(src_crs, dst_crs, geom, antimeridian_cutting=None, antimeridian_offset=None, precision=-1). pypi.org
And 2 more in this version. Sign up to see every change
rasterio 1.0.0 breaking changes
- Signature changed
rasterio.env.defenv
Was def defenv(); now def defenv(**options). pypi.org - Signature changed
rasterio.env.del_gdal_config
Was from rasterio._drivers import del_gdal_config; now from rasterio._env import del_gdal_config. pypi.org - Signature changed
rasterio.env.Env.__init__
Was def __init__(self, aws_session=None, aws_access_key_id=None, aws_secret_access_key=None, aws_session_token=None, region_name=None, profile_name=None, **options); now def __init__(self, session=None, aws_unsigned=False... pypi.org - Signature changed
rasterio.env.EnvError
Was class EnvError(Exception); now class EnvError(RasterioError). pypi.org - Signature changed
rasterio.env.GDALEnv
Was from rasterio._drivers import GDALEnv; now from rasterio._env import GDALEnv. pypi.org - Signature changed
rasterio.env.get_gdal_config
Was from rasterio._drivers import get_gdal_config; now from rasterio._env import get_gdal_config. pypi.org - Signature changed
rasterio.env.parse_path
Was def parse_path(uri, vfs=None); now def parse_path(path). pypi.org - Signature changed
rasterio.env.set_gdal_config
Was from rasterio._drivers import set_gdal_config; now from rasterio._env import set_gdal_config. pypi.org - Signature changed
rasterio.errors.EnvError
Was class EnvError(Exception); now class EnvError(RasterioError). pypi.org - Signature changed
rasterio.errors.NodataShadowWarning
Was class NodataShadowWarning(Warning); now class NodataShadowWarning(UserWarning). pypi.org
And 24 more in this version. Sign up to see every change
rasterio 1.0rc2 breaking changes
- Removed
rasterio.vfs
The rasterio.vfs module has been removed. github.com - Removed
set_crs
Property set_* methods of datasets have been removed; set the properties instead, such as dataset.crs. github.com - Behavior changed
Rasterio ignores creation options saved in metadata by versions before 1.0b1. github.com - Behavior changed
Reading array data or masks from datasets opened in w mode is now prohibited. github.com
rasterio 1.0b4 breaking changes
- Behavior changed
WarpedVRT
WarpedVRT now raises an exception when asked to add an alpha band and one already exists. github.com
rasterio 1.0b2 breaking changes
- Behavior changed
boundless
boundless=True reads from warped VRTs are no longer allowed. Construct VRTs so only data within their extents is read. github.com
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
rasterio 1.0b1 breaking changes
- Removed
DatasetBase.affine
Use transform instead. github.com - Removed
DatasetBase.mask_flags
Use mask_flag_enums instead. github.com
And 20 more in this version.
rasterio 1.0a11 breaking changes
- Renamed
rasterio.copy
rasterio.copy is now rasterio.shutil.copy. github.com - Behavior changed
DatasetBase.colorinterp
colorinterp now operates on a sequence of ColorInterp enums in band order. github.com
rasterio 1.0a10 breaking changes
- Removed
TransformMethodsMixin.ul
The ul method, deprecated since 0.36, has been removed. github.com - Behavior changed
rasterio.windows.from_bounds
from_bounds always returns uncropped windows. Passing boundless now triggers a warning. github.com
And 2 more in this version.
rasterio 1.0a9 breaking changes
- Removed
rasterio.warp.transform
The **options argument is removed. Set transformer options on the active rasterio.env.Env() instead. github.com - Behavior changed
crs
The crs property is None instead of CRS() when the coordinate reference system is undefined. github.com
And 1 more in this version.
rasterio 1.0a1 breaking changes
- Removed
profile.affine
The affine member of dataset profile has been removed. github.com - Removed
rasterio.drivers
The rasterio.drivers() context manager is gone. Use rasterio.Env() instead. github.com
And 14 more in this version.
rasterio 0.36.0 breaking changes
- Removed
rasterio.crs.from_epsg
rasterio.crs.from_epsg was removed in rasterio 0.36.0 pypi.org - Removed
rasterio.crs.from_string
rasterio.crs.from_string was removed in rasterio 0.36.0 pypi.org
And 16 more in this version.
rasterio 0.35.0 breaking changes
- Removed
rasterio.aws
rasterio.aws was removed in rasterio 0.35.0 pypi.org - Removed
rasterio.drivers
The old drivers() implementation was replaced with a new Env class; code calling drivers() must switch to Env. pypi.org
And 23 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.