Releases: gitlabhq/terraform-provider-gitlab
v3.7.0
3.7.0 (July 20, 2021)
FEATURES:
Add protected_branch_ids to gitlab_project_approval_rule #542
Add most Premium features for gitlab_branch_protection #556
Adds support for gitlab project badges #648
ENHANCEMENTS:
Add CustomCIPath to resource gitlab_project #662
add build coverage regex #627
Add tfproviderlint linter to CI #653
Documentation improvements #642
chore: add error handling to resourceGitlabProjectSetToState #649
Missing documentation for gitlab_instance_variable #602
Add support for importing Pipeline Schedules and Triggers #618
update reference to master branch to main #612
BUGFIXES:
Fix project approval rule tests #660
Fix markdown linter errors in branch_protection.md #656
fix: update default branch name to "main" #643
gitlab_project: Wait for template projects to be cloned/imported #621
v3.6.0
3.6.0 (Apr 6, 2021)
ENHANCEMENTS:
- Support the Note field in the User resource/data #572
- add diffSuppressFunc for 'expires_at' attribute in 'deploy_token' #575
- Update to Go 1.16 and terraform-plugin-sdk 1.16 #579
- Bump github.com/xanzy/go-gitlab from 0.44.0 to 0.46.0 #586
BUG FIXES:
- Fix "Run failed" on forks #565
v3.5.0
3.5.0 (Feb 18, 2021)
FEATURES:
- Add resource for project freeze periods #516
ENHANCEMENTS:
- Update go version and go-gitlab version #523
- Support additional attributes in
gitlab_project_hook
#525 - Link badges in README to proper workflows #527
- gitlab_project: Check each push rule individually #531
- Allow
full_path
in addition toid
in gitlab_project data source #532 - Update test fixtures for better usability #535
- Check for state change on user delete #539
- Increase gitlab_project import timeout #536
- Add optional mirror options #554
- Remove vendor folder #546
- Add dependabot config #558
- Fix EE tests actually running against CE #564
- Fix EE test mounting license as a directory #568
BUG FIXES:
v3.4.0
v3.3.0
v3.2.0
v3.1.0
v3.0.0
BREAKING CHANGES:
- Resource
gitlab_project_push_rules
has been removed. You now instead specify project push rules using thepush_rules
attribute on thegitlab_project
resource. - The
shared_with_groups
attribute has been removed from thegitlab_project
resource (but not the data source). You may use thegitlab_project_share_group
resource instead.
NOTES:
- If you are using the
environment_scope
attribute ofgitlab_project_variable
to manage multiple variables with the same key, it is recommended to use GitLab 13.4+. See this related GitLab issue for older versions. - The ID format of the
gitlab_project_variable
resource changed. The upgrade should be automatic. - The default value of the
gitlab_project_variable
resource'senvironment_scope
attribute has changed from0
to*
.
FEATURES:
- New Data Source:
gitlab_group_membership
(#264) - New Resource:
gitlab_instance_cluster
(#367) - New Resource:
gitlab_project_level_mr_approvals
(#356) - New Resource:
gitlab_project_mirror
(#358) - New Resource:
gitlab_service_pipelines_email
(#375)
ENHANCEMENTS:
- data-source/gitlab_project: New attributes
packages_enabled
,path_with_namespace
andpush_rules
(#405, #403, #422) - resource/gitlab_branch_protection: New
code_owner_approval_required
attribute (#380) - resource/gitlab_project: New attributes
packages_enabled
,path_with_namespace
, andpush_rules
(#405, #403, #422) - resource/gitlab_group: New attributes
share_with_group_lock
,project_creation_level
,auto_devops_enabled
,emails_disabled
,mentions_disabled
,subgroup_creation_level
,require_two_factor_authentication
, andtwo_factor_grace_period
(#362) - resource/gitlab_group: Automatically detect removal (#267)
- resource/gitlab_group_label: Can now be imported (#339)
- resource/gitlab_project: New
import_url
attribute (#381) - resource/gitlab_project_push_rules: Can now be imported (#360)
- resource/gitlab_project_variable: Better error message when a masked variable fails validation (#371)
- resource/gitlab_project_variable: Automatically detect removal (#409)
- resource/gitlab_service_jira: Automatically detect removal (#337)
- resource/gitlab_user: The
email
attribute can be changed without forcing recreation (#261) - resource/gitlab_user: Require either the
password
orreset_password
attribute to be set (#262)
BUG FIXES:
- resource/gitlab_pipeline_schedule: Fix a rare error during deletion (#364)
- resource/gitlab_pipeline_schedule_variable: Fix a rare error during deletion (#364)
- resource/gitlab_project: Fix the
default_branch
attribute changing tonull
after first apply (#343) - resource/gitlab_project_share_group: Fix the
access_level
attribute not updating (#421) - resource/gitlab_project_share_group: Fix the share not working if the project is also managed (#421)
- resource/gitlab_project_variable: Fix inconsistent reads for variables with non-unique keys (#409)
- resource/gitlab_project_variable: Change the default
environment_scope
from0
to*
(#409) - resource/gitlab_service_jira: Fix a rare state inconsistency problem during creation (#363)
- resource/gitlab_user: Fix some attributes saving incorrectly in state (#261)
v3.0.0-pre-test
Merge pull request #420 from gitlabhq/nicholasklick-patch-2 Cleanup goreleaser.yml