v0.16.0-RC2 - Release Candidate 2 for v0.16.0 - Single Sign-On support, steps data, sleep data, sleep targets for health metrics and sleep scoring system
⚠️ Warning:
- This is not a final version, expect bugs and errors
- MariaDB support is dropped. Use PostgreSQL as your DB. Check docs if need to migrate from MariaDB to PostgreSQL
- Your users sessions will be deleted on upgrade. Users will have to authenticate again
- Migration from previous Alpha versions is not supported!
Changes from RC1 to RC2
- ⚠️ Warning: Migration from previous Alpha and RC versions is not supported!
- Add instructions for bare-metal install to documentation #426
- Refactor bulk import to use thread pool executor #399
- Added missing translation files to Crowdin
- Refactor health_targets, health_weight, health_steps and health_sleep API for simplicity and add tests
- Add ability to delete, create or edit sleep entry
- Add sleep scoring system on manual sleep entries
- New sleep scoring docs and updated gallery screenshots
- New default login photo
- Dependency bump
Changes from Alpha5 to RC1
- ⚠️ Warning: Migration from previous Alpha versions is not supported!
- Add user max heart rate override for HR zone calculations #390
- Fix pace calculation for lap swimming activities without splits #427
- On SSO IdP creation, if custom logo is selected the user can now input an URL for the image #58
Changes from Alpha4 to Alpha5
- ⚠️ Warning: Migration from previous Alpha versions is not supported!
- Add health sleep tracking with dedicated health page
- Added RHR healh page with data from sleep tracking
Changes from Alpha3 to Alpha4
- ⚠️ Warning: Migration from previous Alpha versions is not supported!
- Merged changes made until v0.15.9
- Fix for some activities with gps track do not show speed/pace chart #422
- Move activity visibility settings to a collapsible #423
- Added steps data to Health section
- Line chart in weight section is now inline with the changes made to activity charts
- Added targets for weight and steps
Changes from Alpha2 to Alpha3
- Fixed enable/disable provider from the list level #58
- Icon hint inside provider's edit dialog is now aligned with available templates #58
- Fixed issue that was breaking "Auto-redirect to SSO" #58
- Added ability to have local login as a backup for SSO, even with "Auto-redirect to SSO" enabled. Adding
?forceLocalLogin=trueto the url enables this. Example:https://endurain.com?forceLocalLogin=true#58 - Enabled redirect on login. Example:
- User is not logged in and navigates to
https://endurain.com/settings - Redirects to
https://endurain.com/login?redirect=/settings - User logs in using local or SSO auth
- User is then redirected to
https://endurain.com/settingsinstead of home page
- User is not logged in and navigates to
Migrate from Alpha 1 to Alpha 2
- You will need to change column
idp_refresh_tokeninusers_identity_providerstable fromvarchartotext. Example with final stage bellow:
Changes from Alpha1 to Alpha2
- Fixed typo on README and docs index
- Introduces Casdoor as a supported identity provider #58
- Fixes update IDP not working
- Fixes refresh token to large to be stored error
- Add Strava activity retrieval by date range #368
New Features:
Backend
- Drop MariaDB support
- Introduces support for external identity providers (SSO) #58
- New password hasher utility, replacing legacy bcrypt and password logic
- New token manager utility for JWT creation/validation
- Refresh tokens are now hashed before being stored -> safer (no JWT leakage)
- Hashed content now uses Argon2id. Users passwords are updated automatically on new login
- Switched file security module to external module - safeuploads
- Backend now correctly handles missing files or missing routes on requests
- New auth module, centralizing authentication (local and SSO)
- Dependency bump
Frontend
- Migrated some frontend components to TS
- Introduces support for external identity providers (SSO) #58
- Centralized and unified modal logic with new reusable Bootstrap modal composable
- Added new validationUtils.ts for validation helper functions
- Refactor asset imports to use centralized constants
- Dependency bump
Fixes:
- Frontend now correctly handles Refresh and CSRF refresh logic
- Fix for following back results in no modal shown #385
- Fix for can't click context menu after login #348
- General bug fixes
- Add TRADEMARK.md
- Update Docker compose example for Jaeger service to use new image and config
New contributors
- @aronsky in #427
- @bstaeheli in #390
- @johanngrobe in #428