Skip to content

Releases: grezar/go-circleci

v0.9.1

02 Mar 04:39
1c0baae
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.9.0...v0.9.1

v0.9.0

23 Jan 04:12
a42f5e1
Compare
Choose a tag to compare

Breaking Changes

This release includes some breaking changes.
The interface of the below methods has changed.

  • Project.ListCheckoutKeys
  • Project.ListVariables
  • Context.ListVariables

Before upgrading to this version, you must change your implementation if using these methods.

For instance,

opts := ProjectListVariablesOptions{}

for {
	chunk, err := client.Projects.ListVariables(ctx, "slug", opts)
	if err != nil {
		return nil, err
	}

	variables = append(variables, chunk.Items...)
	if chunk.NextPageToken == "" {
		break
	}

	opts.PageToken = &chunk.NextPageToken
}

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.9.0

v0.8.1

10 Jan 09:26
7b42e4f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.0...v0.8.1

v0.8.0

20 Dec 07:21
18c4dc0
Compare
Choose a tag to compare

What's Changed

  • add support for Get Webhook endpoint and handle io/ioutil deprecation by @Nezz7 in #28

Full Changelog: v0.7.1...v0.8.0

v0.7.1

26 Oct 04:37
add5515
Compare
Choose a tag to compare

What's Changed

  • Fix EventWorkflowCompleted and EventJobCompleted type by @Nezz7 in #27

Full Changelog: v0.7.0...v0.7.1

v0.7.0

24 Oct 09:28
d3a1dcd
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump github.com/google/go-cmp from 0.5.8 to 0.5.9 by @dependabot in #26
  • Support Webhook API : list and create by @Nezz7 in #25

New Contributors

  • @Nezz7 made their first contribution in #25

Full Changelog: v0.6.2...v0.7.0

v0.6.2

30 May 01:58
7bcba5d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

14 Mar 11:25
73bbff3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

16 Dec 11:12
2da4e8e
Compare
Choose a tag to compare

What's Changed

  • s/contexts/users/ by @grezar in #16
  • s|application/vnd.api+json|application/json| by @grezar in #17

Full Changelog: v0.5.0...v0.6.0

v0.5.0

19 Nov 07:05
0f79bfb
Compare
Choose a tag to compare

What's Changed

  • Fix to utilize basePath by @grezar in #14
  • PipelineListOptions' tag should be url by @grezar in #15

BUG FIXES

  • Fix to utilize basePath. As reported at #13, all requests made by this library lacks /api/v2/ 😱
  • PipelineListOptions is used in GET requests so the struct should be converted to URL queries. So far, json queries have been tagged to struct and I fixed to use url instead

FYI

  • I added an example for listing pipelines

Full Changelog: v0.4.0...v0.5.0