Skip to content

Commit 1243099

Browse files
committed
chore(release): 2.0.1
Fixes for shell tab-completion — bump completion cache TTL to 5 min and make the --region callback respect --profile / ORCA_PROFILE. See CHANGELOG.md.
1 parent d2bfdaa commit 1243099

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ All notable changes to orca are documented here. The format follows
44
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project
55
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.0.1] — 2026-04-22
8+
9+
### Fixed
10+
11+
- **Shell tab-completion triggered a fresh Keystone auth every 30 s.**
12+
The completion cache TTL was 30 seconds, so on an active terminal
13+
where the user kept typing, most tab presses after the first 30 s
14+
fell back to a cold fetch (auth + HTTP list). Extended the TTL to
15+
5 minutes — completion data (server names, flavor IDs, region
16+
lists) changes slowly and the old short TTL made the tab key feel
17+
sluggish.
18+
- **Region completion mixed results across profiles.** The
19+
``--region`` completion callback cached every region list under
20+
the same ``default_regions.json`` file regardless of
21+
``--profile`` / ``ORCA_PROFILE``, so a user with several profiles
22+
pointing at different clouds saw the other cloud's regions. The
23+
callback now resolves the active profile and caches per-profile
24+
(``<profile>_regions.json``), matching the behaviour of the other
25+
completion callbacks in ``orca_cli/core/completions.py``.
26+
727
## [2.0.0] — 2026-04-22
828

929
### Changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "orca-openstackclient"
7-
version = "2.0.0"
7+
version = "2.0.1"
88
description = "orca — OpenStack Rich Command-line Alternative"
99
authors = ["Kevin Allioli"]
1010
license = "Apache-2.0"

0 commit comments

Comments
 (0)