Skip to content

chore: release 1.2.0 - #17

Merged
ciehanski merged 3 commits into
mainfrom
chore/release-1.2.0
Sep 29, 2026
Merged

ciehanski merged 3 commits into
mainfrom
chore/release-1.2.0

Conversation

@ciehanski

Copy link
Copy Markdown
Member

The session file (~/.dpctl.config) holds a live access key and was written with the default mode, so anyone else on the machine could read it. It's now written at 0600, via a temp file and rename so an interrupted write can't truncate it. It's also repaired on read, not just on write: anyone already logged in never takes a write path again, so otherwise their key would stay world-readable forever.

dpctl now sends a User-Agent. Node's superagent sends none of its own, and the API and dashboard already expect dpctl/1.2.0 (rest-headers.ts says as much in a comment), so without it every CLI login shows up nameless in Recent Logins.

Then the release itself: version, npm keywords, and files: bin/** -> bin/script/**, which was shipping the compiled tests to everyone who installed. README now leads with npm install -g @deploypulseio/dpctl instead of telling people to clone the repo.

@ciehanski
ciehanski merged commit cbc44a3 into main Sep 29, 2026
3 checks passed
@ciehanski
ciehanski deleted the chore/release-1.2.0 branch September 29, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant