Changelog
2.4.0 (2023-04-13)
Add support for registering, unregistering, and listing names, with usage examples in integration tests.
Handle keyring unlocking errors
2.3.0 (2022-10-07)
Add support for exporting the new credentials format (which is backwards compatible with the existing one)
2.2.1 (2022-08-25)
Export
craft_store.models.SnapListReleasesModel
andcraft_store.models.CharmListReleasesModel
Remove incorrectly exported SnapChannelMapModel and CharmChannelMapModel
Make bases optional in
craft_store.models.SnapListReleasesModel
2.2.0 (2022-08-11)
Refactor common code in endpoints
Export new symbols in craft_store.models:
craft_store.models.CharmChannelMapModel
craft_store.models.SnapChannelMapModel
Catch the correct
JSONDecodeError
2.1.1 (2022-04-26)
Update macaroon refresh logic for
craft_store.UbuntuOneStoreClient
2.1.0 (2022-03-19)
Support for ephemeral logins in
craft_store.BaseClient
New endpoint to complete the upload experience
craft_store.BaseClient.notify_revision()
New endpoint to release
craft_store.BaseClient.release()
and retrieve release informationcraft_store.BaseClient.get_list_releases()
Support for Python 3.10
2.0.1 (2022-02-10)
Convert login expiration to a ISO formatted datetime for Ubuntu endpoints
Raise
craft_store.errors.CredentialsNotParseable
on base64 decode errorsUse network location as keyring storage location instead of full base url in
craft_store.base_client.BaseClient
2.0.0 (2022-02-07)
New endpoint for uploads to storage,
craft_store.StoreClient
andcraft_store.UbuntuOneStoreClient
require a new initialization new parameterSetting credentials while credentials are already set is no longer allowed
craft_store.errors.CredentialsAlreadyAvailable
is raised if credentials already existNotLoggedIn exception renamed to
craft_store.errors.CredentialsUnavailable
Early checks are now in place for keyring availability before a login attempt takes place
1.2.0 (2021-12-09)
New whoami endpoint for
craft_store.endpoints.CHARMHUB
New class to provide login support for Ubuntu One SSO
craft_store.UbuntuOneStoreClient
1.1.0 (2021-11-19)
Support for channels and packages in endpoints
craft_store.store_client.StoreClient
support for retrieving credentials from an environment variableLogin credentials now returned from
craft_store.BaseClient.login()
1.0.0 (2021-10-21)
Initial release