-
Notifications
You must be signed in to change notification settings - Fork 18
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
Create v1.0 tag #16
Comments
We should document how to acquire the token file first. |
If I have time I'd like to improve the tests and possibly change some data types in the structs before v1.0. |
Fine with me. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Some thoughts on the 1.0 release:
|
re: oauth2.Config - going to leave that to @michaelharo to think about as he made those changes. re: go.mod 1.16 - is the suggestion we drop that directive completely? I'll swap out the usage of ioutil in another PR. |
@andig I'm using ioutil.ReadFile which is replaced by os.ReadFile doesn't exist <1.16. I'm not clear on the convention of how fast it's expected people would update to 1.16. I'm OK declaring that this library only works in 1.16+ but I'll wait to hear from you and @michaelharo and @uhthomas before I swap out the usages of ioutil. |
As long as 1.16 is targeted we can swap the functions. I don‘t think theres any need to require it, could probably be 1.13. I wouldn‘t mind 1.16 as I love the new features even if we don‘t need them here. |
I think 1.16 is reasonable. The Go compatibility promise makes this quite safe. |
#24 as expected, testing <1.16 is broken. I'll remove them from the matrix. |
Discussion offline with @michaelharo:
|
Should |
Maybe not exported as a field, but definitely should be settable via functional options. It's essential for black box unit testing, and integration tests. |
@michaelharo @uhthomas something like #33? |
Yeah, that's what I was thinking. |
I will send 2 more small PRs. One rename, one handling token expiry. The latter should go in before 1.0: |
I just noticed that my change to make struct member names more meaningful is potentially inconsistent. Not sure if we should care... It uses both |
I'm ambivalent to the inconsistency - the inconsistency matches the structure presented by the API. I'm going to tag HEAD as v1.0. |
I'd like to consider a v1.0 tag for the library after #8 is closed, preferable after #15 is merged.
The text was updated successfully, but these errors were encountered: