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

latest API version is not available #12

Open
billinghamj opened this issue May 10, 2022 · 2 comments
Open

latest API version is not available #12

billinghamj opened this issue May 10, 2022 · 2 comments

Comments

@billinghamj
Copy link

Currently the code contains this:

// Latest API version release
VersionV20210325 = Version("2021-03-25")

But as far as I can see, v2021-10-21 is actually the latest

@billinghamj
Copy link
Author

Temp workaround:

sanity.Version("2021-10-21").NewClient(...)

@billinghamj
Copy link
Author

Btw, when the versioning support was added, .New was kept and marked as deprecated (presumably to try and maintain backwards compatibility?)

But it isn't actually backwards compatible anyway - it requires the dataset field, which wasn't required before

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

No branches or pull requests

1 participant