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 to Go 1.16 #1054

Merged
merged 3 commits into from
Feb 19, 2021
Merged

Update to Go 1.16 #1054

merged 3 commits into from
Feb 19, 2021

Conversation

JoelSpeed
Copy link
Member

@JoelSpeed JoelSpeed commented Feb 18, 2021

Description

Update Go to 1.16.
Use the embed package to extract default page templates into html files.

Motivation and Context

This will make it easier for people to use our existing templates as bases for their own templates if they decide to customise the look of OAuth2 Proxy.

Since Go 1.16 has literally only just been release, this may be a bit premature? Not sure

How Has This Been Tested?

Manually using the local testing environment + unit tests cover this.

Checklist:

  • My change requires a change to the documentation or CHANGELOG.
  • I have updated the documentation/CHANGELOG accordingly.
  • I have created a feature (non-master) branch for my PR.

@JoelSpeed JoelSpeed requested a review from a team as a code owner February 18, 2021 19:33
NickMeves
NickMeves previously approved these changes Feb 18, 2021
Copy link
Member

@NickMeves NickMeves left a comment

Choose a reason for hiding this comment

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

Woot! Excited for 1.16 support on my new macbook air on Darwin/arm64! Switching architectures or using rosetta was a pain.

This includes a fix for our samesite cookie parsing. The behaviour
changed in 1.16 so that the default value now leaves it empty, so it's
equivalent to not setting it (as per spec)
This allows our users to easily copy the base templates should they wish 
to make changes to them
@JoelSpeed
Copy link
Member Author

I updated the changelog, no other changes since approval

@JoelSpeed JoelSpeed merged commit ad2d7b1 into master Feb 19, 2021
@JoelSpeed JoelSpeed deleted the go-1.16 branch February 19, 2021 11:37
Jing-ze pushed a commit to Jing-ze/oauth2-proxy that referenced this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants