Skip to content

Releases: planetlabs/planet-client-python

2.0.3

28 Jun 20:49
Compare
Choose a tag to compare

Changed:

  • Orders CLI now forces STAC to false for GEE deliveries. This is due to the
    Orders API change to surface validation errors when stac is specified for GEE
    orders.(#957)

2.0.2

24 May 18:55
Compare
Choose a tag to compare

Fixed:

  • Fixed bug where SkySatVideo was not recognized as a valid data api item type.
  • Fixed wheel name to indicate that only python 3 is supported and updated
    build metadata to indicate that the package is now a stable release and only
    supports Python 3.

2.0.1

11 May 03:47
Compare
Choose a tag to compare

Fixed:

  • Fix security issue where secret file was being created with read access other
    users on the machine. Automatically fixes the file permissions to only read
    and write the first time the file is accessed and continues to enforce the
    proper file permissions going forward.

Docs:

  • Fixed broken links on "CLI for Data API Tutorial" page (#952).
  • Protect against injecting javascript:URI into edited href tags in docs (#934).
  • Remove --pre --user from pip install instructions (#948).
  • Update the syntax of example code in the docstrings in the Order and Data
    clients and add example code to the Subscriptions client docstring (#943).

2.0.0

17 Apr 17:33
Compare
Choose a tag to compare

2.0.0 (2023-04-17)

User Interface Changes:

  • Match search-create and search-update name/filter options/parameters in Data
    API and CLI to match to search UI (#883, #898, #909).
  • Change Subscriptions CLI function naming from describe to get to match other
    clients (#900).
  • Removed (unused) checksum argument from download_order (#896).
  • Move planet data stats CLI interval and filter args to required options
    (#894).

Changed:

  • Data and Subscriptions API and CLI now normalize and validate item type and
    asset type (#902, #905).
  • Bulk create order example now demonstrates use of a dynamic list (#913).

Added:

  • Added bandmath tool to order_request (#876)
  • Subscriptions request generator api/cli no longer requires geojson entry for
    catalog source to only be a geometry, it can pull the geometry out of a
    feature and featurecollection (#880)

Fixed:

  • Fixed bug that caused Landsat asset download with the Data Client fail
    (#928).
  • Fixed notifications entry layout generated by order_request that was causing
    the notifications entry to not be used in the generated order (#917).
  • Session class unit tests are marked to be run within an event loop and are
    no longer skipped (#881).

2.0.0-rc.2

15 Mar 19:34
Compare
Choose a tag to compare
2.0.0-rc.2 Pre-release
Pre-release

2.0.0-rc.2 (2023-03-15)

Added:

  • The Session class can now construct clients by name with its client method
    (#858).
  • Updated product bundle spec to 2/24/23 version.

2.0.0-rc.1

06 Mar 19:16
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release

2.0.0-rc.1 (2023-03-06)

User Interface Changes:

  • Stdin is no longer the default for CLI arguments/options that read from
    stdin, string, or filename. To specify stdin, use -.
  • planet data filter cli command outputs empty filter by default, helpers must
    be specified with flags.

Changed:

  • Connect retries wait time adjusted from 1sec to just shy of 1sec to
    optimize distribution

Added:

  • Data CLI commands: asset-get, asset-download, asset-activate, asset-wait,
    search-run, search-list, search-update, search-delete
  • Add AssetStatusBar reporter, use in data asset-wait cli command
  • Add subscription request helper methods in python api
  • Add planet subscriptions request CLI command
  • Add support for base_url in subscriptions client
  • Add support for MultiPolygon in orders clip tool

Fixed:

  • Remove null printout from CLI subscriptions cancel command
  • Update session_configuration.py to latest api

2.0.0-beta.1

08 Dec 22:35
Compare
Choose a tag to compare
2.0.0-beta.1 Pre-release
Pre-release

Changed:

  • Auth.write() renamed to Auth.store() to match CLI command
  • CLI now only sources from the configuration file
  • the following functions were changed to generator functions and therefore no
    longer require awaits: OrdersClient.list_orders, DataClient.search,
    DataClient.run_search, SubscriptionsClient.list_results,
    SubscriptionsClient.list_subscriptions
  • CLI command planet orders request arguments have changed so only IDs is positional, all others are flags

Added:

  • support for Sentinel-2 as a target in the harmonization tool in
    orders_request
  • planet auth store CLI command for storing authentication info
    in the configuration file

Fixed:

  • status option for list_subscriptions now works
  • subscriptions list_results now returns more than the first page

2.0a6

10 Nov 20:00
Compare
Choose a tag to compare
2.0a6 Pre-release
Pre-release
  • Add SDK identification headers to communication with servers (#754).
  • Add new example (example subfolder): Downloading multiple assets in
    parallel (#722).

2.0a5

20 Oct 21:14
Compare
Choose a tag to compare
2.0a5 Pre-release
Pre-release
  • Implement python api data client asset download and supporting functions (#707).
  • planet data filter cli command outputs a valid empty filter if all
    subfilters are removed (#654).
  • 'planet orders request' cli command now provides supported bundles for a
    given item type, bundle and item type are case-insensitive, and bundle and
    item type are moved to positional arguments (#680).

2.0a3

07 Sep 16:33
Compare
Choose a tag to compare
2.0a3 Pre-release
Pre-release

This pre-release fixes a major Subscriptions bug and a regression introduced in 2.0a2.

Changes:

  • A change in behavior of httpx affected download of order assets in 2.0a2. We're working around this change in behavior (#685).
  • Subscriptions API methods communicating with particular subscription endpoints (cancel_subscription, update_subscription, get_subscription, and get_results) were broken due to missing 'f' prefixes (#687). The prefixes have been added.
  • STAC metadata can now be added to Orders requests (#676).
  • More help and better error messages around bundles and asset types have been added to the Orders API (#650, #675).
  • Help for planet-subscriptions-describe and update commands has been corrected, resolving the issue reported in #658.