Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Golang version to 1.17 #245

Merged
merged 2 commits into from
Mar 25, 2022
Merged

Update Golang version to 1.17 #245

merged 2 commits into from
Mar 25, 2022

Conversation

emlaver
Copy link
Contributor

@emlaver emlaver commented Feb 4, 2022

PR summary

Fixes: #242

Note: An existing issue is required before opening a PR.

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the
    Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

What is the current behavior?

Golang minimum version is 1.16

What is the new behavior?

Update minimum supported Golang version to 1.17

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@emlaver emlaver requested a review from a team as a code owner February 4, 2022 04:42
@emlaver emlaver self-assigned this Feb 4, 2022
@@ -3,7 +3,7 @@
"files": "stubs/.+\\.json|go.sum|^.secrets.baseline$",
"lines": null
},
"generated_at": "2021-12-22T14:20:39Z",
"generated_at": "2022-02-04T14:56:37Z",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If none has changed the baseline file, we do not need to regenerate it.

@eiri
Copy link
Member

eiri commented Feb 7, 2022

Technically this works, but let's wait with merging till 1.18 officially released https://tip.golang.org/doc/go1.18

Copy link
Member

@eiri eiri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, but maybe revert silly .secrets.baseline file, it doesn't seems to have meaningful changes?

@@ -21,7 +21,7 @@ assignees: ''

**Must gather (please complete the following information):**
- SDK Version [e.g. 1.2.1]
- Go Version [e.g. Go 1.16.8]
- Go Version [e.g. Go 1.17]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you change this file here, it's going to be reverted on the next generated PR. Please do this change in the generator repo.

Copy link
Contributor Author

@emlaver emlaver Mar 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened PR in sdks repo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted in 8110401

README.md Outdated
@@ -99,7 +99,7 @@ project:
service instance or a
[CouchDB](https://docs.couchdb.org/en/latest/install/index.html)
server.
- Go version 1.16 or 1.17.
- Go version 1.17 or 1.18.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert this too.

Copy link
Contributor

@mojito317 mojito317 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@emlaver emlaver merged commit 091eaf5 into master Mar 25, 2022
@emlaver emlaver deleted the 242-update-golang branch March 25, 2022 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Golang version to 1.17
3 participants