Releases: up42/up42-py
Releases · up42/up42-py
V2.1.1
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
What's Changed
- Improve order test coverage by @javidq in #669
- improve order test coverage - track_status, estimate, and place methods by @andher1802 in #668
- [PT-5591] Switching Asset to use session descriptor by @andher1802 in #670
- PT-5591 Order get_assets to add BEING_FULLFILLED by @andher1802 in #667
- [PT-5597] Remove and inline utils::autocomplete_order_parameters by @andher1802 in #672
- [PT-5597] Fix test for
CatalogBase
by @andher1802 in #673 - [PT-5597] Fixing test for catalog class by @andher1802 in #671
- [PT-5597] moving estimate_order to CatalogBase by @andher1802 in #677
- Improve CatalogBase class by @javidq in #678
Full Changelog: v2.0.1...v2.1.0
V2.0.1
What's Changed
-
[PT-5505] ProductGlossary V2 get_collections by @andher1802 in #656
-
[PT-5547] Moved ProductGlossary to glossary.py by @javidq in #661
-
V.2.0.0 by @andher1802 in #662
-
BUGFIX Switch glossary::IntegrationValue to Literal by @andher1802 in #663
-
V.2.0.1 by @andher1802 in #666
Full Changelog: v1.1.1...v2.0.1
V1.1.1
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 inCatalogBase
class. - Extract
CollectionType
type alias. - Extract
ProductGlossary
incatalog.py
. - Provide type hints for
ProductGlossary
methods. - Switch to new token endpoint in
auth.py
andoauth.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
inCatalogBase
. - 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
What's Changed
Job
,JobSorting
andJobStatus
classes now available inup42
namespace.- Change default created and credits ordering as descending.
- Change default status ordering to descending.
- Rename
templates.py
toprocessing_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
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
, andPansharpening
. - Added cost evaluation to the JobTemplate class (number comparison).
- Implemented
SingleItemJobTemplate
andMultiItemJobTemplate
helper classes.
Improvements
Base Module (formerly main):
- Renamed the
main
module tobase
for clarity. - Added descriptors:
Session
,WorkspaceId
, andStacClient
tobase
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 upgradingtenacity
dependency. - Removed deprecated Catalog::construct_parameters method.
Full Changelog: v1.0.3...v1.0.4
1.0.3
What's Changed
- Improve stac resilience by @javidq in #611
- Added
tenacity
as dependency. - Added resilience on
asset::stac_info
andasset::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
1.0.1
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