Skip to content

Releases: sentinel-hub/sentinelhub-py

Version 3.6.2

13 Jun 11:25
Compare
Choose a tag to compare

Changelog:

  • BatchSplitter is now returning bounding boxes with a correct buffer and without numerical errors. This change is code-breaking.
  • Fixed an issue where failed authentication to Sentinel Hub would raise a misleading MissingTokenError. Now a correct error is being raised.
  • Improved parsing of error messages obtained from Sentinel Hub.
  • A few minor improvements.

Version 3.6.1

03 Jun 13:22
Compare
Choose a tag to compare

Changelog:

  • Improvements of Sentinel Hub authentication session sharing:
    • sentinelhub.download.SessionSharingThread can now handle previously undeleted shared memory files and warn about them.
    • Added a high-level utility sentinelhub.download.SessionSharing that ensures thread joining at the end. The tutorial notebook has been updated accordingly.
  • Minor Pylint updates.

Version 3.6.0

27 May 14:32
Compare
Choose a tag to compare

Changelog:

  • Official support for sharing Sentinel Hub authentication session between parallel Python processes:
    • improved interfaces of SentinelHubSession and SentinelHubDownloadClient,
    • implemented utilities sentinelhub.download.SessionSharingThread and sentinelhub.download.collect_shared_session for sharing session with standard Python multiprocessing,
    • added a tutorial notebook explaining the process and providing prototype implementations for different parallelization frameworks.
  • The package is now fully typed and mypy checks are performed in CI.
  • Refactored internal functionalities of SHConfig class.
  • DownloadFailedException now carries an optional instance of requests.RequestException.
  • Removed support for an old prototype EOCloud deployment of Sentinel Hub OGC services.
  • Documentation build improvements - package content pages are now being auto-generated. Some documentation links changed because of that.
  • Various minor improvements and fixes. Contributions by @sebastianclarke and @apazga

Version 3.5.2

03 May 13:18
Compare
Choose a tag to compare

Changelog:

  • Fixed an issue with parsing WGS84 in sentinelhub.CRS class.
  • Fixed an issue with using SHConfig class in Ray workers. A few minor changes in SHConfig class.
  • Renamed sentinelhub.geometry.BaseGeometry to a private class sentinelhub.geometry._BaseGeometry.
  • Added type annotations for some modules.

Version 3.5.1

21 Apr 13:02
Compare
Choose a tag to compare

Changelog:

  • New enums MosaickingOrder and ResamplingType with better parsing of parameters for mosaicking order, downsampling, and upsampling.
  • BBox.buffer method now has an option to apply an absolute buffer. Default is still a relative buffer.
  • Added monitor_batch_analysis utility function.
  • Added ByocCollectionBand dataclass for better deserialization of payloads from Sentinel Hub BYOC service.
  • Added SentinelHubSession.info method for obtaining session token information.
  • Increased cache size for CRS.projection, CRS.pyproj_crs, and CRS.get_transform_function methods.
  • Fixed an issue with a progress bar in download clients.
  • Added py.typed file.
  • Various minor improvements in code and documentation.

Version 3.5.0

24 Mar 15:37
Compare
Choose a tag to compare

Changelog:

  • Larger change of internal package structure:
    • some modules were grouped into subfolders api, aws, download, and geopedia,
    • package dependencies for working with AWS are not installed by default anymore, instead they require sentinelhub[AWS] extension,
    • AWS functionalities can now be imported only from sentinelhub.aws
    • documentation and tests were updated to reflect these changes.
  • Downloading of Sentinel-2 data from AWS into .SAFE format was updated. Now all baselines, including 04.00, are correctly supported. Contributions by @anthony-scarth and @sebastianclarke.
  • Dependency Pillow>=9.0.0 is now officially supported. Because new versions incorrectly read 15-bit JPEG2000 images a warning is raised in such cases. The warning suggests to install rasterio which in sentinelhub-py now has priority over Pillow for reading JPEG2000 format.
  • Fixed an issue in DownloadClient cache checking.
  • Applied black and isort formatting on the entire repository.
  • Various minor updates in the code and documentation.

Version 3.4.4

16 Feb 10:27
Compare
Choose a tag to compare

Changelog:

  • Improved handling of AWS credentials
  • Corrected LandSat units for bands with surface temperature
  • Added deprecation warning for Fis service
  • Various minor improvements

Version 3.4.3

06 Jan 12:14
Compare
Choose a tag to compare

Changelog:

  • Dropped support for Python 3.6 and added support for Python 3.10.
  • Added a few new MimeType enums constants and MimeType.matches_extension method.

Version 3.4.2

06 Dec 15:00
Compare
Choose a tag to compare

Changelog:

  • TileSplitter utility now works for any DataCollection enum. Its implementation changed from using Sentinel Hub WFS to using Sentinel Hub Catalog to collect data about tiles. Consequentially, some initialization parameters and some output information changed. These changes are code-breaking.
  • A couple of fixes in definitions of meta-bands for a few DataCollection enums.

Version 3.4.1

27 Oct 11:36
6d4ae23
Compare
Choose a tag to compare

Changelog:

  • Code-breaking change of attribute bands of class DataCollection. Switched from a list of band names to a list of band information (name, units, output types). DataCollection now also contains information about metabands (e.g. dataMask).
  • Fixed an issue with false hash collision detection
  • The time parameter in SentinelHubCatalog is now optional
  • SentinelHubBYOC now provides reingest_tile method
  • Minor fixes and improvements