Check your version
Pip
pip show up42-py
Conda
conda search up42-py
Update your installation
Pip
pip install up42-py --upgrade
Conda
conda update -c conda-forge up42-py
- Log in into your GitHub account.
- Open the repository.
- Click
Watch → Custom.
- Select the events you want to subscribe to. To get notifications about releases, select Releases.
- Click Apply.
-
Assets
Asset.asset_id
is deprecated, useAsset.id
.Asset.update_metadata
is deprecated, usepystac.Item.update
.Asset.get_stac_asset_url
is deprecated, usepystac.Asset.file.url
.Asset.download_stac_asset
is deprecated, usepystac.Asset.file.download
.Asset.download
is deprecated, useAsset.file.download
.
-
Catalog
Catalog.construct_order_parameters
is deprecated, useBatchOrderTemplate
.Catalog.construct_search_parameters
is deprecated, useProvider.search
.Catalog.search
is deprecated, useProvider.search
.Catalog.download_quicklooks
is deprecated, useScene.quicklook.download
.
-
Catalog base
CatalogBase.get_data_product_schema
is deprecated, useDataProduct.schema
.CatalogBase.estimate_order
is deprecated, useBatchOrderTemplate.estimate
.CatalogBase.place_order
is deprecated, useBatchOrderTemplate.place
.
-
Orders
Order.order_id
is deprecated, useOrder.id
.Order.info
is deprecated, useOrder
attributes.Order.order_details
is deprecated, useOrder.details
.Order.track_status
is deprecated, useOrder.track
.Order.estimate
is deprecated, useBatchOrderTemplate.estimate
.Order.place
is deprecated, useBatchOrderTemplate.place
.
-
Storage
Storage.get_orders
is deprecated, useOrder.all
.Storage.get_assets
is deprecated, useAsset.all
.
-
Tasking
Tasking.construct_order_parameters
is deprecated, useBatchOrderTemplate
.Tasking.get_quotations
is deprecated, useQuotation.all
.Tasking.decide_quotation
is deprecated, useQuotation.accept
/Quotation.reject
andQuotation.save
.Tasking.get_feasibility
is deprecated.Tasking.choose_feasibility
is deprecated.
-
up42 namespace
up42.initialize_order
is deprecated, useOrder.get
.up42.initialize_catalog
is deprecated.up42.initialize_asset
is deprecated, useAsset.get
.up42.initialize_tasking
is deprecated.
-
Assets
Asset.get
retrieves an asset by ID.Asset.all
filters and iterates assets.Asset.file.url
provides signed URL to access the asset without authentication.Asset.file.download
allows to download the asset file.
-
Orders
Order.all
filters and iterates orders.Order.get
retrieves retrieves a specific order by its ID.- Order template module (with
BatchOrderTemplate
and other supporting classes) unifies data and processing ordering.
-
Glossary
DataProduct.schema
fetches and returns a JSON representation of the schema for a specific data product.Provider.search
filters and iterates scenes of hosting providers usingScene
data classes.
-
Tasking
- A new
Quotation
class in the Tasking module represents a quotation for a tasking order. - A new
QuotationSorting
class provides sorting options for quotations.
- A new
-
PySTAC extension
pystac.Asset.file.url
provides signed URL to access the asset without authentication.pystac.Asset.file.download
allows to download the asset file.pystac.Item
andpystac.Collection
gets anup42
property, a namespace containing all data from UP42 extensions. All properties within this namespace are read-write.pystac.Item
gets anupdate
method, which savesup42.title
andup42.tags
values to SAS, then updates the item properties based on the response.
Order
is now a data class.Asset
is now a data class.
- Updated the endpoint for the
get_credits_balance
function, migrated from v1 to v2. - Removed the
limit
parameter from theCatalog
’sconstruct_search_parameters
functionality, as it’s not intended for user implementation. - Removed the
DetectionTreesHeightsSpacept
processing template class due to the sunsetting of the associated process.
- Supported cost estimation for tasking orders.
- Supported asset retrieval from orders that have the
BEING_FULFILLED
status.
-
Supported a new Glossary module allowing retrieving information about geospatial collections.
-
Removed the following functions:
up42.initialize_webhook
. Instead, useup42.Webhook.get
.up42.get_webhooks
. Instead, useup42.Webhook.all
.up42.get_webhook_events
. Instead, useup42.Webhook.get_webhook_events
.up42.create_webhook
. Instead, usewebhook.save
.Webhook.update
. Instead, usewebhook.save
.Webhook.create
. Instead, usewebhook.save
.CatalogBase.get_collections
. Instead, useup42.ProductGlossary.get_collections
.- Instead of
up42.catalog.get_collections
, useup42.ProductGlossary.get_collections(collection_type=up42.CollectionType.ARCHIVE)
. - Instead of
up42.tasking.get_collections
, useup42.ProductGlossary.get_collections(collection_type=up42.CollectionType.TASKING)
.
- Instead of
CatalogBase.get_data_products
. Instead, useup42.ProductGlossary.get_collections
, it returns data products alongside collection information.
-
Removed the following arguments:
- In
CatalogBase.place_order
:scene
,geometry
. - In
Catalog.estimate_order
:scene
,geometry
. - In
Catalog.construct_search_parameters
:sortby
,ascending
. - In
Storage.get_assets
:acquired_after
,acquired_before
,geometry
,custom_filter
. - In
Webhook.all
:return_json
.
- In
-
Removed the following properties:
webhook.webhook_id
. Instead, usewebhook.id
.webhook.info
. Instead, use the Webhook object itself.
-
Removed the following classes:
- In the
Catalog
class, removedProductGlossary
classesProducer
andHost
. Replaced by the Provider class in the Glossary module.
- In the
-
Removed the following templates:
AugmentationSpacept
- Updated versions of Python packages:
certifi
: updated to version 2024.7.4.setuptools
: updated to version 70.0.0.urllib
: updated to version 2.2.2.zipp
: updated to version 3.19.1.
- Added EULA-related statuses to processing jobs:
LICENSED
andUNLICENSED
. - Marked
CatalogBase.get_data_products
as deprecated.
- Supported new Webhook class functions:
Webhook.all
Webhook.get
Webhook.get_webhook_events
Webhook.save
- Supported a new Processing module allowing the following:
- Create templates for jobs
- Validate jobs
- Determine the cost of jobs
- Run jobs
- Monitor job statuses
- Resolved an issue with
pystac.Item.get_assets
that caused accessing STAC assets to fail when using deepcopy support in the UP42 authentication layer. - Updated versions of Python packages:
requests
: updated to version 2.32.0.tornado
: updated to version 6.4.1.geopandas
: updated to version 0.14.4.tenacity
: updated to version 8.4.1.
- Marked webhook functions and attributes as deprecated:
webhook.info
webhook.update()
up42.initialize_webhook()
up42.get_webhook_events()
up42.create_webhook()
up42.get_webhooks()
- Integrated
tenacity
as a dependency. - Implemented resilience mechanisms for
asset.stac_info
andasset.stac_items
. - Removed PySTAC client subclassing.
- Streamlined fixtures.
- Expanded test coverage.
- Removed unnecessary token exposure.
Implemented thread safety for token retrieval.
May 13, 2024- Enhanced HTTP resilience with increased retry attempts and backoff mechanisms.
- Resolved an issue where temporary storage would exceed capacity during catalog downloads.
- Updated the following dependencies:
jinja2
,tqdm
, andgeojson
.
- Removed project credentials as an authentication method.
- Removed previously deprecated visualization functions:
folium_base_map()
draw_aoi()
map_quicklooks()
map_results()
plot_coverage()
plot_results()
plot_quicklooks()
plot_coverage()
Updated versions of Python packages:
black
: updated to version 24.3.0.pillow
: updated to version 10.3.0.
- Removed the upper-bound limitation for Python versions.
- Discontinued support for Python 3.8.
- Fixed unintentional removal of titles and tags during asset metadata updates.
- Removed the unnecessary
auth.env
property and corresponding tests. - Expanded the new authentication stack to accommodate account authentication scenarios.
- Added new components within the HTTP layer to facilitate future enhancements in authentication and request handling.
- Aligned the majority of the code with Pylint checks.
Updated the place_order()
and estimate_order()
functions of the CatalogBase class to the latest version of the API.
-
Removed the following edit and create functions:
-
up42
validate_manifest()
-
Project
max_concurrent_jobs
update_project_settings()
create_workflow()
-
Workflow
max_concurrent_jobs
update_name()
add_workflow_tasks()
get_compatible_blocks()
get_parameters_info()
construct_parameters()
construct_parameters_parallel()
estimate_job()
test_job()
test_jobs_parallel()
run_job()
run_jobs_parallel()
-
Job
track_status()
cancel_job()
-
-
Marked the following visualization functions as deprecated:
-
up42
viztools.folium_base_map()
-
Catalog
plot_coverage()
map_quicklooks()
plot_quicklooks()
-
Job
map_results()
plot_results()
-
JobCollection
map_results()
plot_results()
-
JobTask
map_results()
plot_results()
plot_quicklooks()
-
Restored the order.get_assets()
function.
- Updated the
storage.get_orders()
function to the latest version of the API. - Set Poetry as the only dependency manager.
- Removed the
order.get_assets()
function.
Marked the following parameters of storage.get_assets()
as deprecated to enforce the use of the PySTAC client search.
geometry
acquired_before
acquired_after
custom_filter
- Updated authentication by changing it from project-based to account-based.
- Added a new function to the Asset class:
get_stac_asset_url()
generates a signed URL that allows to download a STAC asset from storage without authentication.