Skip to content

Releases: up42/up42-py

V2.1.1

12 Dec 09:09
ca9d6b6
Compare
Choose a tag to compare

What's Changed

Changed

  • Restore accepting string instead of enum in Storage::get_orders.
  • Improve coverage for Tasking::decide_quotation.
  • Improve coverage for Tasking::get_feasibility.
  • Improve coverage for Tasking::choose_feasibility.
  • Updating endpoint for base::get_credits_balance.
  • Switched workspace id retrieval from the deprecated endpoint to the user info endpoint.
  • Added requesting openid scope when retrieving token.
  • Move tests/fixtures/fixtures_globals.py to tests/constants.py.
  • Move collection_credentials from auth.py to client.py.
  • Switched to base descriptors in Storage class and drop the dependencies from auth.py module.

Fixed

  • Fixed bug with passing enum entries instead of values in Storage::get_orders.
  • Fixed Catalog::construct_search_parameters limit description in the documentation.
  • Fixed paging bug for case of empty response.
  • Fixed confusing name for type FeasibilityDecision to FeasibilityStatus.
  • Fixed test coverage for Tasking::get_quotations.
  • Fixed test coverage for Tasking::construct_order_parameters.
  • Fixed types of Asset::asset_id and Asset::_get_info.
  • Unified paging between Order, Tasking and Storage classes.

Removed

  • Drop process template DetectionTreesHeightsSpacept.
  • Dropped limiting false statuses in Storage::get_orders since the type hinting is enabled.
  • Dropped failing wrong sortby value in Storage::get_orders since the type hinting is enabled.
  • Dropped Tasking::auth property.
  • Dropped legacy auth.py.
  • Dropped legacy fixtures for storage test coverage.
  • Dropped asset_searcher.py module.
  • Dropped unused Auth::request and the corresponding test coverage.
  • Dropped unneeded Storage::repr.
  • Dissolve auth.Auth in _Workspace::authenticate.

Full Changelog: v2.1.0...v2.1.1

V.2.1.0

09 Oct 13:17
aa8e94a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.1.0

V2.0.1

19 Aug 06:44
50beda1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v2.0.1

V1.1.1

31 Jul 09:03
069667b
Compare
Choose a tag to compare

Changes

  • Added EULA acceptance check to processing job templates.
  • Added EULA related statuses to processing jobs.
  • Added various failure statuses to job tracking stop list.
  • Added session descriptor to CatalogBase.
  • Deprecated get_data_products method in CatalogBase class.
  • Extract CollectionType type alias.
  • Extract ProductGlossary in catalog.py.
  • Provide type hints for ProductGlossary methods.
  • Switch to new token endpoint in auth.py and oauth.py.

Fixes

  • Fix type hint for get_webhook_events.

Improvements

  • Drop unused return_text parameter in Auth::request.
  • Improve test coverage for Catalog::search.
  • Improve Catalog::download_quicklooks code.
  • Improve test coverage for Catalog::download_quicklooks type alias.
  • Reduce the usage auth::request in base.py.
  • Simplify the usage of get_data_products in CatalogBase.
  • Simplify pagination in Catalog::search code.
  • Use token duration information from token data instead of static configuration.
  • Use expiry offset to refresh token 30s earlier.

Dependencies:

  • Bumped dependencies certifi from 2024.2.2 to 2024.7.4.
  • Bumped dependencies setuptools from 69.1.1 to 70.0.0.
  • Bumped dependencies urllib from 2.2.1 to 2.2.2.
  • Bumped dependencies zipp from 3.17.0 to 3.19.1.

Full Changelog: v1.1.0...v1.1.1

1.1.0

25 Jun 13:22
0d86300
Compare
Choose a tag to compare

What's Changed

  • Job, JobSorting and JobStatus classes now available in up42 namespace.
  • Change default created and credits ordering as descending.
  • Change default status ordering to descending.
  • Rename templates.py to processing_templates.py.

Fixes

  • Fix multiple process id value query parameter to use concatenation with commas.
  • Fix multiple status value query parameter to use concatenation with commas.
  • Fix processing job tracking to wait until credits are captured or released.
  • Fix missing process ids for processing templates.

Improvements

  • Trim off milliseconds in job metadata timestamps to avoid rounding errors.
  • Trim nanoseconds in job metadata timestamps since not supported by native Python datetime.
  • Update processing template names.
  • Add missing workspace_id query param to job execution.
  • Convert relative paths in processing job page links to absolute ones.

Full Changelog: v1.0.4...v1.1.0

1.0.4

17 Jun 22:01
8094093
Compare
Choose a tag to compare

New Features

Processing Module:

  • Introduced the Job class for interacting with processing jobs.
  • Implemented job querying capabilities (processing.py).
  • Added a collection attribute to the Job class.
  • Introduced processing job tracking.

Job Templates:

  • Created basic single and multi-item processing job templates in templates.py.
  • Enabled job template execution (templates.py).
  • Added specialized templates for SpaceptAugmentation, NSUpsamling, and Pansharpening.
  • Added cost evaluation to the JobTemplate class (number comparison).
  • Implemented SingleItemJobTemplate and MultiItemJobTemplate helper classes.

Improvements

Base Module (formerly main):

  • Renamed the main module to base for clarity.
  • Added descriptors: Session, WorkspaceId, and StacClient to base module for improved access within classes.

Webhooks:

  • Refactored webhooks as active records.
  • Consolidated webhook code into a dedicated module/class.
  • Enhanced test coverage for webhooks.
  • Deprecated legacy webhook code.

Dependencies:

  • Updated requests to 2.32.0.
  • Relaxed geopandas version constraint to < 1.
  • Upgraded tornado to 6.4.1.

Bugfixes:

  • Enabled deep copy in Up42Auth for compatibility.
  • Fix tenacity not Found Error by upgrading tenacity dependency.
  • Removed deprecated Catalog::construct_parameters method.

Full Changelog: v1.0.3...v1.0.4

1.0.3

23 May 14:04
6832d14
Compare
Choose a tag to compare

What's Changed

  • Improve stac resilience by @javidq in #611
  • Added tenacity as dependency.
  • Added resilience on asset::stac_info and asset::stac_items
  • Dropped pystac client subclassing
  • Cleaned up fixtures
  • Improved test coverage
  • Dropped unneeded exposure of token

Full Changelog: v1.0.2...v1.0.3

1.0.2

15 May 11:24
a1ccfab
Compare
Choose a tag to compare

What's Changed

  • Added thread safety to token retrieval.

Full Changelog: v1.0.1...v1.0.2

1.0.1

13 May 13:30
dc22c5e
Compare
Choose a tag to compare

What's Changed

  • Increased retries and backoff in http resilience.
  • Fixed bug with temporary storage overfill when downloading archives.
  • Bumped dependencies jinja2, tqdm, geojson.

New Contributors

  • @up42-backstage made their first contribution in #592

Full Changelog: v1.0.0...v1.0.1

1.0.0

17 Apr 10:06
8332e95
Compare
Choose a tag to compare

What's Changed

  • Dropped deprecated functionalities: Jobs, Projects, Workflows, Viztools
  • Dropped deprecated code related to blocks
  • Removed support for Project based authentication