Rasterio

Latest version: v1.4.2

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 28

1.0.9

Not secure
------------------

Bug fixes:

- Delegate test of the environment for existing session credentials to the
session class to generalize credentialization of GDAL to cloud providers
other than AWS (1520). The env.hascreds function is no longer used in
Rasterio and has been marked as deprecated.
- Switch to use of botocore Credentials.get_frozen_credentials (1521).
- Numpy masked arrays with the normal Numpy mask sense (True == invalid) are
now supported as input for feature.shapes(). The mask keyword argument of the
function keeps to the GDAL sense of masks (nonzero == invalid) and the
documentation has been improved to communicate this (1517).
- The defaults for WarpedVRT's `src_nodata` and `nodata` keyword arguments are
no longer None, but are markers for the default behavior: inheritance of
nodata values from the VRT's source dataset. Values of `None` for these
keyword arguments means that the VRT does not inherit from the source and has
no nodata value at all (1503).
- WEBP has been added to the Compression enum. Exploitation of this new
compression mode will require GDAL 2.4.
- Rasterio now check for two AWS environment variables before creating a
session (1494).
- The ensure_env_with_credentials decorator which wraps rasterio.open will no
longer clobber the credentials in a surrounding environment or seek
credentials when they already exist (1507).
- The comparison of CRS objects to dicts and strs that we pledged to remove at
1.0 has at last been removed (1492).

1.0.8

Not secure
------------------

Bug fixes:

- Datasets contained in MemoryFile buffers are now opened in r+ or w+ mode
instead of r or w.
- The namedtuple _asdict method is overridden in BoundingBox to work around a
bug in Python 3.4.3 (1486, 1488). This unblocks creation of manylinux1
wheels for Python 3.4.

1.0.7

Not secure
------------------

Bug fixes:

- Use the non-resolving path form of files_inout_arg in rio-convert and
rio-shapes (999).
- Filling the empty regions of boundless reads was too slow in some cases and
a faster solution has been found (1480).
- Require cligj>=0.5 for compatibility with click 7.0.
- Precisely specify CLI option and argument names for click 6.x and 7.0
compatibility.

1.0.6

Not secure
------------------

Bug fixes:

- If the build_overviews method of a dataset is passed a list of factors that
specify more than one 1x1 pixel overview (1333), Rasterio raises an
exception.
- Calling calculate_default_transform for large extents should no longer result
in the out of memory error reported in 1131. The rio-warp command should
also now run more quickly and with a smaller memory footprint.
- We have a more general fix for the problem of filling the empty regions of
boundless reads (1471).

1.0.5

Not secure
------------------

Bug fixes:

- The fill value for boundless reads was ignored in Rasterio versions 1-1.0.4
but now applies (1471).
- An invalid shortcut has been eliminated and Rasterio now produces a proper
mask in the boundless masked read case (1449).
- Loss of a row or column in geometry_window() and mask() has been fixed
(1472).

1.0.4

Not secure
------------------

Bug fixes:

- Boundless reads of datasets without a coordinate reference system have been
fixed (1448).
- A y-directional error in disjoint_bounds (1459) has been fixed.
- Prevent geometries from being thrown near projection singularities (1446).
- Missing --aws-no-sign-requests and --aws-requester-pays options added to
the main rio command (1460).
- Add missing bilinear, cubic spline, lanczos resampling modes for overviews
(1457).
- Raise ValueError if get_writer_for_driver() is called without a driver
name.
- Windows are now frozen so that they are hashable (1452).

Refactoring:

- Use of InMemoryRaster eliminates redundant code in the _warp module (1427,
816).
- Generalize sessions to support cloud providers other than AWS (1429).

Page 14 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.