Commits on Source 58
-
Patrick Rice authored
chore(deps): update module buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go to v1.36.8-20250717185734-6c6e0d3c608e.1
-
Changelog: Improvements
-
Patrick Rice authored
chore(deps): update module golang.org/x/text to v0.28.0 See merge request !2448
-
semantic-release-bot authored
## [0.142.6](v0.142.5...v0.142.6) (2025-09-02)
-
Changelog: Improvements
-
Patrick Rice authored
refactor(no-release): replace assert.EqualError with assert.ErrorIs in tests Closes #2135 See merge request !2425
-
Patrick Rice authored
Changelog: Improvements
-
Timo Furrer authored
feat(users): Add support for PublicEmail to ListUsers See merge request !2441
-
semantic-release-bot authored
# [0.143.0](v0.142.6...v0.143.0) (2025-09-08) ### Features * **users:** Add support for PublicEmail to ListUsers ([74a3b6a7](74a3b6a7))
-
Patrick Rice authored
chore(deps): update module buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go to v1.36.8-20250717185734-6c6e0d3c608e.1 See merge request !2436
-
Oleksandr Redko authored
Changelog: Improvements
-
Patrick Rice authored
refactor(no-release): fix revive.var-naming lint issues See merge request !2437
-
semantic-release-bot authored
## [0.143.1](v0.143.0...v0.143.1) (2025-09-08)
-
🤖 GitLab Bot 🤖 authored
-
Timo Furrer authored
chore(deps): update module google.golang.org/protobuf to v1.36.9 See merge request !2450
-
semantic-release-bot authored
## [0.143.2](v0.143.1...v0.143.2) (2025-09-09)
-
🤖 GitLab Bot 🤖 authored
chore(deps): update module buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go to v1.36.9-20250717185734-6c6e0d3c608e.1
-
Timo Furrer authored
chore(deps): update module buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go to v1.36.9-20250717185734-6c6e0d3c608e.1 See merge request !2451
-
semantic-release-bot authored
## [0.143.3](v0.143.2...v0.143.3) (2025-09-10)
-
Changelog: Improvements
-
Timo Furrer authored
ci(no-release): update commitlint to use scripted approach See merge request !2454
-
🤖 GitLab Bot 🤖 authored
chore(deps): update module buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go to v1.36.9-20250912141014-52f32327d4b0.1
-
Changelog: Improvements
-
Patrick Rice authored
feat(client): add http.RoundTripper Middleware Configuration Option to Client See merge request !2456
-
semantic-release-bot authored
# [0.144.0](v0.143.3...v0.144.0) (2025-09-12) ### Features * **client:** add http.RoundTripper Middleware Configuration Option to Client ([88f9d105](88f9d105))
-
Patrick Rice authored
Changelog: Improvements
-
Patrick Rice authored
chore(no-release): Update "deps" scope to not automatically release See merge request !2458
-
Patrick Rice authored
chore(deps): update module buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go to v1.36.9-20250912141014-52f32327d4b0.1 See merge request !2457
-
Changelog: Improvements
-
Patrick Rice authored
chore: Add heidi.berry to CODEOWNERS See merge request !2464
-
semantic-release-bot authored
## [0.144.1](v0.144.0...v0.144.1) (2025-09-13)
-
Changelog: Improvements
-
Patrick Rice authored
feat: Add missing created_by field to ProjectMembers and GroupMembers See merge request !2453
-
semantic-release-bot authored
# [0.145.0](v0.144.1...v0.145.0) (2025-09-15) ### Features * Add missing created_by field to ProjectMembers and GroupMembers ([5348e019](5348e019))
-
Changelog: Improvements
-
Patrick Rice authored
ci(no-release): remove dependency proxy from pipeline See merge request !2468
-
🤖 GitLab Bot 🤖 authored
-
Patrick Rice authored
chore(deps): update node docker tag to v24 See merge request !2469
-
Florian Forster authored
Add support for the "inputs" parameter when creating pipelines via the GitLab API. Pipeline inputs allow passing typed parameters to pipelines that use the `spec:inputs` keyword in their `.gitlab-ci.yml` configuration. Implementation details: - Add PipelineInputOptions type as a map[string]any to hold input values - Implement custom MarshalJSON to validate input types at serialization time - Support the following value types as per GitLab API requirements: * string * integers (int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64) * floats (float32, float64) * bool * string slice ([]string) - Return `ErrInvalidPipelineInputType` for unsupported types to fail fast and provide clear error messages Testing improvements: - Refactor `TestCreatePipeline` to use table-driven tests - Add test coverage for the existing "variables" parameter - Add test cases for pipeline inputs with various data types - Add test case for invalid input type error handling - Verify correct JSON serialization of both variables and inputs This enables users to trigger pipelines with inputs like: ```go client.Pipelines.CreatePipeline(projectID, &CreatePipelineOptions{ Ref: Ptr("main"), Inputs: PipelineInputOptions{ "environment": "production", "replicas": 3, "enable_debug": false, "regions": []string{"us-east", "eu-west"}, }, }) ``` Issue: #2154 -
Florian Forster authored
Extend `RunPipelineTrigger` to support the "inputs" parameter, enabling trigger tokens to start pipelines with typed input parameters. This mirrors the functionality added to `CreatePipeline`, providing consistent input handling across both pipeline creation methods. Implementation details: - Add Inputs field to `RunPipelineTriggerOptions` using the `PipelineInputOptions` type - Reuse the same type validation and JSON marshaling logic from `CreatePipeline` - Both variables and inputs can be used simultaneously, serving different purposes: * variables: simple string key-value pairs for CI/CD variables * inputs: typed parameters for pipelines using spec:inputs keyword Testing improvements: - Refactor `TestRunPipelineTrigger` to use table-driven tests - Add comprehensive test coverage for the existing "variables" parameter - Add test cases for pipeline inputs with various data types: strings, integers, booleans, and string arrays - Add test case for invalid input type error handling This enables trigger-based pipeline starts with typed inputs: ```go client.PipelineTriggers.RunPipelineTrigger(projectID, &RunPipelineTriggerOptions{ Token: Ptr("trigger-token"), Ref: Ptr("main"), Variables: map[string]string{ "DEPLOY_ENV": "prod", }, Inputs: PipelineInputOptions{ "environment": "production", "replicas": 3, "enable_debug": false, "regions": []string{"us-east", "eu-west"}, }, }) ``` Issue: #2154 -
Florian Forster authored
Implement strongly-typed pipeline inputs for `CreatePipeline` and `RunPipelineTrigger` using generics to ensure compile-time type safety. This approach prevents invalid input types from being used at compile time rather than failing at runtime. Implementation details: - Add `PipelineInputsOption` type to represent pipeline input parameters - Create `PipelineInputValue[T]` generic wrapper with type constraints - Use `PipelineInputValueInterface` to enable map storage while maintaining type safety - Constrain valid types using `PipelineInputValueType` (string, integers, floats, bool, string slice) - Provide `NewPipelineInputValue()` constructor following the `Ptr()` pattern Key design benefits: - Compile-time type validation eliminates runtime type errors - Invalid types (e.g., `struct{}`, `map`) cannot compile - Explicit API contract through type constraints - Consistent with existing patterns (similar to `Ptr()` usage) - Self-docume... -
Florian Forster authored
-
Florian Forster authored
feat(PipelinesService): add support for pipeline inputs to `CreatePipeline` and `RunPipelineTrigger` Closes #2154 See merge request !2471
-
semantic-release-bot authored
# [0.146.0](v0.145.0...v0.146.0) (2025-09-18) ### Features * **pipelines:** Add compile-time type-safe pipeline inputs support ([4b30e602](4b30e602)), closes [#2154](#2154) * **PipelinesService:** Add support for pipeline inputs with type validation ([ab3056f4](ab3056f4)), closes [#2154](#2154) * **PipelineTriggersService:** Add support for pipeline inputs to trigger API ([9ad770e4](9ad770e4)), closes [#2154](#2154)
-
🤖 GitLab Bot 🤖 authored
-
Changelog: Improvements
-
Timo Furrer authored
feat(Project): add resource_group_default_process_mode See merge request !2472
-
Timo Furrer authored
chore(deps): update golangci/golangci-lint docker tag to v2.5.0 See merge request !2473
-
semantic-release-bot authored
# [0.147.0](v0.146.0...v0.147.0) (2025-09-22) ### Features * **Project:** add resource_group_default_process_mode ([7804fafa](7804fafa))
-
Changelog: Improvements
-
Patrick Rice authored
fix(client): use default retry policy from retryablehttp See merge request !2455
-
semantic-release-bot authored
## [0.147.1](v0.147.0...v0.147.1) (2025-09-22) ### Bug Fixes * **client:** use default retry policy from retryablehttp ([2a725113](2a725113))
-
Changelog: Improvements
-
Timo Furrer authored
feat(ResourceGroup): add `newest_ready_first` to resource group `process_mode` See merge request !2475
-
semantic-release-bot authored
# [0.148.0](v0.147.1...v0.148.0) (2025-09-23) ### Features * **ResourceGroup:** add `newest_ready_first` to resource group `process_mode` ([fc8f7431](fc8f7431))
-
Changelog: Improvements
-
Patrick Rice authored
fix: label unmarshaling for `BasicMergeRequest` list operations Closes #2151 See merge request !2476
-
semantic-release-bot authored
## [0.148.1](v0.148.0...v0.148.1) (2025-09-26) ### Bug Fixes * label unmarshaling for `BasicMergeRequest` list operations ([e80c453a](e80c453a))