Releases: anaconda/anaconda-auth
v0.12.3
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
- fix: --ssl-verify overriding config.toml by @AlbertDeFusco in #199
- fix: Type validation for
ssl_verifyby @mattkram in #205
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
v0.12.1
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.
- fix: Use prefix-installed configuration data by @mcg1969 in #192
- chore: Properly configure all requests by @AlbertDeFusco in #195
Full Changelog: v0.12.0...v0.12.1
v0.12.0
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 = trueFeatures
- 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
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
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.tomlfile:[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.tomlfile:[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
- feat: Site configuration by @AlbertDeFusco in #125
- feat: Add SSL configuration support by @zfralish in #146
- feat: Add support for docker secrets to override default values by @mcg1969 in #156
- feat: Add support for device code grant by @rmyers in #129
- feat: Provide the full keyring in an env var or a secret by @mcg1969 in #155
- feat: Repo token generation support api keys by @AlbertDeFusco in #83
- feat: Add
anaconda token setby @zfralish in #157 - feat: Use singleton pattern for AnacondaAuthSitesConfig by @mcg1969 in #170
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_endpointin 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 whoamiby @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
- @mcg1969 made their first contribution in #153
- @zfralish made their first contribution in #146
- @rmyers made their first contribution in #129
Full Changelog: v0.10.0...v0.11.0
v0.11.0-rc.0
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
- feat: Site configuration by @AlbertDeFusco in #125
- feat: Add SSL configuration support by @zfralish in #146
- feat: Add support for docker secrets to override default values by @mcg1969 in #156
- feat: Add support for device code grant by @rmyers in #129
- feat: Provide the full keyring in an env var or a secret by @mcg1969 in #155
- feat: Repo token generation support api keys by @AlbertDeFusco in #83
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_endpointin 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
- @mcg1969 made their first contribution in #153
- @zfralish made their first contribution in #146
- @rmyers made their first contribution in #129
Full Changelog: v0.10.0...v0.11.0-rc.0
v0.10.0
What's Changed
Features & Associated Fixes
- feat: Add conda subcommand definition for conda-token by @mattkram in #136
- fix: Replace references to removed
python_apimodule 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-commitis 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
What's Changed
Bugfixes
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
What's Changed
Features
- Add optional
configargument toget_api_keyby @bagatao-anaconda in #86 - BIG-7234 | Update anaconda auth use unified token by @davidBConda in #107
- BIG-7481 add hostname header by @valinsky in #115
- refac: Rename config variable to include word "repo" for explicitness by @mattkram in #117
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
- @bagatao-anaconda made their first contribution in #86
- @davidBConda made their first contribution in #107
- @valinsky made their first contribution in #115
Full Changelog: v0.8.6...v0.9.0