Skip to content

Commit aab8de1

Browse files
authored
Upgrade Changelog for v1.0.0 (#174)
1 parent 1cda733 commit aab8de1

File tree

1 file changed

+165
-10
lines changed

1 file changed

+165
-10
lines changed

CHANGELOG.md

Lines changed: 165 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,182 @@ first. For more complete details see
77

88
## Versions
99

10-
### Latest
10+
### 1.0.0 (2024-10-20)
1111

12-
### 0.5.2
12+
This is the first release in 7 years (since 2017-11-04).
13+
The project itself was alive and received new features and bug fixes during this time.
14+
Only the creation of an "official" release was absent.
15+
16+
If you were/are using the latest head branch, it is safe to switch to v1.0.0.
17+
No new breaking changes have been introduced.
18+
19+
If you are upgrading from v0.5.2 (2017-11-04), please check out the breaking changes.
20+
21+
**WARNING**: This release includes breaking changes. These changes are prefixed by `[BREAKING CHANGE]`.
22+
23+
#### Features
24+
25+
18c7753 Add support for submit_requirement fields in ChangeInfo. (#169)
26+
0983e87 Update CherryPickInput to support new fields (#165)
27+
bb1cabe Update SubmitInput entity to support new fields (#163)
28+
444a268 Add missing fields `Error` and `ChangeInfo` to ReviewResult (#160)
29+
235fa61 Implement parents_data in RevisionInfo (#157)
30+
40e4f30 [BREAKING CHANGE] Add golang context support (#153)
31+
f01a53b Add `Strategy`, `AllowConflicts`, `OnBehalfOfUploader`, `CommitterEmail` and `ValidationOptions` fields to RebaseInput (#155)
32+
4f1401b AccountExternalIdInfo/Accounts.GetAccountExternalIDs: Adjusted docs according the official documentation
33+
8a06083 Add AccountService.QueryAccounts
34+
1d229fd Add AccountService.GetAccountExternalIDs
35+
999473b Add fields `SecondaryEmails`, `Status`, `Inactive` and `Tags` in AccountInfo
36+
c44fe2f Add create project's tag and delete project's tag and tags (#146)
37+
2dcb9fb Add support for project deletion (with plugin) (#147)
38+
423d372 add Comment{Input,Info} fields (#145)
39+
8cd0d63 Add GetHashtags/SetHashtags (#141)
40+
9ea5350 Add revision kind to RevisionInfo (#135)
41+
5de64ee changes: Add RemoveAttention (#124)
42+
2e881e2 Add fields `Reviewers`, `Ready`, `WorkInProgress`, `AddToAttentionSet`, `RemoveFromAttentionSet` and `IgnoreAutomaticAttentionSetRules` to ReviewInput (#123)
43+
f645b08 add: project commits included in (#122)
44+
d3e91fb Add support for Change API's "Set Ready-For-Review" endpoint (#110)
45+
ff14d06 Groups: Add _more_groups attribute to GroupInfo
46+
67c9345 [BREAKING CHANGE] Fix #92: Add pagination support for SuggestAccount
47+
67e5874 changes: fill in the rest of Changes.ChangeInput (#97)
48+
101051e Fix #92: Add _more_accounts attribute and start parameter to paginate through SuggestAccount results
49+
dcedff1 Add more supported fields to the ChangeInfo struct (#90)
50+
4e82ec7 Add Changes.MoveChange (#81)
51+
590067b Added go modules (#83)
52+
ed2419a Add support for Change API's "Set Commit Message" endpoint (#80)
53+
5c7c90c feat: add access method for project
54+
b4b4fdb Add fields `Groups` and `ConfigWebLinks` to `ProjectAccessInfo`
55+
5959a9b add ReviewerUpdates field to ChangeInfo
56+
759bda1 feat: add submittable field for change info
57+
64931d2 add Hashtags field to ChangeInfo
58+
19ef3e9 add tests for project.GetBranch
59+
197fe0d Add types for robot comments
60+
5ea6031 Add Reviewers field to ChangeInfo
61+
5632c7f Expose the client's BaseURL.
62+
90fea2d Improve consistency of baseURL trailing slash handling.
63+
70bbb05 [BREAKING CHANGE] Use Timestamp type for all time fields.
64+
5416038 Add Avatars field to AccountInfo.
65+
2e8da2e Add FilesOptions to ListFiles, ListFilesReviewed.
66+
5ff0cbc Add missing fields to ChangeMessageInfo, FileInfo.
67+
3418ea4 Add PatchOptions.Path field.
68+
0655566 Added comment to DiffIntralineInfo from gerrit rest api docs (as suggested by @shurcooL).
69+
70+
#### Bugfixes
71+
72+
7c5be02 Fix MoveInput struct definition (keep_all_labels -> keep_all_votes) (#161)
73+
b85f9f5 [BREAKING CHANGE] Change ReviewInput to use map[string]int for labels (#159)
74+
b24a961 Escape % character in fm.Fprint (#106)
75+
918f939 fix: remove a extra characters in url path (#103)
76+
668ecf2 [BREAKING CHANGE] changes: rename Changes.DeleteDraftChange to DeleteChange (#95)
77+
34f3353 fix: omit optional empty fields in ProjectInput (#94)
78+
cc4e14e fix: no need to send content-type header if no header sent (#91)
79+
eab0848 omitempty for AbandonInput.Notify and AbandonInput.NotifyDetails fields (#89)
80+
3f5e365 fix: fix url error in `GroupsService.AddGroupMembers`, `GroupsService.DeleteGroupMember`, `ProjectsService.GetConfig`, `ProjectsService.SetProjectDescription`, `ProjectsService.DeleteProjectDescription`, `ProjectsService.BanCommit`, `ProjectsService.SetConfig`, `ProjectsService.SetHEAD`, `ProjectsService.SetProjectParent` and `ProjectsService.RunGC`
81+
adf825f Fix JSON tags of `CheckAccessOptions` and added unit test `TestProjectsService_ListAccessRights`
82+
6761407 Renamed projects_test.go to projects_access_test.go
83+
ea89ae5 fix: Rename `ExampleChangesService_QueryChanges_WithSubmittable` to `ExampleChangesService_QueryChanges_withSubmittable`
84+
7b0d1f8 escape branch names in the query as well
85+
43cfd7a Fix GetCommitContent to actually get commit content
86+
30ce279 Make code more readable and consistent regards return values
87+
5f93656 Fixed handling of unhandled error
88+
aab0406 [BREAKING CHANGE] Rename struct fields according go rules
89+
3c4bc0f Fixed #44. DiffContent.A/B/AB should be []string instead of string. DiffIntralineInfo should be [][2]int.
90+
91+
#### Removal and deprecations
92+
93+
294d14b [BREAKING CHANGE] Remove CreateChangeDeprecated
94+
7b2c737 api: deprecate CreateChange using ChangeInfo (use ChangeInput instead)
95+
96+
#### Chore and automation
97+
98+
d21ca62 Introduce goreleaser to make the release of a new version easier
99+
08ff0c0 Github Actions: Upgrade supported Go versions from 1.21, 1.22 to 1.22, 1.23 (#172)
100+
d093e01 Github Actions: Fix Actions trigger on branch name (#171)
101+
b410a34 Github Actions: Upgrade `runs-on` image from ubuntu-22.04 to ubtuntu-24.04 (#170)
102+
c725a0f Update Go version (add v1.22, remove v1.20) (#164)
103+
e8bb8e4 Bump dominikh/staticcheck-action from 1.3.0 to 1.3.1 (#162)
104+
6478d30 Bump actions/setup-go from 4 to 5 (#156)
105+
89fb5cf Bump actions/checkout from 3 to 4 (#154)
106+
d2361a1 Update Go version for testing: Remove 1.19, add 1.21 (#151)
107+
e9d8f54 Update dependabot.yml: Set interval to monthly
108+
da63a5c GitHub Actions: Upgrade Ubuntu + Go version and remove Caching
109+
34adb1f Bump actions/setup-go from 3 to 4 (#144)
110+
cf782c5 Bump actions/cache from 3.3.0 to 3.3.1 (#143)
111+
3ee7c89 Bump actions/cache from 3.2.6 to 3.3.0 (#142)
112+
d865180 Bump actions/cache from 3.2.5 to 3.2.6 (#140)
113+
04e01d7 Upgrade static check to v2023.1 (#139)
114+
7e1bcf3 go mod tidy (#137)
115+
7e847d2 Bump actions/cache from 3.2.4 to 3.2.5 (#136)
116+
15d9b44 Bump dominikh/staticcheck-action from 1.2.0 to 1.3.0 (#132)
117+
14e2304 Bump actions/cache from 3.0.11 to 3.2.4 (#134)
118+
952a13d Upgrade Go versions: Removing v1.18, adding v1.20
119+
f726227 Bump actions/cache from 3.0.8 to 3.0.11 (#128)
120+
41749a6 GitHub Actions: Raise Go versions to v1.18 and v1.19 (#125)
121+
4fc9999 Bump actions/cache from 3.0.7 to 3.0.8 (#121)
122+
b678d1c Bump actions/cache from 3.0.5 to 3.0.7 (#120)
123+
4861c8c Bump actions/cache from 3.0.4 to 3.0.5 (#118)
124+
28cf26f Bump actions/cache from 3.0.3 to 3.0.4 (#114)
125+
2d5a93b Bump actions/cache from 3.0.2 to 3.0.3 (#113)
126+
4bec308 Bump actions/cache from 3.0.1 to 3.0.2 (#108)
127+
5f47610 Bump actions/setup-go from 2 to 3 (#109)
128+
525eecd Bump dominikh/staticcheck-action from 1.1.0 to 1.2.0 (#107)
129+
79adba8 Bump actions/checkout from 2 to 3 (#104)
130+
6928c4f Bump actions/cache from 2 to 3.0.1 (#105)
131+
90f99d2 Fix staticcheck in GitHub CI
132+
5105eaf Switch CI to only support v1.17 und v1.18
133+
916b31a Configured dependabot
134+
58f949a go mod tidy
135+
d813ef1 Run testing on a new pull request
136+
1154c96 Testing: Use go version '1.17', '1.16', '1.15'
137+
9d38b0b Bump github.com/google/go-querystring from 1.0.0 to 1.1.0 (#87)
138+
58fd2fe Upgrade to GitHub-native Dependabot (#88)
139+
e56a0c4 Rework CI: Removed travis + gometalinter, added GitHub Actions + staticcheck (#82)
140+
9181c5d Fix order of package imports
141+
78ea334 drop support for Go 1.9, add Go 1.12
142+
174420e Remove "unused" from gometalinter
143+
f48c3d1 Drop support for go v1.8
144+
eefac78 gometalinter: Renamed linter gas to gosec
145+
9e4f624 TravisCI: Added Go 1.11 to TravisCI build matrix
146+
201f25d gometalinter: Rename gas security checker to gosec
147+
c3ce3c2 Fix vet issue.
148+
a9c12d7 Require Go 1.8 or newer.
149+
150+
#### Documentation
151+
152+
1fe64e5 Changes: Add documentation link to ChangeInput
153+
027139b Improve documentation consistency.
154+
155+
#### README and examples
156+
157+
5a2c9c2 New example: Creating a project
158+
024fc51 Add section about "Development" into README
159+
3fc80f9 Smaller README rework and example directory
160+
46815e4 README: Follow the Go Release Policy (#85)
161+
8fc5ccb Rework README: Changed godoc links, Renamed Go(lang) to Go, added make commands (#84)
162+
163+
#### Other
164+
165+
c9ff84f Shorten paypal link for sponsoring
166+
5dc4910 Add sponsoring information
167+
168+
### 0.5.2 (2017-11-04)
13169

14170
* Fix panic in checkAuth() if Gerrit is down #42
15171
* Implement ListVotes(), DeleteVotes() and add missing tests
16172

17-
### 0.5.1
173+
### 0.5.1 (2017-09-14)
18174

19175
* Added the `AbandonChange`, `RebaseChange`, `RestoreChange` and
20176
`RevertChange` functions.
21177

22-
### 0.5.0
178+
### 0.5.0 (2017-09-11)
23179

24180
**WARNING**: This release includes breaking changes.
25181

26182
* [BREAKING CHANGE] The SetReview function was returning the wrong
27183
entity type. (#40)
28184

29-
### 0.4.0
185+
### 0.4.0 (2017-09-05)
30186

31187
**WARNING**: This release includes breaking changes.
32188

@@ -49,7 +205,7 @@ first. For more complete details see
49205
Gerrit could use for generated passwords, for example would break url.Parse's
50206
expectations.
51207

52-
### 0.3.0
208+
### 0.3.0 (2017-06-05)
53209

54210
**WARNING**: This release includes breaking changes.
55211

@@ -62,7 +218,7 @@ first. For more complete details see
62218
* Fix Changes.AddReviewer so it passes along the reviewer to the request.
63219
* Simplify and optimize RemoveMagicPrefixLine
64220

65-
### 0.2.0
221+
### 0.2.0 (2016-11-15)
66222

67223
**WARNING**: This release includes breaking changes.
68224

@@ -75,8 +231,7 @@ first. For more complete details see
75231
* [BREAKING CHANGE] In ec28f77 `ChangeInfo.Labels` has been changed to map
76232
to fix #21.
77233

78-
79-
### 0.1.1
234+
### 0.1.1 (2016-11-05)
80235

81236
* Minor fix to SubmitChange to use the `http.StatusConflict` constant
82237
instead of a hard coded value when comparing response codes.
@@ -97,7 +252,7 @@ first. For more complete details see
97252
* Added the missing `URL` field to `ChangeInfo` which is usually included
98253
as part of an event from the events-log plugin.
99254

100-
### 0.1.0
255+
### 0.1.0 (2016-10-08)
101256

102257
* The first official release
103258
* Implemented digest auth and several fixes for it.

0 commit comments

Comments
 (0)