Skip to content

Commit 4028bf4

Browse files
committed
release: Update version to 2.1.0
1 parent 48846c3 commit 4028bf4

File tree

4 files changed

+85
-78
lines changed

4 files changed

+85
-78
lines changed

CHANGELOG.md

Lines changed: 81 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
1-
# Version 2.0.3 (2020-01-06)
1+
# CHANGELOG
2+
3+
## Version 2.1.0 (2022-08-03)
4+
5+
- Fix: Bug with GET requests passing a request body would receive a 403 [PR #323][pr-323]
6+
7+
## Version 2.0.3 (2020-01-06)
28

39
- Internal: Rubocop update and styling fixes
410
- Added Project#delete_envvar to remove envvars (@lacostenycoder)
511

6-
# Version 2.0.2 (2018-01-28)
12+
## Version 2.0.2 (2018-01-28)
713

814
House cleaning update, no changes to API or new endpoints added.
915

1016
- Upgrade Yard development dependency due to vulnerability
1117
- Add CI workflow for building against latest ruby versions
1218

13-
# Version 2.0.1 (2017-08-22)
19+
## Version 2.0.1 (2017-08-22)
1420

1521
* Add params to `Project#recent_builds_branch`
1622

17-
# Version 2.0.0 (2017-05-26)
23+
## Version 2.0.0 (2017-05-26)
1824

1925
## Breaking Changes
2026

2127
> Please use branch v-1.1.0 or tag v1.1.0 for previous 1.x version of
2228
> the gem until you can update to the latest version. 1.x will not be supported
2329
> in the longer term.
2430
25-
* Remove all deprecated class methods in favor of instance API resources classes
26-
* Please look at the documentation in the README or rubydoc on changes. An example of a change might be:
31+
- Remove all deprecated class methods in favor of instance API resources classes
32+
- Please look at the documentation in the README or rubydoc on changes. An example of a change might be:
2733

2834
```ruby
2935
#
@@ -43,19 +49,17 @@ House cleaning update, no changes to API or new endpoints added.
4349
project.clear_cache #clear the cache
4450
```
4551

46-
47-
4852
## Other changes
4953

50-
* Update default API version to `v1.1`
51-
* Implement `:vcs_type` API endpoints for `v1.1` i.e. `/api/project/:vcs_type/:username/:project/follow`
54+
- Update default API version to `v1.1`
55+
- Implement `:vcs_type` API endpoints for `v1.1` i.e. `/api/project/:vcs_type/:username/:project/follow`
5256

53-
# Version 1.1.0 - (2017-03-20)
57+
## Version 1.1.0 - (2017-03-20)
5458

5559
**Breaking Changes**
5660

57-
* Deprecate all the class methods in favor of classes for object approach
58-
* `Project#build_branch` build parameters changed how they are
61+
- Deprecate all the class methods in favor of classes for object approach
62+
- `Project#build_branch` build parameters changed how they are
5963
passed in. You now need to pass them as the API expects them to be
6064
nested under the `build_parameters` key.
6165

@@ -65,103 +69,104 @@ House cleaning update, no changes to API or new endpoints added.
6569
res = CircleCi::Project.build_branch 'username', 'reponame', 'branch', {}, build_params
6670
```
6771

68-
# Version 1.0.3 - (2016-09-30)
72+
## Version 1.0.3 - (2016-09-30)
6973

70-
* Fix requiring of `forwardable`
74+
- Fix requiring of `forwardable`
7175

72-
# Version 1.0.2 - (2016-09-24)
76+
## Version 1.0.2 - (2016-09-24)
7377

74-
* Fix requiring of `openssl` - fixed in [#81](https://github.com/mtchavez/circleci/pull/81)
78+
- Fix requiring of `openssl` - fixed in [#81](https://github.com/mtchavez/circleci/pull/81)
7579

76-
# Version 1.0.1 - (2016-09-14)
80+
## Version 1.0.1 - (2016-09-14)
7781

78-
* Fix regression of `CircleCi::Project.enable` HTTP method changing incorrectly to a `delete`
82+
- Fix regression of `CircleCi::Project.enable` HTTP method changing incorrectly to a `delete`
7983

80-
# Version 1.0 - (2016-08-31)
84+
## Version 1.0 - (2016-08-31)
8185

8286
**Breaking Changes**
8387

84-
* CircleCi::Project#envvars renamed to envvar for consistency with API endpoint
85-
* Deprecated CircleCi::Project#envvars
86-
* Upgrade rspec to 3.5
87-
* Require minimum ruby version `>= 2.0.0`
88-
* Remove `RestClient` as a dependency and replace with stdlib `Net::HTTP`
89-
* Add params and body as inputs to `CircleCi::Project#build_branch`
90-
* Add configuration for proxy hosts
88+
- CircleCi::Project#envvars renamed to envvar for consistency with API endpoint
89+
- Deprecated CircleCi::Project#envvars
90+
- Upgrade rspec to 3.5
91+
- Require minimum ruby version `>= 2.0.0`
92+
- Remove `RestClient` as a dependency and replace with stdlib `Net::HTTP`
93+
- Add params and body as inputs to `CircleCi::Project#build_branch`
94+
- Add configuration for proxy hosts
9195

92-
# Version 0.2.3 - (2016-03-12)
96+
## Version 0.2.3 - (2016-03-12)
9397

94-
* CircleCi::RecentBuilds#get - Replaces old CircleCi#organization endpoint to return all recent builds
95-
* Remove CircleCi#organization for CircleCi::RecentBuilds#get
96-
* CircleCi::Project#recent_builds - Takes params to supply limit, offset, and filter query params
97-
* RestClient::Request overrides or configuration per request is configurable via Config.request_overrides hash
98+
- CircleCi::RecentBuilds#get - Replaces old CircleCi#organization endpoint to return all recent builds
99+
- Remove CircleCi#organization for CircleCi::RecentBuilds#get
100+
- CircleCi::Project#recent_builds - Takes params to supply limit, offset, and filter query params
101+
- RestClient::Request overrides or configuration per request is configurable via Config.request_overrides hash
98102

99-
# Version 0.2.2 - (2016-02-26)
103+
## Version 0.2.2 - (2016-02-26)
100104

101-
* Fix regression from [#50](https://github.com/mtchavez/circleci/pull/50) which broke [#10](https://github.com/mtchavez/circleci/pull/10)
102-
* Make host and port configurable for people using Enterprise CircleCi
103-
* CircleCi::Project#envvar – Get environment variables for a project
104-
* CircleCi::Project#set_envvar – Set environment variable for a project
105+
- Fix regression from [#50](https://github.com/mtchavez/circleci/pull/50) which broke [#10](https://github.com/mtchavez/circleci/pull/10)
106+
- Make host and port configurable for people using Enterprise CircleCi
107+
- CircleCi::Project#envvar – Get environment variables for a project
108+
- CircleCi::Project#set_envvar – Set environment variable for a project
105109

106-
# Version 0.2.1 - (2016-02-21)
110+
## Version 0.2.1 - (2016-02-21)
107111

108112
**Yanked from rubygems**
109113

110-
# Version 0.2.0 - (2015-12-06)
111-
112-
* CircleCi::User#heroku_key – Add your Heroku API key to your account
113-
* CircleCi::Project#ssh_key – Add an SSH key to a project
114-
* CircleCi::Project#build_ssh_key – Add an SSH key to a project build
115-
* CircleCi::Project#new_checkout_key – Add a checkout key to a project
116-
* CircleCi::Project#list_checkout_keys – Get all checkout keys for a project
117-
* CircleCi::Project#get_checkout_key – Get a project checkout key
118-
* CircleCi::Project#delete_checkout_key – Delete a project checkout key
114+
## Version 0.2.0 - (2015-12-06)
119115

120-
# Version 0.1.1 - (2015-3-29)
116+
- CircleCi::User#heroku_key – Add your Heroku API key to your account
117+
- CircleCi::Project#ssh_key – Add an SSH key to a project
118+
- CircleCi::Project#build_ssh_key – Add an SSH key to a project build
119+
- CircleCi::Project#new_checkout_key – Add a checkout key to a project
120+
- CircleCi::Project#list_checkout_keys – Get all checkout keys for a project
121+
- CircleCi::Project#get_checkout_key – Get a project checkout key
122+
- CircleCi::Project#delete_checkout_key – Delete a project checkout key
121123

122-
* Cancel a build merged in [#15](https://github.com/mtchavez/circleci/pull/15) from [@etiennebarrie](https://github.com/etiennebarrie)
123-
* Tests endpoint for a build. Will return all tests ran with metadata.
124-
* Currently experimental tests endpoint needs to be turned on in Experimental Settings
124+
## Version 0.1.1 - (2015-3-29)
125125

126-
# Version 0.1.0 - (2014-11-4)
126+
- Cancel a build merged in [#15](https://github.com/mtchavez/circleci/pull/15) from [@etiennebarrie](https://github.com/etiennebarrie)
127+
- Tests endpoint for a build. Will return all tests ran with metadata.
128+
- Currently experimental tests endpoint needs to be turned on in Experimental Settings
127129

128-
* Loosen `rest-client` dependency to `~> 1.6`
130+
## Version 0.1.0 - (2014-11-4)
129131

130-
# Version 0.0.9 - (2014-11-4)
132+
- Loosen `rest-client` dependency to `~> 1.6`
131133

132-
* Deprecate `CircleCi::Response#parsed_body` to not use `hashie` gem
134+
## Version 0.0.9 - (2014-11-4)
133135

134-
# Version 0.0.8 - (2014-11-4)
136+
- Deprecate `CircleCi::Response#parsed_body` to not use `hashie` gem
135137

136-
* Support [parameterized builds](https://circleci.com/docs/parameterized-builds)
137-
* Thanks to [@dlitvakb](https://github.com/dlitvakb) merged in [#15](https://github.com/mtchavez/circleci/pull/15)
138+
## Version 0.0.8 - (2014-11-4)
138139

139-
# Version 0.0.7 - (2014-8-1)
140+
- Support [parameterized builds](https://circleci.com/docs/parameterized-builds)
141+
- Thanks to [@dlitvakb](https://github.com/dlitvakb) merged in [#15](https://github.com/mtchavez/circleci/pull/15)
140142

141-
* Add method to build specific branch of project - Thanks to [@hwartig](https://github.com/hwartig)
143+
## Version 0.0.7 - (2014-8-1)
142144

143-
* CircleCi::Project#build_branch - Triggers build for specific branch of project
145+
- Add method to build specific branch of project - Thanks to [@hwartig](https://github.com/hwartig)
146+
- CircleCi::Project#build_branch - Triggers build for specific branch of project
144147

145-
# Version 0.0.6 - (2014-6-8)
148+
## Version 0.0.6 - (2014-6-8)
146149

147-
* New hidden endpoints added to API - Thanks to [@EiNSTeiN-](https://github.com/EiNSTeiN-)
150+
- New hidden endpoints added to API - Thanks to [@EiNSTeiN-](https://github.com/EiNSTeiN-)
151+
- CircleCi::Project#build - Build the latest master push for this project
152+
- CircleCi::Project#enable - Enable a project in CircleCI
153+
- CircleCi::Project#follow - Follow a project in CircleCI
154+
- CircleCi::Project#unfollow - Unfollow a project in CircleCI
155+
- CircleCi::Project#settings - Get project configuration
148156

149-
* CircleCi::Project#build - Build the latest master push for this project
150-
* CircleCi::Project#enable - Enable a project in CircleCI
151-
* CircleCi::Project#follow - Follow a project in CircleCI
152-
* CircleCi::Project#unfollow - Unfollow a project in CircleCI
153-
* CircleCi::Project#settings - Get project configuration
157+
## Version 0.0.3 - (2014-1-29)
154158

155-
# Version 0.0.3 - (2014-1-29)
159+
- [Build artifacts](https://github.com/mtchavez/circleci/pull/3) added
156160

157-
* [Build artifacts](https://github.com/mtchavez/circleci/pull/3) added
161+
## Version 0.0.2 - (2014-1-21)
158162

159-
# Version 0.0.2 - (2014-1-21)
163+
- [Branch builds endpoint](https://github.com/mtchavez/circleci/pull/1)
164+
- Ruby 2.0.0 in Gemfile
165+
- More documentation
160166

161-
* [Branch builds endpoint](https://github.com/mtchavez/circleci/pull/1)
162-
* Ruby 2.0.0 in Gemfile
163-
* More documentation
167+
## Version 0.0.1 - (2013-4-16)
164168

165-
# Version 0.0.1 - (2013-4-16)
169+
- Add basic endpoints
166170

167-
* Add basic endpoints
171+
---
172+
[pr-323]: https://github.com/mtchavez/circleci/pull/323

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
circleci (2.0.3)
4+
circleci (2.1.0)
55

66
GEM
77
remote: https://rubygems.org/

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
Circle CI API Wrapper. Requires ruby `>= 2.0.0`.
99

10+
⚠️ **403 Forbidden issue with GET Requests fixed in 2.1.0**
11+
1012
## Install
1113

1214
```ruby

circleci.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |s|
44
s.name = 'circleci'
5-
s.version = '2.0.3'
5+
s.version = '2.1.0'
66
s.summary = 'Circle CI REST API gem'
77
s.description = 'Ruby gem for Circle CI REST API'
88
s.licenses = %w[MIT]

0 commit comments

Comments
 (0)