Alteia

Latest version: v2.11.0

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

2.0.0

💣 Breaking changes
- Change signature `flights.search()`: new usage with `filter` parameter. Delete `project` and `mission` parameters
- Change signature `missions.search()`: new usage with `filter` parameter. Delete `missions`, `flights`, `project` and `deleted` parameters
- Change signature `projects.search()`: new usage with `filter` parameter. Delete `name` and `deleted` parameters
- Remove legacy `secret` argument in SDK init. Use `client_secret` instead.
- Remove legacy `company` argument in `share_tokens.search()`. Use `filter` instead.
- Delete `missions.complete_survey_upload()`: use `flights.update_status()` instead
- Delete `missions.rename()`: use `missions.update_name()` instead
- Delete `projects.rename()`: use `projects.update_name()` instead

🌟 New features
- Add `flights.describe_uploads_status()` to get flight incomplete uploads
- Add `flights.search_generator()` generator to search through flights
- Add `flights.update_name()` update the flight name
- Add `flights.update_survey_date()` update the flight survey date
- Add `flights.update_bbox()` update the flight bounding box
- Add `flights.update_status()` update the flight status
- Add `missions.search_generator()` generator to search through missions
- Add `missions.update_name()` update the mission name
- Add `missions.update_survey_date()` update the mission survey date
- Add `missions.update_bbox()` update the mission bounding box
- Add `missions.compute_bbox()` recompute automatically the mission bounding box
- Add `missions.create_archive()` request for an archive creation of mission photos
- Add `projects.search_generator()` generator to search through projects
- Add `projects.update_name()` update the project name
- Add `projects.update_geometry()` update the project geometry
- Add `projects.update_bbox()` update the project bounding box
- Add `projects.compute_bbox()` recompute automatically the project bounding box
- Add `projects.update_units()` update the project units
- Add `projects.update_srs()` update the project horizontal SRS and/or vertical SRS
- Add `projects.update_local_coordinates_dataset()`
- Add `projects.update_location()`update and/or fix the project location on the map

:nail_care: Improvements
- Change the default UserAgent value by adding Python and OS versions. Now is like this: `alteia-sdk/x.x.x Python/x.x.x (Linux-x.x.x-x-amd64-x86_64)`
- New argument `service` for SDK init, to add a service name in UserAgent
- New argument `kind` for `datasets.download_preview()`, allowing to download small previews, not only tiny
- Change signature `flights.describe()`: handle one or many IDs
- Change signature `missions.describe()`: handle one or many IDs
- Change signature `projects.describe()`: handle one or many IDs
- Improve all `describe()` methods when using a very big list of IDs
- Improve all `delete()` methods when using a very big list of IDs
- Add "How to upgrade" section in the documentation

:bug: Bugfix
- Fix chunk size calculation if more than 10000 parts when uploading a big file

1.3.7

:bug: Bugfix

- Fix bug in `sdk.datasets.share_tiles` function when sharing tiles for several datasets
- Display a warning or raise an exception if too many datasets are requested in `sdk.datasets.share_tiles`

1.3.6

:nail_care: Minor improvements

- Use "importlib" instead of "pkg_resources" to retrieve WKT strings
- Fix failure to parse some timestamps while retrieving products logs

1.3.5

:warning: Deprecation

- Instantiating `SDK` using the `secret` argument is deprecated, use the `client_secret` argument

🌟 New features

- New `sdk.features` and `sdk.collections` resource managers
- New manager `sdk.oauth_clients` to manage OAuth clients
- Allow `sdk.analytics.order()` to order an analytic by name and version
- New `sdk.analytics.describe_by_name()` to describe an analytic by name and version
- Method to revoke a token on `TokenManager` class

:nail_care: Minor improvements

- Increase timeout for upload multipart requests
- Increase timeout for API requests from 30s to 600s (10 min)
- Support `sort` parameter in `sdk.*.search_generator`

1.3.4

:bug: Bugfix

- Fix a bug making dataset creation impossible when some parameters were not set (regression introduced in v1.3.3)

1.3.3

:nail_care: Minor improvements

- Improve type hints and fix mypy errors
- Convert all formatted strings to the f-string syntax

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.