infrahub-git-credential-helper 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. infrahub_git_credential_helper-0.3.1/.claude/commands/release.md +36 -0
  2. infrahub_git_credential_helper-0.3.1/.dockerignore +12 -0
  3. infrahub_git_credential_helper-0.3.1/.github/workflows/ci-docker-image.yml +117 -0
  4. infrahub_git_credential_helper-0.3.1/.github/workflows/ci.yml +99 -0
  5. infrahub_git_credential_helper-0.3.1/.github/workflows/release.yml +179 -0
  6. infrahub_git_credential_helper-0.3.1/.gitignore +5 -0
  7. infrahub_git_credential_helper-0.3.1/.goreleaser.yml +49 -0
  8. infrahub_git_credential_helper-0.3.1/AGENTS.md +32 -0
  9. infrahub_git_credential_helper-0.3.1/CHANGELOG.md +53 -0
  10. infrahub_git_credential_helper-0.3.1/Cargo.lock +1177 -0
  11. infrahub_git_credential_helper-0.3.1/Cargo.toml +30 -0
  12. infrahub_git_credential_helper-0.3.1/Dockerfile +41 -0
  13. infrahub_git_credential_helper-0.3.1/LICENSE.txt +201 -0
  14. infrahub_git_credential_helper-0.3.1/Makefile +33 -0
  15. infrahub_git_credential_helper-0.3.1/PKG-INFO +109 -0
  16. infrahub_git_credential_helper-0.3.1/README.md +92 -0
  17. infrahub_git_credential_helper-0.3.1/dev/ARCHITECTURE.md +52 -0
  18. infrahub_git_credential_helper-0.3.1/dev/COMPATIBILITY.md +26 -0
  19. infrahub_git_credential_helper-0.3.1/dev/DOCKER.md +25 -0
  20. infrahub_git_credential_helper-0.3.1/dev/PACKAGING.md +76 -0
  21. infrahub_git_credential_helper-0.3.1/dev/RELEASE.md +60 -0
  22. infrahub_git_credential_helper-0.3.1/dev/commands/release.md +36 -0
  23. infrahub_git_credential_helper-0.3.1/pyproject.toml +31 -0
  24. infrahub_git_credential_helper-0.3.1/schema/schema.graphql +25184 -0
  25. infrahub_git_credential_helper-0.3.1/src/bin/infrahub-git-askpass.rs +70 -0
  26. infrahub_git_credential_helper-0.3.1/src/bin/infrahub-git-credential.rs +176 -0
  27. infrahub_git_credential_helper-0.3.1/src/graphql/get_repo_credential.graphql +24 -0
  28. infrahub_git_credential_helper-0.3.1/src/lib.rs +478 -0
@@ -0,0 +1,36 @@
1
+ ---
2
+ description: Cut a new release (bumps version, commits, tags, pushes, creates GitHub release)
3
+ argument-hint: <version>
4
+ ---
5
+
6
+ Cut a new release for version `$ARGUMENTS`.
7
+
8
+ Follow the process documented in `dev/RELEASE.md`. The user has already updated `CHANGELOG.md` with a new section for this version.
9
+
10
+ Do the following, stopping and reporting if any check fails:
11
+
12
+ 1. **Preflight checks**:
13
+ - Working tree is clean (`git status --porcelain` is empty)
14
+ - Current branch is `main`
15
+ - Local `main` matches `origin/main` (run `git fetch origin main` first)
16
+ - Tag `v$ARGUMENTS` does not already exist
17
+ - `CHANGELOG.md` contains a `## [$ARGUMENTS]` section at the top
18
+ - `$ARGUMENTS` is a valid semver (`X.Y.Z`)
19
+
20
+ 2. **Bump version**: update the `version = "..."` line in `Cargo.toml` to `$ARGUMENTS`.
21
+
22
+ 3. **Sync lockfile**: run `cargo check` so `Cargo.lock` reflects the new version.
23
+
24
+ 4. **Extract release notes**: read the section for `$ARGUMENTS` from `CHANGELOG.md` (everything between the `## [$ARGUMENTS]` heading and the next `## [` heading, excluding the heading itself).
25
+
26
+ 5. **Show the release notes to the user and ask for confirmation** before proceeding. If the user declines, revert `Cargo.toml` and `Cargo.lock` changes and stop.
27
+
28
+ 6. On confirmation:
29
+ - Commit `Cargo.toml`, `Cargo.lock`, and `CHANGELOG.md` with message `Release v$ARGUMENTS`
30
+ - Create tag `v$ARGUMENTS`
31
+ - Push `main` and the tag: `git push origin main v$ARGUMENTS`
32
+ - Create the GitHub release: `gh release create v$ARGUMENTS --title v$ARGUMENTS --notes "<extracted notes>"`
33
+
34
+ 7. Report the release URL.
35
+
36
+ Do NOT add a Claude co-author line to the commit.
@@ -0,0 +1,12 @@
1
+ target/
2
+ .git/
3
+ .github/
4
+ .omc/
5
+ .claude/
6
+ dev/
7
+ *.md
8
+ LICENSE.txt
9
+ Makefile
10
+ .goreleaser.yml
11
+ .dockerignore
12
+ .gitignore
@@ -0,0 +1,117 @@
1
+ ---
2
+ name: Build And Push Docker image
3
+
4
+ "on":
5
+ workflow_call:
6
+ inputs:
7
+ publish:
8
+ type: boolean
9
+ description: Whether to publish the image to the registry
10
+ required: false
11
+ default: false
12
+ ref:
13
+ type: string
14
+ required: true
15
+ description: The git ref to build from
16
+ tags:
17
+ type: string
18
+ required: true
19
+ description: The tags for the docker image
20
+ labels:
21
+ type: string
22
+ required: true
23
+ description: The labels for the docker image
24
+
25
+ concurrency:
26
+ group: ${{ github.workflow }}-${{ inputs.ref }}
27
+ cancel-in-progress: true
28
+
29
+ env:
30
+ DOCKERFILE: "Dockerfile"
31
+ REGISTRY_IMAGE: ${{ vars.HARBOR_HOST }}/${{ github.repository }}
32
+
33
+ jobs:
34
+ build:
35
+ runs-on: ${{ matrix.runner }}
36
+ strategy:
37
+ fail-fast: false
38
+ matrix:
39
+ include:
40
+ - platform: linux/amd64
41
+ runner: ubuntu-24.04
42
+ - platform: linux/arm64
43
+ runner: ubuntu-24.04-arm
44
+ steps:
45
+ - name: Checkout
46
+ uses: actions/checkout@v6
47
+ with:
48
+ ref: ${{ inputs.ref }}
49
+
50
+ - name: Set up Docker Buildx
51
+ uses: docker/setup-buildx-action@v4
52
+
53
+ - name: Login to registry
54
+ if: ${{ inputs.publish }}
55
+ uses: docker/login-action@v4
56
+ with:
57
+ registry: ${{ vars.HARBOR_HOST }}
58
+ username: ${{ secrets.HARBOR_USERNAME }}
59
+ password: ${{ secrets.HARBOR_PASSWORD }}
60
+
61
+ - name: Build and push by digest
62
+ id: build
63
+ uses: docker/build-push-action@v7
64
+ with:
65
+ context: .
66
+ file: ${{ env.DOCKERFILE }}
67
+ provenance: false
68
+ platforms: ${{ matrix.platform }}
69
+ labels: ${{ inputs.labels }}
70
+ outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=${{ inputs.publish }}
71
+
72
+ - name: Export digest
73
+ if: ${{ inputs.publish }}
74
+ run: |
75
+ mkdir -p /tmp/digests
76
+ digest="${{ steps.build.outputs.digest }}"
77
+ touch "/tmp/digests/${digest#sha256:}"
78
+
79
+ - name: Upload digest
80
+ if: ${{ inputs.publish }}
81
+ uses: actions/upload-artifact@v7
82
+ with:
83
+ name: digests-${{ matrix.runner }}
84
+ path: /tmp/digests/*
85
+ if-no-files-found: error
86
+ retention-days: 1
87
+
88
+ merge:
89
+ runs-on: ubuntu-latest
90
+ if: ${{ inputs.publish }}
91
+ needs: build
92
+ steps:
93
+ - name: Download digests
94
+ uses: actions/download-artifact@v7
95
+ with:
96
+ path: /tmp/digests
97
+ pattern: digests-*
98
+ merge-multiple: true
99
+
100
+ - name: Set up Docker Buildx
101
+ uses: docker/setup-buildx-action@v4
102
+
103
+ - name: Login to registry
104
+ uses: docker/login-action@v4
105
+ with:
106
+ registry: ${{ vars.HARBOR_HOST }}
107
+ username: ${{ secrets.HARBOR_USERNAME }}
108
+ password: ${{ secrets.HARBOR_PASSWORD }}
109
+
110
+ - name: Create manifest list and push
111
+ working-directory: /tmp/digests
112
+ env:
113
+ TAGS: ${{ inputs.tags }}
114
+ run: |
115
+ tag_args=$(echo "$TAGS" | xargs printf -- '--tag %s\n')
116
+ digest_args=$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
117
+ docker buildx imagetools create $tag_args $digest_args
@@ -0,0 +1,99 @@
1
+ ---
2
+ name: CI
3
+
4
+ "on":
5
+ push:
6
+ branches: [main]
7
+ pull_request:
8
+ branches: [main]
9
+
10
+ env:
11
+ CARGO_TERM_COLOR: always
12
+
13
+ jobs:
14
+ fmt:
15
+ name: Formatting
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v6
19
+ - uses: dtolnay/rust-toolchain@stable
20
+ with:
21
+ components: rustfmt
22
+ - run: cargo fmt --check
23
+
24
+ clippy:
25
+ name: Clippy
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - uses: actions/checkout@v6
29
+ - uses: dtolnay/rust-toolchain@stable
30
+ with:
31
+ components: clippy
32
+ - uses: Swatinem/rust-cache@v2
33
+ - run: cargo clippy -- -D warnings
34
+
35
+ schema:
36
+ name: Schema Compatibility
37
+ runs-on: ubuntu-latest
38
+ steps:
39
+ - uses: actions/checkout@v6
40
+ - uses: dtolnay/rust-toolchain@stable
41
+ - uses: Swatinem/rust-cache@v2
42
+ - name: Fetch latest schema from Infrahub
43
+ run: curl -sL https://raw.githubusercontent.com/opsmill/infrahub/stable/schema/schema.graphql -o schema/schema.graphql
44
+ - name: Verify queries compile against latest schema
45
+ run: cargo check
46
+
47
+ test:
48
+ name: Test
49
+ runs-on: ubuntu-latest
50
+ steps:
51
+ - uses: actions/checkout@v6
52
+ - uses: dtolnay/rust-toolchain@stable
53
+ - uses: Swatinem/rust-cache@v2
54
+ - run: cargo test -- --test-threads=1
55
+
56
+ build:
57
+ name: Build
58
+ runs-on: ubuntu-latest
59
+ steps:
60
+ - uses: actions/checkout@v6
61
+ - uses: dtolnay/rust-toolchain@stable
62
+ - uses: Swatinem/rust-cache@v2
63
+ - run: cargo build --release
64
+
65
+ wheel:
66
+ name: Wheel (${{ matrix.target }})
67
+ # Same targets as release.yml, so a broken runner fails a PR, not a release.
68
+ strategy:
69
+ fail-fast: false
70
+ matrix:
71
+ include:
72
+ - runner: ubuntu-latest
73
+ target: x86_64-unknown-linux-gnu
74
+ - runner: ubuntu-24.04-arm
75
+ target: aarch64-unknown-linux-gnu
76
+ - runner: macos-latest
77
+ target: x86_64-apple-darwin
78
+ - runner: macos-latest
79
+ target: aarch64-apple-darwin
80
+ runs-on: ${{ matrix.runner }}
81
+ steps:
82
+ - uses: actions/checkout@v6
83
+ - name: Build wheel
84
+ uses: PyO3/maturin-action@v1
85
+ with:
86
+ target: ${{ matrix.target }}
87
+ args: --release --out dist
88
+ manylinux: auto
89
+ sccache: "true"
90
+
91
+ docker:
92
+ name: Docker
93
+ uses: ./.github/workflows/ci-docker-image.yml
94
+ secrets: inherit
95
+ with:
96
+ publish: false
97
+ ref: ${{ github.sha }}
98
+ tags: ${{ github.repository }}:ci
99
+ labels: ""
@@ -0,0 +1,179 @@
1
+ ---
2
+ # yamllint disable rule:line-length
3
+ name: Release
4
+
5
+ "on":
6
+ release:
7
+ types:
8
+ - published
9
+
10
+ jobs:
11
+ check-release:
12
+ runs-on: ubuntu-latest
13
+ outputs:
14
+ version: ${{ steps.release.outputs.version }}
15
+ major_minor_version: ${{ steps.release.outputs.major_minor_version }}
16
+ is_prerelease: ${{ steps.release.outputs.is_prerelease }}
17
+ latest_tag: ${{ steps.release.outputs.latest_tag }}
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v6
21
+
22
+ - name: Extract version from Cargo.toml
23
+ id: release
24
+ run: |
25
+ version=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/')
26
+ major=$(echo "$version" | cut -d. -f1)
27
+ minor=$(echo "$version" | cut -d. -f2)
28
+ patch=$(echo "$version" | cut -d. -f3 | cut -d- -f1)
29
+ prerelease=$(echo "$version" | grep -c '-' || true)
30
+
31
+ echo "version=$version" >> "$GITHUB_OUTPUT"
32
+ echo "major_minor_version=$major.$minor" >> "$GITHUB_OUTPUT"
33
+ echo "is_prerelease=$prerelease" >> "$GITHUB_OUTPUT"
34
+
35
+ latest_tag=$(curl -sL \
36
+ -H "Accept: application/vnd.github+json" \
37
+ -H "Authorization: Bearer ${{ github.token }}" \
38
+ -H "X-GitHub-Api-Version: 2022-11-28" \
39
+ "https://api.github.com/repos/${{ github.repository }}/releases/latest" \
40
+ | jq -r '.tag_name')
41
+ echo "latest_tag=$latest_tag" >> "$GITHUB_OUTPUT"
42
+
43
+ - name: Check tag matches Cargo.toml version
44
+ if: github.event.release.tag_name != format('v{0}', steps.release.outputs.version)
45
+ run: |
46
+ echo "Tag ${{ github.event.release.tag_name }} does not match Cargo.toml version v${{ steps.release.outputs.version }}"
47
+ exit 1
48
+
49
+ test:
50
+ runs-on: ubuntu-latest
51
+ steps:
52
+ - uses: actions/checkout@v6
53
+ - uses: dtolnay/rust-toolchain@stable
54
+ with:
55
+ components: clippy, rustfmt
56
+ - uses: Swatinem/rust-cache@v2
57
+ - run: cargo fmt --check
58
+ - run: cargo clippy -- -D warnings
59
+ - run: cargo test -- --test-threads=1
60
+
61
+ metadata:
62
+ needs: check-release
63
+ runs-on: ubuntu-latest
64
+ outputs:
65
+ tags: ${{ steps.meta.outputs.tags }}
66
+ labels: ${{ steps.meta.outputs.labels }}
67
+ steps:
68
+ - name: Set docker image metadata
69
+ id: meta
70
+ uses: docker/metadata-action@v6
71
+ with:
72
+ images: |
73
+ ${{ vars.HARBOR_HOST }}/${{ github.repository }}
74
+ tags: |
75
+ type=raw,value=${{ needs.check-release.outputs.version }}
76
+ type=raw,value=${{ github.event.release.prerelease == false && needs.check-release.outputs.major_minor_version || '' }}
77
+ type=raw,value=${{ github.event.release.prerelease == true && 'preview' || 'stable' }}
78
+ labels: |
79
+ org.opencontainers.image.source=${{ github.repository }}
80
+ flavor: |
81
+ latest=${{ needs.check-release.outputs.latest_tag == github.event.release.tag_name }}
82
+
83
+ publish-docker-image:
84
+ uses: ./.github/workflows/ci-docker-image.yml
85
+ secrets: inherit
86
+ needs:
87
+ - test
88
+ - metadata
89
+ with:
90
+ publish: true
91
+ ref: ${{ github.sha }}
92
+ tags: ${{ needs.metadata.outputs.tags }}
93
+ labels: ${{ needs.metadata.outputs.labels }}
94
+
95
+ publish-binaries:
96
+ needs: test
97
+ runs-on: ubuntu-latest
98
+ permissions:
99
+ contents: write
100
+ steps:
101
+ - uses: actions/checkout@v6
102
+ with:
103
+ fetch-depth: 0
104
+
105
+ - uses: dtolnay/rust-toolchain@stable
106
+
107
+ - uses: mlugg/setup-zig@v2
108
+
109
+ - uses: goreleaser/goreleaser-action@v7
110
+ with:
111
+ distribution: goreleaser
112
+ version: "~> v2"
113
+ args: release --clean
114
+ env:
115
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116
+
117
+ build-wheels:
118
+ needs: test
119
+ strategy:
120
+ fail-fast: false
121
+ matrix:
122
+ include:
123
+ - runner: ubuntu-latest
124
+ target: x86_64-unknown-linux-gnu
125
+ - runner: ubuntu-24.04-arm
126
+ target: aarch64-unknown-linux-gnu
127
+ - runner: macos-latest
128
+ target: x86_64-apple-darwin
129
+ - runner: macos-latest
130
+ target: aarch64-apple-darwin
131
+ runs-on: ${{ matrix.runner }}
132
+ steps:
133
+ - uses: actions/checkout@v6
134
+ - name: Build wheel
135
+ uses: PyO3/maturin-action@v1
136
+ with:
137
+ target: ${{ matrix.target }}
138
+ args: --release --out dist
139
+ manylinux: auto
140
+ sccache: "true"
141
+ - uses: actions/upload-artifact@v7
142
+ with:
143
+ name: wheels-${{ matrix.target }}
144
+ path: dist/*.whl
145
+ if-no-files-found: error
146
+
147
+ build-sdist:
148
+ needs: test
149
+ runs-on: ubuntu-latest
150
+ steps:
151
+ - uses: actions/checkout@v6
152
+ - name: Build sdist
153
+ uses: PyO3/maturin-action@v1
154
+ with:
155
+ command: sdist
156
+ args: --out dist
157
+ - uses: actions/upload-artifact@v7
158
+ with:
159
+ name: wheels-sdist
160
+ path: dist/*.tar.gz
161
+ if-no-files-found: error
162
+
163
+ publish-pypi:
164
+ needs:
165
+ - build-wheels
166
+ - build-sdist
167
+ runs-on: ubuntu-latest
168
+ # Trusted publishing via OIDC — no API token needed. Requires a PyPI
169
+ # trusted publisher to be configured for this repo + workflow first.
170
+ # See dev/PACKAGING.md.
171
+ permissions:
172
+ id-token: write
173
+ steps:
174
+ - uses: actions/download-artifact@v8
175
+ with:
176
+ pattern: wheels-*
177
+ merge-multiple: true
178
+ path: dist
179
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,5 @@
1
+ /target
2
+ /dist
3
+ .claude/*
4
+ !.claude/commands
5
+ .omc/
@@ -0,0 +1,49 @@
1
+ ---
2
+ version: 2
3
+
4
+ before:
5
+ hooks:
6
+ - rustup default stable
7
+ - cargo install --locked cargo-zigbuild
8
+
9
+ builds:
10
+ - id: infrahub-git-credential
11
+ builder: rust
12
+ binary: infrahub-git-credential
13
+ command: zigbuild
14
+ flags:
15
+ - --release
16
+ - --bin
17
+ - infrahub-git-credential
18
+ targets:
19
+ - x86_64-unknown-linux-musl
20
+ - aarch64-unknown-linux-musl
21
+ - x86_64-apple-darwin
22
+ - aarch64-apple-darwin
23
+
24
+ - id: infrahub-git-askpass
25
+ builder: rust
26
+ binary: infrahub-git-askpass
27
+ command: zigbuild
28
+ flags:
29
+ - --release
30
+ - --bin
31
+ - infrahub-git-askpass
32
+ targets:
33
+ - x86_64-unknown-linux-musl
34
+ - aarch64-unknown-linux-musl
35
+ - x86_64-apple-darwin
36
+ - aarch64-apple-darwin
37
+
38
+ archives:
39
+ - formats:
40
+ - tar.gz
41
+ allow_different_binary_count: true
42
+ name_template: >-
43
+ {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
44
+
45
+ checksum:
46
+ name_template: checksums.txt
47
+
48
+ release:
49
+ prerelease: auto
@@ -0,0 +1,32 @@
1
+ # AGENTS.md
2
+
3
+ Guidance for coding agents (Claude Code, Cursor, Copilot, etc.) working in this repository.
4
+
5
+ ## What this is
6
+
7
+ Git credential helpers for Infrahub, written in Rust. See `README.md` for the user-facing description.
8
+
9
+ ## Commands
10
+
11
+ All common workflows are wrapped in the `Makefile`:
12
+
13
+ - `make build` / `make release` — debug / release builds
14
+ - `make test` — tests (must run with `--test-threads=1`, see `dev/ARCHITECTURE.md`)
15
+ - `make lint` — `cargo fmt --check` + `cargo clippy -- -D warnings`
16
+ - `make fmt` — format
17
+ - `make update-schema` — pull the latest GraphQL schema from upstream Infrahub
18
+ - `make docker` — local Docker build
19
+
20
+ Run a single test: `cargo test --lib <test_name> -- --test-threads=1`.
21
+
22
+ ## Where to read before making changes
23
+
24
+ - **`dev/ARCHITECTURE.md`** — code design, GraphQL codegen, config/auth flow, test constraints
25
+ - **`dev/DOCKER.md`** — Dockerfile caching quirks, multi-arch pipeline, GoReleaser
26
+ - **`dev/PACKAGING.md`** — maturin wheel build, PyPI publishing, how Infrahub consumes the binaries via pip/uv (and the monorepo-vendoring alternative)
27
+ - **`dev/COMPATIBILITY.md`** — **read this before "fixing" anything**. Lists quirks (splitting semantics, stdout/stderr routing) that are intentional drop-in-replacement constraints
28
+ - **`dev/RELEASE.md`** — release process
29
+
30
+ ## Commands (slash)
31
+
32
+ - `/release <version>` (defined in `dev/commands/release.md`, symlinked from `.claude/commands/`) — bumps version, commits, tags, pushes, creates GitHub release. Requires `CHANGELOG.md` updated first.
@@ -0,0 +1,53 @@
1
+ # Changelog
2
+
3
+ ## [0.3.1] - 2026-12-03
4
+
5
+ ### Fixed
6
+
7
+ - Release workflow: build the Intel macOS wheel on `macos-latest`, because GitHub retired the `macos-13` runner. The v0.3.0 wheels never reached PyPI, so v0.3.1 is the first release on PyPI.
8
+
9
+ ## [0.3.0] - 2026-12-03
10
+
11
+ ### Added
12
+
13
+ - Python wheel distribution via [maturin](https://www.maturin.rs/): both binaries are now installable with `pip` / `uv` / `poetry` (`infrahub-git-credential-helper`) and land on `PATH`, the same model as `ruff`/`ty`. Wheels are published to PyPI on release for Linux and macOS (`amd64`/`arm64`). See `dev/PACKAGING.md`.
14
+
15
+ ### Changed
16
+
17
+ - Updated dependencies in `Cargo.lock`
18
+
19
+ ## [0.2.0] - 2026-04-13
20
+
21
+ ### Added
22
+
23
+ - Password authentication via `INFRAHUB_USERNAME` / `INFRAHUB_PASSWORD` (logs in via `/api/auth/login` to obtain a bearer token)
24
+ - Proxy support via `INFRAHUB_PROXY`
25
+ - TLS configuration: `INFRAHUB_TLS_INSECURE` and `INFRAHUB_TLS_CA_FILE`
26
+ - Configurable HTTP timeout via `INFRAHUB_TIMEOUT`
27
+ - `X-Infrahub-Tracker` header (`infrahub-git-credential-helper`) on GraphQL requests
28
+
29
+ ## [0.1.2] - 2026-04-07
30
+
31
+ ### Fixed
32
+
33
+ - GoReleaser: removed universal binaries in favor of per-architecture archives for consistent Linux/macOS parity
34
+
35
+ ## [0.1.1] - 2026-04-07
36
+
37
+ ### Fixed
38
+
39
+ - GoReleaser config: unique IDs for universal binary entries
40
+ - Release workflow: `grep -c` exit code handling for non-prerelease versions
41
+
42
+ ## [0.1.0] - 2026-04-07
43
+
44
+ ### Added
45
+
46
+ - `infrahub-git-credential` binary implementing the git credential helper protocol (`get`, `store`, `erase`)
47
+ - `infrahub-git-askpass` binary implementing the GIT_ASKPASS protocol
48
+ - Configuration via environment variables (`INFRAHUB_INTERNAL_ADDRESS`, `INFRAHUB_API_TOKEN`) with TOML file fallback
49
+ - GraphQL string escaping to prevent injection
50
+ - GraphQL type name validation
51
+ - Multi-arch Dockerfile producing statically linked musl binaries (`amd64`, `arm64`)
52
+ - CI workflow with formatting, linting, testing, and Docker build validation
53
+ - Release workflow with Docker image publishing and binary distribution via GoReleaser