Skip to content

Commit 7d0a92c

Browse files
chore(release): version packages
1 parent e46c4cd commit 7d0a92c

8 files changed

Lines changed: 90 additions & 35 deletions

File tree

.changeset/fix-gridland-react-singleton.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/generic-git-auth-connections.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

packages/api/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# @effect-template/api
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- [#393](https://github.com/ProverCoderAI/docker-git/pull/393) [`021f857`](https://github.com/ProverCoderAI/docker-git/commit/021f8577fa61b893f470a58e3846fb3e0aa89076) Thanks [@konard](https://github.com/konard)! - feat(auth): add generic per-host git connections via token
8+
9+
Adds a new `git` auth provider so connections to git hosts other than
10+
github.com/gitlab.com (Gitea, Bitbucket, self-hosted, ...) can be configured
11+
by simply supplying a token, addressing issue [#368](https://github.com/ProverCoderAI/docker-git/issues/368).
12+
13+
- CLI: `docker-git auth git login --host <host> --token <token> [--user <user>]`,
14+
`docker-git auth git status`, and `docker-git auth git logout --host <host>`.
15+
Tokens are persisted to the shared env file as host-scoped
16+
`GIT_AUTH_TOKEN__<HOST_KEY>` / `GIT_AUTH_USER__<HOST_KEY>` keys.
17+
- API: `GET /auth/git/status`, `POST /auth/git/login`, and `POST /auth/git/logout`.
18+
The status payload reports only the host and HTTPS username — token values
19+
are never returned.
20+
- Container: the in-container HTTPS credential helper now resolves per-host
21+
generic tokens first (matching the CLI/web host normalization: uppercase,
22+
non-alphanumeric → `_`, trimmed), then falls back to the github/gitlab
23+
defaults and the global `GIT_AUTH_TOKEN`. Host-scoped credentials are also
24+
exported to login and SSH shells so clone/push work outside the entrypoint.
25+
26+
This also lets GitHub/GitLab connections be set up non-interactively by
27+
providing a token (`--token`) instead of running an OAuth web flow.
28+
29+
### Patch Changes
30+
31+
- Updated dependencies [[`021f857`](https://github.com/ProverCoderAI/docker-git/commit/021f8577fa61b893f470a58e3846fb3e0aa89076)]:
32+
- @effect-template/lib@1.2.0
33+
334
## 0.1.2
435

536
### Patch Changes

packages/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@effect-template/api",
3-
"version": "0.1.2",
3+
"version": "0.2.0",
44
"private": true,
55
"description": "docker-git API controller",
66
"main": "dist/src/main.js",

packages/app/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# @prover-coder-ai/docker-git
22

3+
## 1.2.0
4+
5+
### Minor Changes
6+
7+
- [#393](https://github.com/ProverCoderAI/docker-git/pull/393) [`021f857`](https://github.com/ProverCoderAI/docker-git/commit/021f8577fa61b893f470a58e3846fb3e0aa89076) Thanks [@konard](https://github.com/konard)! - feat(auth): add generic per-host git connections via token
8+
9+
Adds a new `git` auth provider so connections to git hosts other than
10+
github.com/gitlab.com (Gitea, Bitbucket, self-hosted, ...) can be configured
11+
by simply supplying a token, addressing issue [#368](https://github.com/ProverCoderAI/docker-git/issues/368).
12+
13+
- CLI: `docker-git auth git login --host <host> --token <token> [--user <user>]`,
14+
`docker-git auth git status`, and `docker-git auth git logout --host <host>`.
15+
Tokens are persisted to the shared env file as host-scoped
16+
`GIT_AUTH_TOKEN__<HOST_KEY>` / `GIT_AUTH_USER__<HOST_KEY>` keys.
17+
- API: `GET /auth/git/status`, `POST /auth/git/login`, and `POST /auth/git/logout`.
18+
The status payload reports only the host and HTTPS username — token values
19+
are never returned.
20+
- Container: the in-container HTTPS credential helper now resolves per-host
21+
generic tokens first (matching the CLI/web host normalization: uppercase,
22+
non-alphanumeric → `_`, trimmed), then falls back to the github/gitlab
23+
defaults and the global `GIT_AUTH_TOKEN`. Host-scoped credentials are also
24+
exported to login and SSH shells so clone/push work outside the entrypoint.
25+
26+
This also lets GitHub/GitLab connections be set up non-interactively by
27+
providing a token (`--token`) instead of running an OAuth web flow.
28+
29+
### Patch Changes
30+
31+
- [#386](https://github.com/ProverCoderAI/docker-git/pull/386) [`e6cd158`](https://github.com/ProverCoderAI/docker-git/commit/e6cd15842cb17214accfff7a3e3a879599221be6) Thanks [@konard](https://github.com/konard)! - Pin React and React DOM to the Gridland renderer-compatible 19.2.4 release so the CLI menu keeps a single valid React hook dispatcher.
32+
333
## 1.1.56
434

535
### Patch Changes

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prover-coder-ai/docker-git",
3-
"version": "1.1.56",
3+
"version": "1.2.0",
44
"description": "docker-git Bun and Gridland CLI plus browser frontend",
55
"main": "dist/src/docker-git/main.js",
66
"bin": {

packages/lib/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @effect-template/lib
22

3+
## 1.2.0
4+
5+
### Minor Changes
6+
7+
- [#393](https://github.com/ProverCoderAI/docker-git/pull/393) [`021f857`](https://github.com/ProverCoderAI/docker-git/commit/021f8577fa61b893f470a58e3846fb3e0aa89076) Thanks [@konard](https://github.com/konard)! - feat(auth): add generic per-host git connections via token
8+
9+
Adds a new `git` auth provider so connections to git hosts other than
10+
github.com/gitlab.com (Gitea, Bitbucket, self-hosted, ...) can be configured
11+
by simply supplying a token, addressing issue [#368](https://github.com/ProverCoderAI/docker-git/issues/368).
12+
13+
- CLI: `docker-git auth git login --host <host> --token <token> [--user <user>]`,
14+
`docker-git auth git status`, and `docker-git auth git logout --host <host>`.
15+
Tokens are persisted to the shared env file as host-scoped
16+
`GIT_AUTH_TOKEN__<HOST_KEY>` / `GIT_AUTH_USER__<HOST_KEY>` keys.
17+
- API: `GET /auth/git/status`, `POST /auth/git/login`, and `POST /auth/git/logout`.
18+
The status payload reports only the host and HTTPS username — token values
19+
are never returned.
20+
- Container: the in-container HTTPS credential helper now resolves per-host
21+
generic tokens first (matching the CLI/web host normalization: uppercase,
22+
non-alphanumeric → `_`, trimmed), then falls back to the github/gitlab
23+
defaults and the global `GIT_AUTH_TOKEN`. Host-scoped credentials are also
24+
exported to login and SSH shells so clone/push work outside the entrypoint.
25+
26+
This also lets GitHub/GitLab connections be set up non-interactively by
27+
providing a token (`--token`) instead of running an OAuth web flow.
28+
329
## 1.1.1
430

531
### Patch Changes

packages/lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@effect-template/lib",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"private": true,
55
"description": "Shared business logic (docker-git orchestrator core)",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)