Skip to content

Latest commit

 

History

History
805 lines (474 loc) · 42.6 KB

CHANGELOG.md

File metadata and controls

805 lines (474 loc) · 42.6 KB

4.24.0 (Apr 28, 2022)

ENHANCEMENTS:

BUG FIXES:

4.23.0 (Mar 25, 2022)

ENHANCEMENTS:

  • Add support for disabling the use of the vulnerability management endpoint by @enieuw in integrations#1022
  • Added orgname in github_orgranization attributes by @Kavinraja-G in integrations#1052
  • Add a data source for refs. by @youcandanch in integrations#1084
  • build(deps): bump actions/checkout from 2 to 3 by @dependabot in integrations#1086

BUG FIXES:

4.22.0 (Mar 18, 2022)

ENHANCEMENTS:

4.21.0 (Mar 11, 2022)

ENHANCEMENTS:

  • Adding BypassPullRequestActorIDs to branch protection by @jtyr in integrations#1030
  • Adding suspended_at attribute to github_user data source by @mrobinson-anaplan in integrations#1070
  • Documentation: Add id to github_user data dource by @kangaechu in integrations#1061

BUG FIXES:

  • fix: use the appropriate ID when trying to import github_team_members objects by @bison-brandon in integrations#1074
  • Environment ID gets set incorrectly on update by @aceresia-bg in integrations#1058
  • Fix whitespace in documentation for branch_protection_v3 by @JCradock in integrations#1059

4.20.1 (Mar 3, 2022)

BUG FIXES:

  • Remove team from state if deletion failed and it does not exist by @cytopia in integrations#1039
    • Note that this is a behavior change from previous GitHub Terraform provider releases: now, if a GitHub team deletion operation fails and the team does not exist, the team will be automatically removed from state.
  • Make data_github_repository work with non-existing repositories by @tobiassjosten in integrations#1031
  • Standardize logs by @kfcampbell in integrations#1053

4.20.0 (Feb 3, 2022)

ENHANCEMENTS:

  • Add new resource github_team_members to allow authoritative team management by @stawik-mesa in integrations#975

BUG FIXES:

Full Changelog: https://github.com/integrations/terraform-provider-github/compare/v4.19.2...v4.20.0

4.19.2 (Jan 20, 2022)

BUG FIXES:

  • Update go-github to v42.0.0 (#1035)
  • Adjust count requirement of required_approving_review_count option for github_branch_protection (#971)
  • Add nil check for require_conversation_resolution field of github_branch_protection resource (#1032)

4.19.1 (Jan 5, 2022)

BUG FIXES:

  • Update go-github to v41.0.0 (#993)
  • Add nil check for plan field of github_organization data source (#1016)

4.19.0 (Dec 13, 2021)

ENHANCEMENTS:

  • Export branches attribute of github_repository resource ([#959])
  • Add require_conversation_resolution support for github_branch_protection resource ([#904])

BUG FIXES:

  • Adjust length requirement to topics option for github_repository ([#996])
  • Add required_linear_history support for github_branch_protection resource ([#935])

4.18.2 (Nov 30, 2021)

BUG FIXES:

  • Add length requirement to name option for github_repository ([#965])
  • Various documentation fixes 🙇

4.18.1 (Nov 22, 2021)

BUG FIXES:

  • Add length requirement to topics option for github_repository ([#951])
  • Add pagination to selected_repositories option for github_actions_runner_group ([#970])
  • Add handling for new node_id format introduced to the GitHub GraphQL API (github_repository) ([#914])

4.18.0 (Nov 8, 2021)

ENHANCEMENTS:

  • New Resource: github_actions_organization_permissions ([#920])

BUG FIXES:

  • Add newline compatbility to GitHub App provider authentication ([#931])
  • Fix strict setting of required_status_checks for github_branch_protection resource ([#880])

4.17.0 (Oct 17, 2021)

ENHANCEMENTS:

  • New Resource: github_repository_autolink_reference ([#924])
  • New Data Sources github_users (#900)
  • Add allow_auto_merge option for github_repository (#923)

BUG FIXES:

  • Various documentation fixes 🙇

4.16.0 (Oct 5, 2021)

ENHANCEMENTS:

  • New Data Source: github_repository_file (#896)
  • Add write_delay_ms provider option #907)

BUG FIXES:

  • Update go-github to v39.0.0 (#905)

4.15.1 (Sep 23, 2021)

BUG FIXES:

  • Revert suppression of etag changes for github_repository resources ([#910])

4.15.0 (Sep 22, 2021)

ENHANCEMENTS:

  • New Resource: github_actions_organization_secret_repositories ([#882])
  • New Resource: github_actions_runner_group ([#821])
  • Add require_linear_history to github_branch_protection resource ([#887])
  • Add branches attribute to github_repository resource ([#892])

BUG FIXES:

  • Update documentation for d/github_ip_ranges (#895)
  • Update go-github to v38 (#901)
  • Suppress etag changes for github_repository resources ([#909])

4.14.0 (Sep 2, 2021)

BUG FIXES:

  • Adds support for recreating a github_team_repository when repository is renamed (#870)
  • Adds logging of configured authentication on provider startup (#867)
  • Update documentation for github_ip_ranges data source (#857)
  • Add support for IPv6 addresses returned by github_ip_ranges data source (#883)
  • Update go-github to v37.0.0 (#893)

4.13.0 (Jul 26, 2021)

BUG FIXES:

  • Fix setting vulnerability_alerts on private github_repository creation (#768)

ENHANCEMENTS:

  • Add restrict_dismissals option to github_branch_protection resource (#839)

4.12.2 (Jul 12, 2021)

BUG FIXES:

  • Update go-github to v36.0.0 (#841)

4.12.0 (Jun 18, 2021)

ENHANCEMENTS:

  • New Resource: github_actions_environment_secret ([#805])
  • New Resource: github_repository_environment ([#805])
  • Add members field to github_organization data source ([#811])
  • Add repositories field to github_team data source ([#791])
  • Add repositories field to github_organization_teams data source ([#791])

BUG FIXES:

  • Document incompatibility between github_app_installation_repository and GitHub App authentication (#818)
  • Document migration from `hashicorp/terraform-provider-github (#816)
  • Allow users and apps to also be applied to push restrictions for github_branch_protection (#824)

4.11.0 (Jun 7, 2021)

BREAKING CHANGES:

  • Allow PEM data to be passed directly for GitHub App provider authentication (#803)

ENHANCEMENTS:

  • Add encrypted_value field to github_actions_secret and github_actions_organization_secret resources (#807)

BUG FIXES:

  • Fix error handling when branch does not exist for github_branch resource (#806)

4.10.1 (May 25, 2021)

BUG FIXES:

  • Improve documentation for provider authentication options (#801)

4.10.0 (May 21, 2021)

ENHANCEMENTS:

  • Add GitHub App authentication option to provider (#753)
  • Add Actions and Dependabot IP ranges to github_ip_ranges data source (#784)
  • Add additional fields to github_repository data source (#778)

4.9.4 (May 11, 2021)

BUG FIXES:

  • Add EMU support by allowing internal visibility to be configured for github_repository (#781)
  • Update go-github to 35.1.0 (#772)

4.9.3 (May 7, 2021)

BUG FIXES:

  • Mark slug as computed when name is changed for github_team (#757)

4.9.2 (April 18, 2021)

BUG FIXES:

  • correct visibility for repositories created via a template (#761)

4.9.1 (April 17, 2021)

BUG FIXES:

  • Bump Go version to 1.16 for acceptance tests and darwin/arm64 releases
  • Update acceptance tests to v2.2.0
  • Re-instate releases of darwin/arm64

4.9.0 (April 17, 2021)

ENHANCEMENTS:

  • New Data Sources github_repository_pull_request / github_repository_pull_requests (#739)
  • New Resource github_repository_pull_request (#739)
  • Add repositories attribute for github_organization data source (#750)
  • Add import functionality for github_actions_organization_secret (#745)

BUG FIXES:

  • Detect and overwrite value drift for github_actions_secret and github_actions_organization_secret (#740)
  • Do not destroy repositories when name attribute changes (#699)

4.8.0 (April 9, 2021)

BUG FIXES:

  • Deprecate organization / GITHUB_ORGANIZATION provider configuration options (#735)

4.7.0 (April 9, 2021)

REGRESSIONS:

  • new repositories created via a template have a public visibility (#758)
    • workaround: a subsequent plan / apply will set the visibility to what is configured
    • fix: see v4.9.2

ENHANCEMENTS:

  • New Data Source github_organization_teams (#725)

BUG FIXES:

  • Set visibility on create instead of update for github_repository (#746)
  • Various documentation updates

4.6.0 (March 23, 2021)

ENHANCEMENTS:

  • New Resource github_app_installation_repository (#690)

BUG FIXES:

  • Fix panic for github_repository_file (#732)
  • Improve error messaging for github_branch (#734)
  • Improve error messaging for github_branch_protection (#721)
  • Fix update operation for github_default_branch (#719)
  • Add name validation for github_actions_organization_secret (#714)

4.5.2 (March 16, 2021)

BUG FIXES:

  • Fix updating default_branch on github_repository (#719)

4.5.1 (March 3, 2021)

BUG FIXES:

  • Fix github_branch_protection import by repository node ID and pattern (#713)
  • Add pagination when retrieving team members for data_source_github_team (#702)

4.5.0 (February 17, 2021)

ENHANCEMENTS:

  • Add ability for github_team_repository to accept slug as a valid team_id (#693)

BUG FIXES:

  • Add more context to error messaging for github_branch_protection (#691)
  • Satisfy linter recommendation for github_branch_protection (#694)

4.4.0 (February 5, 2021)

BUG FIXES:

  • Add create_default_maintainer option to github_team (#527), (#104), (#130)
  • Add diff-suppression option to repository_collaborator (#683)

4.3.2 (February 2, 2021)

BUG FIXES:

  • Improved detection of repository name for github_branch_protection (#684)
  • Reverts error handling in provider configuration (#685)

4.3.1 (January 22, 2021)

REGRESSIONS:

  • provider configuration breaks for individual accounts (#678)

BUG FIXES:

  • Send valid payload when editing a repository resource with github_branch_default (#666)
  • Add handling to surface errors in provider configuration (#668)

4.3.0 (January 14, 2021)

ENHANCEMENTS:

  • New Resource github_branch_protection_v3 (#642)
  • Add pages feature to github_repository (#490)

4.2.0 (January 07, 2021)

BREAKING CHANGES:

  • Project transfer from terraform-providers organization to integrations
    • See #652 for migration steps and #656 for discussion

ENHANCEMENTS:

  • Add allowDeletions and allowsForcePushes to github_branch_protection (#623)
  • Add GitHub App actor support to github_branch_protection (#615)

BUG FIXES:

  • Allow required_status_checks strict to be false for github_branch_protection (#614)
  • Remove ForceNew on template-related options for github_repository (#609)
  • Fix parsing of input during imports of github_branch_protection (#610)
  • github_repository_file resource no longer iterates through all commits (#644)

4.1.0 (December 01, 2020)

ENHANCEMENTS:

  • Add github_actions_organization_secret resource (#261)
  • Add github_repository_milestone resource (#470)
  • Add github_repository_milestone data source (#470)
  • Add github_project_card resource (#460)
  • Add github_branch_default resource (#194)

4.0.1 (November 18, 2020)

BUG FIXES:

  • github_team data source query no longer iterates through a list of teams (#579)
  • github_repository_file resource no longer iterates through all commits (#589)
  • fix parsing of repo:pattern format during github_branch_protection import (#599)

4.0.0 (November 10, 2020)

REGRESSIONS:

  • fails parsing of repo:pattern format during github_branch_protection import (#597)

BREAKING CHANGES:

  • pattern replaces branch in changes to github_branch_protection introduced in v3.1.0 (#566)
  • dismissal_restrictions documented for github_branch_protection (#569)
  • project license changes from MPL2 to MIT (#591)

BUG FIXES:

  • repository_id for github_branch_protection accepts repository name as well as node ID (#593)

ENHANCEMENTS:

  • Add support to get currently authenticated user to data_source_github_user (#261)
  • Add importing to github_organization_webhook (#487)

3.1.0 (October 12, 2020)

REGRESSIONS:

  • undocumented, breaking configuration changes to github_branch_protection (#566)
  • slowed performance of github_branch_protection (#567)
  • change to default branch breaks refresh of existing github_repository_file resources (#564)

BREAKING CHANGES:

  • Deprecate anonymous Flag For Provider Configuration (#506)

BUG FIXES:

  • re-instante resources unavailable in the context of an organization (#501)
  • allow overwrite-on-create behaviour for github_repository_file resource (#459)

ENHANCEMENTS:

  • update go-github to v32.1.0 (#475)
  • add vulnerability_alerts to github_repository (#444)
  • add archive_on_destroy to github_repository (#432)
  • uplift branch_protection to GraphQL (#337)

3.0.0 (September 08, 2020)

BREAKING CHANGES:

  • token becomes optional
  • organization no longer deprecated
  • individual and anonymous removed
  • owner inferred from organization
  • base_url provider parameter no longer requires /api/v3 suffix

BUG FIXES:

  • terraform validate fails because of missing token (#503)
  • organization support for various resources (#501)

ENHANCEMENTS:

  • New Data Source github_organization (#521)

2.9.2 (July 14, 2020)

  • Adds deprecation of anonymous flag for provider configuration ahead of next major release (#506)
  • Adds deprecation of individual flag for provider configuration ahead of next major release (#512)

2.9.1 (July 01, 2020)

BUG FIXES:

  • Reverts changes introduced in v2.9.0, deferring to the next major release

2.9.0 (June 29, 2020)

NOTE: This release introduced a provider-level breaking change around anonymous use. See here for details and here to discuss a fix.

ENHANCEMENTS:

  • Add Ability To Manage Resources For Non-Organization Accounts (#464)
  • resource/github_repository: Add "internal" Visibility Option (#454)

2.8.1 (June 09, 2020)

BUG FIXES:

  • resource/github_repository_file: Reduce API requests when looping through commits ([#466])
  • resource/github_repository: Fix auto_init Destroying Repositories ([#317])
  • resource/github_repository_deploy_key: Fix acceptance test approach ([#471])
  • resource/github_actions_secret: Fix Case Where Secret Removed Outside Of Terraform ([#482])
  • Documentation Addition Of examples/ Directory

2.8.0 (May 15, 2020)

BUG FIXES:

  • resource/github_branch_protection: Prevent enabling dismissal_restrictions in Github console if dismissal_users and dismissal_teams are not set (#453)
  • resource/github_repository_collaborator: Allow modifying permissions from maintain and triage (#457)
  • Documentation Fix for github_actions_public_key data-source (#458)
  • Documentation Fix for github_branch_protection resource (#410)
  • Documentation Layout Fix for github_ip_ranges and github_membership data sources (#423)
  • Documentation Fix for github_repository_file import (#443)
  • Update go-github to v31.0.0 (#424)

ENHANCEMENTS:

  • New Data Source github_organization_team_sync_groups (#400)
  • New Resource github_team_sync_group_mapping (#400)

2.7.0 (May 01, 2020)

BUG FIXES:

  • Add Missing Acceptance Test (#427)

ENHANCEMENTS:

  • Add GraphQL Client (#331)
  • New Data Source github_branch (#364)
  • New Resource github_branch (#364)

2.6.1 (April 07, 2020)

BUG FIXES:

  • Documentation Fix For Option To Manage Delete Branch on Merge (#408)
  • Documentation Fix For github_actions_secret / github_actions_public_key (#413)

2.6.0 (April 03, 2020)

ENHANCEMENTS:

  • resource/github_repository: Introduce Option To Manage Delete Branch on Merge (#399)
  • resource/github_repository: Configure Repository As Template (#357)
  • New Data Source github_membership (#396)

2.5.1 (April 02, 2020)

BUG FIXES:

  • Fix Broken Link For github_actions_secret Documentation (#405)

2.5.0 (March 30, 2020)

REGRESSION:

  • go-github v29.03 is incompatible with versions of GitHub Enterprise Server prior to v2.21.5. ([#404])

ENHANCEMENTS:

  • Add apps To github_branch_protection Restrictions
  • New Data Source github_actions_public_key ([#362])
  • New Data Source github_actions_secrets ([#362])
  • New Resource: github_actions_secret ([#362])

BUG FIXES:

  • Prevent Panic From DismissalRestrictions ([#385])
  • Update go-github to v29.0.3 ([#369])
  • Update go to 1.13 ([#372])
  • Documentation Fixes For Consistency And Typography

2.4.1 (March 05, 2020)

BUG FIXES:

  • Updates go-github to v29 to unblock planned feature development (#342)
  • Fixes insecure_ssl parameter behaviour for github_organization_webhook and github_repository_webhook (#365)
  • Fixes label behaviour to not create new labels when renaming a github_issue_label (#288)

2.4.0 (February 26, 2020)

ENHANCEMENTS:

  • New Data Source github_release (#356)

  • New Resource: github_repository_file (#318)

2.3.2 (February 05, 2020)

BUG FIXES:

  • Handle repository 404 for github_repository_collaborator resource (#348)

2.3.1 (January 27, 2020)

BUG FIXES:

  • Add support for triage and maintain permissions in some resources (#303)

2.3.0 (January 22, 2020)

BUG FIXES:

  • resource/resource_github_team_membership: Prevent spurious diffs caused by upstream API change made on 17th January (#325)

ENHANCEMENTS:

  • resource/repository: Added functionality to generate a new repository from a Template Repository (#309)

2.2.1 (September 04, 2019)

ENHANCEMENTS:

  • dependencies: Updated module hashicorp/terraform to v0.12.7 (#273)
  • resource/github_branch_protection: Will now return an error when users are not correctly added (#158)
  • provider: Added optional anonymous attribute, and made token optional (#255)

BUG FIXES:

  • resource/github_repository: Allow setting default_branch to master on creation (#150)
  • resource/github_team_repository: Validation of team_id (#253)
  • resource/github_team_membership: Validation of team_id (#253)
  • resource/github_organization_webhook: Properly set webhook secret in state (#251)
  • resource/github_repository_webhook: Properly set webhook secret in state (#251)

2.2.0 (June 28, 2019)

FEATURES:

  • New Data Source github_collaborators (#239)

ENHANCEMENTS:

  • provider: Added optional individual attribute, and made organization optional (#242)
  • resource/github_branch_protection: Added require_signed_commits property (#214)

BUG FIXES:

  • resource/github_membership: username property is now case insensitive (#241)
  • resource/github_repository: has_projects can now be imported (#237)
  • resource/github_repository_collaborator: username property is now case insensitive [#241)
  • resource/github_team_membership: username property is now case insensitive (#241)

2.1.0 (May 15, 2019)

ENHANCEMENTS:

  • resource/github_repository: Added validation for lowercase topics (#223)
  • resource/github_organization_webhook: Added back removed name attribute, name is now flagged as Removed (#226)
  • resource/github_repository_webhook: Added back removed name attribute, name is now flagged as Removed (#226)

2.0.0 (May 02, 2019)

  • This release adds support for Terraform 0.12 (#181)

BREAKING CHANGES:

  • resource/github_repository_webhook: Removed name attribute (#181)
  • resource/github_organization_webhook: Removed name attribute (#181)

FEATURES:

  • New Resource: github_organization_block (#181)
  • New Resource: github_user_invitation_accepter (#161)
  • resource/github_branch_protection: Added required_approving_review_count property (#181)

BUG FIXES:

  • resource/github_repository: Prefill auto_init during import (#154)

1.3.0 (September 07, 2018)

FEATURES:

  • New Resource: github_project_column (#139)

ENHANCEMENTS:

  • all resources: Use Etag to save API quota (~ 33%) (#143)
  • all resources: Implement & use RateLimitTransport to avoid hitting API rate limits (#145)

BUG FIXES:

  • resource/github_issue_label: Return genuine errors instead of ignoring them when reading existing resource (#142)
  • resource/github_membership: Return genuine errors instead of ignoring them when reading existing resource (#142)
  • resource/github_repository_deploy_key: Return genuine errors instead of ignoring them when reading existing resource (#142)
  • resource/github_team: Return genuine errors instead of ignoring them when reading existing resource (#142)
  • resource/github_team_membership: Return genuine errors instead of ignoring them when reading existing resource (#142)
  • resource/github_team_repository: Return genuine errors instead of ignoring them when reading existing resource (#142)
  • resource/github_user_gpg_key: Return genuine errors instead of ignoring them when reading existing resource (#142)

1.2.1 (August 17, 2018)

BUG FIXES:

  • resource/github_repository: Avoid spurious diff for topics (#138)

1.2.0 (August 17, 2018)

FEATURES:

  • New Data Source: github_repository (#109)
  • New Data Source: github_repositories (#129)
  • New Resource: github_organization_project (#111)
  • New Resource: github_repository_project (#115)
  • New Resource: github_user_gpg_key (#120)
  • New Resource: github_user_ssh_key (#119)

ENHANCEMENTS:

  • provider: Add insecure mode (#48)
  • data-source/github_ip_ranges: Add importer IPs (#100)
  • resource/github_issue_label: Add support for description (#118)
  • resource/github_repository: Add support for topics (#97)
  • resource/github_team: Expose slug (#136)
  • resource/github_team_membership: Make role updatable (#137)

BUG FIXES:

  • resource/github_*: Prevent crashing on invalid ID format (#108)
  • resource/github_organization_webhook: Avoid spurious diff of secret (#134)
  • resource/github_repository: Make non-updatable fields ForceNew (#135)
  • resource/github_repository_deploy_key: Avoid spurious diff of key (#132)
  • resource/github_repository_webhook: Avoid spurious diff of secret (#133)

1.1.0 (May 11, 2018)

FEATURES:

  • New Data Source: github_ip_ranges (#82)

ENHANCEMENTS:

  • resource/github_repository: Add support for archiving (#64)
  • resource/github_repository: Add html_url (#93)
  • resource/github_repository: Add has_projects (#92)
  • resource/github_team: Add parent_team_id (#54)

1.0.0 (February 20, 2018)

ENHANCEMENTS:

  • resource/github_branch_protection: Add support for require_code_owners_review (#51)

0.1.2 (February 12, 2018)

BUG FIXES:

  • resource/github_membership: Fix a crash when bad import input is given (#72)

0.1.1 (July 18, 2017)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • resource/github_branch_protection: The include_admin attributes haven't been working for quite some time due to upstream API changes. These attributes are now deprecated in favor of the new top-level enforce_admins attribute. The include_admin attributes currently have no affect on the resource, and will yield a DEPRECATED notice to the user.

IMPROVEMENTS:

  • resource/github_repository: Allow updating default_branch (#23)
  • resource/github_repository: Add license_template and gitignore_template (#24)
  • resource/github_repository_webhook: Add import (#29)
  • resource/github_branch_protection: Support enforce_admins (#26)
  • resource/github_team: Supports managing a team's LDAP DN in GitHub Enterprise (#39)

BUG FIXES:

  • resource/github_branch_protection: Fix crash on nil values (#26)

0.1.0 (June 20, 2017)

FEATURES:

IMPROVEMENTS:

  • resource/github_repository: Adding merge types (#1)
  • data-source/github_user and data-source/github_team: Added attributes (#2)