Skip to content

Commit a24f09b

Browse files
Update docs for v16.1.1 release
1 parent 805b3aa commit a24f09b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 16.1.1 (2023-07-17)
2+
3+
This release was tested against GitLab 15.11, 16.0 and 16.1 for both CE and EE.
4+
5+
IMRPOVEMENTS:
6+
7+
- resource/gitlab_repository_file: Support the use of the `encoding` parameter. This allows using `text` encoding, which re-introduces the ability to have plaintext comparisons during a plan operation ([!1633](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1633))
8+
19
## 16.1.0 (2023-06-22)
210

311
This release was tested against GitLab 15.11, 16.0 and 16.1 for both CE and EE.

docs/resources/repository_file.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ resource "gitlab_repository_file" "readme_for_dogs" {
8787

8888
- `author_email` (String) Email of the commit author.
8989
- `author_name` (String) Name of the commit author.
90+
- `encoding` (String) The file content encoding. Default value is `base64`. Valid values are: `base64`, `text`.
9091
- `execute_filemode` (Boolean) Enables or disables the execute flag on the file. **Note**: requires GitLab 14.10 or newer.
9192
- `overwrite_on_create` (Boolean) Enable overwriting existing files, defaults to `false`. This attribute is only used during `create` and must be use carefully. We suggest to use `imports` whenever possible and limit the use of this attribute for when the project was imported on the same `apply`. This attribute is not supported during a resource import.
9293
- `start_branch` (String) Name of the branch to start the new commit from.
@@ -97,7 +98,6 @@ resource "gitlab_repository_file" "readme_for_dogs" {
9798
- `blob_id` (String) The blob id.
9899
- `commit_id` (String) The commit id.
99100
- `content_sha256` (String) File content sha256 digest.
100-
- `encoding` (String) The file content encoding.
101101
- `file_name` (String) The filename.
102102
- `id` (String) The ID of this resource.
103103
- `last_commit_id` (String) The last known commit id.

0 commit comments

Comments
 (0)