Skip to content

Releases: anaconda/anaconda-auth

v0.12.3

15 Dec 21:15
3a291a9

Choose a tag to compare

What's Changed

Fixes two minor bugs related to handling of SSL certificate validation. The first is related to handling of the --ssl-verify CLI option. The second relates to cases where users may specify a path to their certificate via ssl_verify: /path/to/cert.pem in their conda configuration.

We also drop the default application of the anaconda-auth auth handler for default domains.

Fixes

Maintenance

  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.9 by @anaconda-renovate[bot] in #200
  • chore(deps): update actions/cache action to v5 by @anaconda-renovate[bot] in #201
  • chore(deps): update github artifact actions (major) by @anaconda-renovate[bot] in #202
  • chore: Remove special-handling of anaconda-cli-base dependency by @mattkram in #203

Full Changelog: v0.12.2...v0.12.3

v0.12.2

11 Dec 19:19
a6e02ce

Choose a tag to compare

What's Changed

Fixes a critical bug that can cause conda's context to be reset in certain scenarios.

  • fix: revert to the use of restore_context by @mcg1969 in #197

Full Changelog: v0.12.1...v0.12.2

v0.12.1

09 Dec 21:23
20b5d81

Choose a tag to compare

What's Changed

Fixes two issues related to configuration of conda channel_settings, and SSL/proxy configuration for requests originating in anaconda-auth in Enterprise environments.

With the latter fix, conda's SSL and proxy configuration are loaded from anaconda-auth, but can also be overridden (or specified separately). This allows users to maintain existing configuration in a single place, vs specifying across multiple configuration files.

Full Changelog: v0.12.0...v0.12.1

v0.12.0

04 Dec 22:04
e576976

Choose a tag to compare

What's Changed

In this release, the loading of site configuration is refactored to enable improvements to user experience around multi-site support, and in automated use cases when passing API keys and other configuration into Dockerfiles. This release is associated with coordinated changes in anaconda-cli-base v0.7.0.

Additionally, we now support automatic configuration of the anaconda-auth conda auth handler plugin to allow authenticated repository access without requiring .condarc configuration. This behavior will be engaged when accessing repo.anaconda.cloud and repo.anaconda.com, however note that the specific authentication requirements are channel-specific. Automatic configuration can be disabled by setting the following in your ~/.anaconda/config.toml file:

[plugin.auth]
disable_conda_auto_config = true

Features

  • feat: Improved loading of site configuration by @AlbertDeFusco in #171
  • feat: Auto configuration of the conda plugin by @mcg1969 in #175
  • feat: Add setting to disable auto-configuration of the conda auth handler plugin by @mattkram in #181

Fixes

Maintenance

  • chore(deps): update actions/checkout action to v6 by @anaconda-renovate[bot] in #174
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.6 by @anaconda-renovate[bot] in #176
  • chore(deps): update actions/setup-python action to v6.1.0 by @anaconda-renovate[bot] in #177
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.7 by @anaconda-renovate[bot] in #179
  • chore(deps): update actions/checkout action to v6.0.1 by @anaconda-renovate[bot] in #185
  • chore: Test matrix to include π by @AlbertDeFusco in #187
  • chore(deps): Update dependency on anaconda-cli-base by @mattkram in #183
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.8 by @anaconda-renovate[bot] in #190

Full Changelog: v0.11.0...v0.12.0

v0.12.0-rc.0

02 Dec 18:22
5a818eb

Choose a tag to compare

v0.12.0-rc.0 Pre-release
Pre-release

What's Changed

  • feat: Improved loading of site configuration by @AlbertDeFusco in #171
  • chore(deps): update actions/checkout action to v6 by @anaconda-renovate[bot] in #174
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.6 by @anaconda-renovate[bot] in #176
  • chore(deps): update actions/setup-python action to v6.1.0 by @anaconda-renovate[bot] in #177
  • feat: Auto configuration of the conda plugin by @mcg1969 in #175
  • fix: fix help string for subcommand by @mcg1969 in #178
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.7 by @anaconda-renovate[bot] in #179
  • feat: Add setting to disable auto-configuration of the conda auth handler plugin by @mattkram in #181

Full Changelog: v0.11.0...v0.12.0-rc.0

v0.11.0

19 Nov 17:09
af0e173

Choose a tag to compare

Summary

This release contains several new features and bugfixes. In particular:

  • We add multi-site support, to allow login to self-hosted instances in addition to anaconda.com and anaconda.org. This can be enabled by setting the following in your ~/.anaconda/config.toml file:

     [sites."internal"]
     domain = "internal-instance.my-company.com"
  • We optionally add support for the device grant flow, which can be used in the absence of a browser. This can be enabled by setting the following in your ~/.anaconda/config.toml file:

     [plugin.auth]
     use_device_flow = true
  • Improvements to loading of configuration for authenticated repository access in Docker files. Namely, we enable automatic identification of the API key when using Docker secrets:

     docker build --secret id=ANACONDA_AUTH_API_KEY -t <IMAGE_NAME>

Features

Fixes

  • fix: Allow extra args and -h for help in anaconda auth callback to support anaconda-client migration by @mattkram in #150
  • fix: Soft fail missing anaconda tokens by @mcg1969 in #153
  • fix: Remove conda PendingDeprecationWarning's by @mattkram in #145
  • fix: Remove stray print by @zfralish in #160
  • fix: Handle missing device_authorization_endpoint in OpenID configuration by @mattkram in #163
  • fix: set token cmd should not require an org-name arg CLI-124 by @zfralish in #164
  • fix: Inject domain into console output for anaconda auth whoami by @mattkram in #168
  • chore(deps): update actions/checkout action to v5.0.1 by @anaconda-renovate[bot] in #169

Maintenance

  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.0 by @anaconda-renovate[bot] in #140
  • chore(deps): update dependency python to 3.14 by @anaconda-renovate[bot] in #139
  • chore(deps): update pre-commit hook python-jsonschema/check-jsonschema to v0.34.1 by @anaconda-renovate[bot] in #141
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.1 by @anaconda-renovate[bot] in #143
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.2 by @anaconda-renovate[bot] in #147
  • chore(deps): update github artifact actions (major) by @anaconda-renovate[bot] in #148
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.3 by @anaconda-renovate[bot] in #154
  • refac: Ensure isolated condarc for tests by @mattkram in #144
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.4 by @anaconda-renovate[bot] in #162
  • chore(deps): update pre-commit hook python-jsonschema/check-jsonschema to v0.35.0 by @anaconda-renovate[bot] in #165
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.5 by @anaconda-renovate[bot] in #166

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.11.0-rc.0

10 Nov 18:45
46efdee

Choose a tag to compare

v0.11.0-rc.0 Pre-release
Pre-release

Summary

This release contains several new features and bugfixes. In particular:

  • We add multi-site support, to allow login to self-hosted instances in addition to anaconda.com
  • We optionally add support for the device grant flow, which can be used in the absence of a browser
  • We add improvements to loading of configuration for authenticated repository access in Docker files

Features

Fixes

  • fix: Allow extra args and -h for help in anaconda auth callback to support anaconda-client migration by @mattkram in #150
  • fix: Soft fail missing anaconda tokens by @mcg1969 in #153
  • fix: Remove conda PendingDeprecationWarning's by @mattkram in #145
  • fix: Remove stray print by @zfralish in #160
  • fix: Handle missing device_authorization_endpoint in OpenID configuration by @mattkram in #163

Maintenance

  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.0 by @anaconda-renovate[bot] in #140
  • chore(deps): update dependency python to 3.14 by @anaconda-renovate[bot] in #139
  • chore(deps): update pre-commit hook python-jsonschema/check-jsonschema to v0.34.1 by @anaconda-renovate[bot] in #141
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.1 by @anaconda-renovate[bot] in #143
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.2 by @anaconda-renovate[bot] in #147
  • chore(deps): update github artifact actions (major) by @anaconda-renovate[bot] in #148
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.3 by @anaconda-renovate[bot] in #154
  • refac: Ensure isolated condarc for tests by @mattkram in #144
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.4 by @anaconda-renovate[bot] in #162

New Contributors

Full Changelog: v0.10.0...v0.11.0-rc.0

v0.10.0

07 Oct 13:17
91534cd

Choose a tag to compare

What's Changed

Features & Associated Fixes

  • feat: Add conda subcommand definition for conda-token by @mattkram in #136
  • fix: Replace references to removed python_api module in conda by @mattkram in #137
  • chore(deps): Update conda-token lower bound to force the metapackage by @mattkram in #138

Maintenance

  • fix: Ensure pre-commit is run in CI by @mattkram in #131
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.13.3 by @anaconda-renovate[bot] in #135

Full Changelog: v0.9.1...v0.10.0

v0.9.1

29 Sep 13:41
3912d63

Choose a tag to compare

What's Changed

Bugfixes

  • fix: Remove duplicate definition of --strong CLI option by @mattkram in #123

Maintenance

  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.11 by @anaconda-renovate[bot] in #118
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.12 by @anaconda-renovate[bot] in #120
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.13.0 by @anaconda-renovate[bot] in #121
  • chore(deps): update actions/setup-python action to v6 by @anaconda-renovate[bot] in #119
  • chore(deps): update pre-commit hook python-jsonschema/check-jsonschema to v0.34.0 by @anaconda-renovate[bot] in #124
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.13.1 by @anaconda-renovate[bot] in #126
  • chore(deps): update actions/cache action to v4.3.0 by @anaconda-renovate[bot] in #128
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.13.2 by @anaconda-renovate[bot] in #130

Full Changelog: v0.9.0...v0.9.1

v0.9.0

27 Aug 16:57
083bad7

Choose a tag to compare

What's Changed

Features

Dependency Updates

  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.11.11 by @anaconda-renovate[bot] in #84
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.11.12 by @anaconda-renovate[bot] in #85
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.11.13 by @anaconda-renovate[bot] in #87
  • chore(deps): update conda-incubator/setup-miniconda action to v3.2.0 - autoclosed by @anaconda-renovate[bot] in #88
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.0 by @anaconda-renovate[bot] in #89
  • chore(deps): update pre-commit hook python-jsonschema/check-jsonschema to v0.33.1 by @anaconda-renovate[bot] in #90
  • chore(deps): update pre-commit hook macisamuele/language-formatters-pre-commit-hooks to v2.15.0 by @anaconda-renovate[bot] in #91
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.1 by @anaconda-renovate[bot] in #92
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.2 by @anaconda-renovate[bot] in #93
  • chore(deps): update pre-commit hook python-jsonschema/check-jsonschema to v0.33.2 by @anaconda-renovate[bot] in #94
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.3 by @anaconda-renovate[bot] in #97
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.4 by @anaconda-renovate[bot] in #100
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.5 by @anaconda-renovate[bot] in #101
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.7 by @anaconda-renovate[bot] in #103
  • chore(deps): update actions/cache action to v4.2.4 by @anaconda-renovate[bot] in #105
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.8 by @anaconda-renovate[bot] in #106
  • chore(deps): update actions/checkout action to v4.3.0 by @anaconda-renovate[bot] in #108
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.9 by @anaconda-renovate[bot] in #112
  • chore(deps): update pre-commit hook python-jsonschema/check-jsonschema to v0.33.3 by @anaconda-renovate[bot] in #114
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.10 by @anaconda-renovate[bot] in #116
  • chore(deps): update actions/download-artifact action to v5 by @anaconda-renovate[bot] in #104
  • chore(deps): update actions/checkout action to v5 by @anaconda-renovate[bot] in #109
  • chore(deps): update actions/upload-pages-artifact action to v4 by @anaconda-renovate[bot] in #113
  • chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 by @anaconda-renovate[bot] in #110

New Contributors

Full Changelog: v0.8.6...v0.9.0