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

fix: provide fallback api version [LIBS-683] #877

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

tomzemp
Copy link
Member

@tomzemp tomzemp commented Sep 23, 2024

See https://dhis2.atlassian.net/browse/LIBS-683

This provides a safeguard for the login app to default to an api version if the api version is missing from api/loginConfig (see linked slack discussion on the thread).

I think it would be better to fix this on the backend to reliably be able to get and return that api version, but this helps prevent users not being able to log in while we refine how to improve consistency of api/loginConfig.

@tomzemp tomzemp marked this pull request as ready for review September 24, 2024 09:37
@kabaros kabaros merged commit dc7bdfa into master Sep 26, 2024
6 checks passed
@kabaros kabaros deleted the LIBS-683/default-login-apiversion branch September 26, 2024 14:19
dhis2-bot added a commit that referenced this pull request Sep 26, 2024
## [11.7.2](v11.7.1...v11.7.2) (2024-09-26)

### Bug Fixes

* provide fallback api version [LIBS-683] ([#877](#877)) ([dc7bdfa](dc7bdfa))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 11.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

dhis2-bot added a commit that referenced this pull request Nov 6, 2024
# [12.0.0-alpha.22](v12.0.0-alpha.21...v12.0.0-alpha.22) (2024-11-06)

### Bug Fixes

* **publishVersion:** fix maxBodyLength when uploading to appHub ([c5abfd1](c5abfd1))
* add @babel/plugin-syntax-dynamic-import as a direct dependency ([#886](#886)) ([8c5ef0c](8c5ef0c))
* bump typescript version used in app shell ([8ebb2e8](8ebb2e8))
* provide fallback api version [LIBS-683] ([#877](#877)) ([dc7bdfa](dc7bdfa))
* update app-runtime dependency ([74a2165](74a2165))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 12.0.0-alpha.22 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

3 participants