26.19.0 - 2026-05-06
✨ Added
- Add a new Session objects to store user session data by @bjoernricks in ee91434
- Add new useSession react hook by @bjoernricks in 6aeeb03
- Custom report download threshold for container scanning by @daniele-mng in 5df6dec
- Introduce session isLoggedIn method by @bjoernricks in 47659ca
- Add a new useSessionToken react hook by @bjoernricks in c90e635
- Introduce a withUserName hoc as a wrapper for useUserName by @bjoernricks in 4ea775b
👷 Changed
- Set visibility of Gmp properties and methods by @bjoernricks in #5254
- Refactor standard response data by @bjoernricks in e1e7176
- Adapt Login model envelope parsing changes by @bjoernricks in #5255
- Cleanup login process by @bjoernricks in e96ff37
- Set visibility of Settings properties by @bjoernricks in 2ce3e52
- Use Session for Settings by @bjoernricks in b6f9d4e
- Update session on user login and logout by @bjoernricks in 08f514c
- Create a mutable session by @bjoernricks in 63c9f9a
- Use new mutable session in Gmp and Settings classes by @bjoernricks in b72ac69
- Adapt Http class for token being store in the Session by @bjoernricks in 7cf0d5a
- Drop session properties from settings class by @bjoernricks in 436256d
- Use the useSession hook to get the session by @bjoernricks in #5256
- IncludeNotes and includeOverrides from number to boolean in UI by @daniele-mng in #5258
- Allow to be notified about session changes by @bjoernricks in 80818a6
- Refactor useUserIsLoggedIn hook to use session internally by @bjoernricks in 3a56e97
- Refactor useUserName hook to get the username from the session by @bjoernricks in c86d229
- Get the username via the useUserName hook for function components by @bjoernricks in ab96878
- Use TypeScript for date time formatters by @bjoernricks in #5270
🐛 Bug Fixes
- Fix allowing to reload the page without being logged out by @bjoernricks in e01fef8
🔥 Removed
- Remove login status from redux store and use hook instead by @bjoernricks in a9be337
- Remove getUsername redux store selector function by @bjoernricks in d7e412c
- Remove dispatching username to redux store by @bjoernricks in #5257
✅ Testing
- Update tests for moving token from settings to session by @bjoernricks in 89eac07
- Add a testing module to gmp for creating a session object by @bjoernricks in adfb762
- Adapt tests for session (especially username) changes by @bjoernricks in 905ec14
🚢 Dependencies
- Bump @greenbone/ui-lib from 2.1.1 to 2.5.0 by @dependabot[bot] in #5266
- Bump vite-plugin-svgr from 4.5.0 to 5.2.0 by @dependabot[bot] in #5268
- Bump the i18n group across 1 directory with 2 updates by @dependabot[bot] in #5259
- Bump the patch-updates group across 1 directory with 4 updates by @dependabot[bot] in #5269
- Bump globals from 17.4.0 to 17.6.0 by @dependabot[bot] in #5264
- Bump @tanstack/react-query from 5.90.21 to 5.100.9 by @dependabot[bot] in #5267
- Bump @tanstack/eslint-plugin-query from 5.91.5 to 5.100.9 by @dependabot[bot] in #5265
- Bump the typescript-eslint group across 1 directory with 3 updates by @dependabot[bot] in #5262