Releases: andygrunwald/go-jira
v1.17.0
This is a maintenance release, but there are two important changes:
- github.com/golang-jwt/jwt/v4 has been updated because of a security issue, see CVE-2025-30204
- Minimum Go version has been raised from v1.15 to v1.21, due to an update of github.com/google/go-cmp
What's Changed
- Replace
ioutil.ReadFilewithos.ReadFile - Replace
ioutil.ReadAllwithio.ReadAll - upgraded static v2022.1 => v2023.1
- go fmt issue.go, metaissue.go, sprint.go
- Github Actions: Upgrade dominikh/staticcheck-action from v1.2 to v1.4
- Github Actions: Upgrade actions/setup-go from v3 to v6
- Github Actions: Upgrade actions/checkout from v3 to v5
- go mod tidy
- upgraded github.com/google/go-cmp v0.5.8 => v0.7.0
- upgraded go 1.15 => 1.21
- upgraded github.com/golang-jwt/jwt/v4 v4.4.2 => v4.5.2
All these changes have been made by @andygrunwald in #735
Full Changelog: v1.16.1...v1.17.0
v1.16.1
This release is shipping a fix for the deprecation of the GET /rest/api/2/search endpoint. See Deprecation of JQL search and Evaluate expression endpoints / 31 October 2024.
If you are using a Jira Cloud-hosted instance and are using either IssueService.Search() or IssueService.SearchWithContext(), there is a high likelihood that these functions will no longer work for you due to deprecation and removal by Atlassian.
This release introduces IssueService.SearchV2JQL() and IssueService.SearchV2JQLWithContext() with a very similar function signature. To get the same results as with IssueService.Search() or IssueService.SearchWithContext(), you may need to configure a Fields list in the options parameter. Please see Search for issues using JQL enhanced search (GET) for further instructions.
What's Changed
- Add SearchV2JQL to fix the deprecation of JQL search and evaluate expression endpoints by @conor-naranjo in #725
New Contributors
- @conor-naranjo made their first contribution in #725
Full Changelog: v1.16.0...v1.16.1
v1.16.0
What's Changed
- chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.3.0 to 4.4.0 by @dependabot in #443
- chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.0 to 4.4.1 by @dependabot in #445
- chore(deps): bump actions/checkout from 2 to 3 by @dependabot in #448
- chore(deps): bump actions/cache from 2 to 3.0.1 by @dependabot in #447
- GitHub Actions Update: Run tests on macOS, deprecate Go v1.15 and Go v1.16, introduce Go v1.18, run CI every night by @andygrunwald in #449
- GitHub Actions: Upgrade staticcheck action version to v1.2.0 by @andygrunwald in #451
- Added an example of how to add a label to an issue by @lucribas in #442
- GitHub Actions: Remove greetings workflow by @andygrunwald in #450
- chore(deps): bump actions/setup-go from 2 to 3 by @dependabot in #452
- chore(deps): bump github.com/google/go-cmp from 0.5.7 to 0.5.8 by @dependabot in #453
- chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 by @dependabot in #464
New Contributors
Full Changelog: v1.15.1...v1.16.0
v1.15.1
What's Changed
- fix: Added support for update section in DoTransitionWithPayload struct by @CondensedTea in #423
- Add "environment" on the issue field by @nansuri in #440
- Update user.go by @metalbreeze in #439
- feat: add customer and request endpoints for service desk api by @iamjem in #391
- handle resource leaks by @dustin-decker in #399
New Contributors
- @CondensedTea made their first contribution in #423
- @nansuri made their first contribution in #440
- @metalbreeze made their first contribution in #439
- @iamjem made their first contribution in #391
- @dustin-decker made their first contribution in #399
Full Changelog: v1.15.0...v1.15.1
v1.15.0
What's Changed
- GH-400, GH-401 Upgrading JWT Library to V4 by @benjivesterby in #403
- chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.1.0 to 4.2.0 by @dependabot in #424
- feat: added support for personal-access-tokens by @evilnerd in #422
- Missing alias for import in example in README by @tstrijdhorst in #428
- add missing min/max to BoardConfigurationColumn by @brenol in #430
- New issue method: update remote issue link by ID by @madest92 in #411
- chore(deps): bump github.com/google/go-cmp from 0.5.6 to 0.5.7 by @dependabot in #432
- adds missing struct omitempty tags to the Parent struct by @cmcpasserby in #435
- chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.2.0 to 4.3.0 by @dependabot in #438
- Issue-418 accept strings as serviceDeskID by @james-cast in #419
- feat(auth): Bearer Auth Support (oauth 2.0) by @Chhekur in #397
New Contributors
- @tstrijdhorst made their first contribution in #428
- @brenol made their first contribution in #430
- @cmcpasserby made their first contribution in #435
- @james-cast made their first contribution in #419
- @Chhekur made their first contribution in #397
Full Changelog: v1.14.0...v1.15.0
v1.14.0
1.14.0 (2021-08-04)
Features
- Description field added for component (#365) (e8880eb)
- Feature: Add support for Jira ServiceDesk and its organizations (3017996)
- Feature: Implement delete issue link api (#341) (5601d2b)
- Add Items and Custom to FieldSchema (#332) (3754d5a)
- Added property "StartedAfter" to GetWorklogsQueryOptions struct accor… (#344) (5806b81)
Bug Fixes
- Fix some possible nil reference (a4fbf26)
- Pass context parameters through (823e39f)
- var total was having an issues (9c2ab8f)
- Fixed bool type for release version (4a5830d)
Documentation
Sustaining
- Cleanup Continuous Integration (#384) (2c5d75b)
- Add funding information (#383) (ce29222 )
- Upgrade to GitHub-native Dependabot (#375) (fcb7aa2)
- fix: resolve nogo tautological linting error (#364) (c64f012)
- Typo fix in issue_test.go (f30f8c9)
- Raise go versions in testing workflow (#349) (1a84689)
- Remove 1.12 from travis builds (4654761)
- Add Go 1.15 to supported versions (64663d1)
- Remove tests for Go < 1.12 (0d43108)
Dependency Upgrades
v1.13.0
1.13.0 (2020-10-25)
Features
- add AddRemoteLink method (f200e15), closes /developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2
- Add Names support on Issue struct (#278) (1fc10e0)
- Extend Makefile for more source code quality targets (5e52236)
- context: Add support for context package (e1f4265)
- issues: Add GetEditMeta on issue (a783764), closes /docs.atlassian.com/DAC/rest/jira/6.1.html#d2e1364
- IssueService: allow empty JQL (#268) (4b91cf2)
- project: Add cronjob to check for stale issues (#287) (2096b04)
- project: Add GitHub Actions testing workflow (#289) (80c0282), closes #290
- project: Add workflow to greet new contributors (#288) (c357b61)
Bug Fixes
- change millisecond time format (8c77107)
- paging with load balancer going to endless loop (19d3fc0), closes #260
- issue: IssueService.Search() with a not empty JQL triggers 400 bad request (#292) (8b64c7f), closes #291
- IssueService.GetWatchers: UserService.GetByAccountID support accountId params (436469b)
- product: Make product naming consistent, rename JIRA to Jira (#286) (146229d), closes #284
- tests: Fix TestIssueService_PostAttachment unit test (f6b1dca)
- removing the use of username field in searching for users (#297) (f50cb07)
v1.12.0
1.12.0 (2019-12-14)
Features
- Add IssueLinkTypeService with GetList and test (261889a)
- add worklog update method (9ff562a)
- Implement get remote links method (1946cac)
- Implement issue link type DELETE (e37cc6c)
- Implement issue link type GET (57538b9)
- Implement issue link type POST (75b9df8)
- Implement issue link type PUT (48a15c1)
- provide access to issue transitions loaded from JIRA API (7530b7c)
1.11.0 (2019-10-17)
1.11.0 (2019-10-17)
Features
- Add AccountID and AccountType to GroupMember struct (216e005)
- Add AccountType and Locale to User struct (52ab347)
- Add GetAllStatuses (afc96b1)
- Add GetMyFilters to FilterService (ebae19d)
- Add Search to FilterService (38a755b)
- add support for JWT auth with qsh needed by add-ons (a8bdfed)
- AddGetBoardConfiguration (fd698c5)
- Replace http.Client with interface for extensibility (b59a65c)