25.3.0 - 2026-04-22
✨ Added
- Add new user_session_renew_timeout function by @bjoernricks in 29fbc08
- Add function to get the JWT from a connection by @bjoernricks in 9951e93
- Add debug log for the used authentication method by @bjoernricks in e8a3fcc
- Add module for reading environment variables by @bjoernricks in adb81e0
- Add support for using environment variables for settings by @bjoernricks in #391
👷 Changed
- Extract null_or_value function into utils module by @bjoernricks in d20026d
- Add single case invocation to all test files by @mattmundell in 92b0ca0
- Change gsad_user_session_add to expect a user instead of creating one by @bjoernricks in b31e67c
- Implement only one way to update the session timeout by @bjoernricks in 25baa1e
- Expect user as arguments for session functions by @bjoernricks in 49a033d
- Move user session logout function to session module by @bjoernricks in a137c8e
- Use 0 consistently in gsad_args_parse by @mattmundell in c619603
- Improve debug log for handling GMP commands by @bjoernricks in c538eb6
- Extend logging for setting up a user for an incoming request by @bjoernricks in #384
- Rename get_client_address to gsad_http_get_client_address by @bjoernricks in cd45084
- Change attach_sid to a private function and rename it by @bjoernricks in 1eb3249
- Change remove_sid function to a private function and rename it by @bjoernricks in ed6337e
- Change attach_remove_sid to a private function and rename it by @bjoernricks in #385
- Change gsad_envelope to gsad_http_create_envelope by @bjoernricks in e51b7ab
- Change gsad_message to gsad_http_create_gsad_message and cleanup args by @bjoernricks in #386
- Extract getting token and session cookie into own functions by @bjoernricks in 20e5836
- Change get_user_from_connection to gsad_http_get_user_from_connection by @bjoernricks in 5464b9c
- When setting up the credentials get the JWT from the connection by @bjoernricks in ea63d29
- Allow to connect to gvmd via jwt or username+password by @bjoernricks in #388
- Rename cmd_response_data_to to gsad_command_response_data_t by @bjoernricks in 5da2f8f
- Use gsad_command_ prefix for allow caching functions by @bjoernricks in 7872f68
- Use gsad_command_ prefix for content type functions by @bjoernricks in f17715d
- Use gsad_command_ prefix for status code functions by @bjoernricks in a23d736
- Use gsad_command_ prefix for content length functions by @bjoernricks in ccbe5e2
- Use gsad_command_ prefix for content disposition functions by @bjoernricks in e7b933d
- Rename gsad_cmd module to gsad_command_response_data by @bjoernricks in 78efbb3
🐛 Bug Fixes
- Close a leak in the validator test by @mattmundell in b8a9ee9
- Free elements of calls in tests by @mattmundell in 25b5d81
- Free con_info in method handler test by @mattmundell in 5259825
- Free handler tree from root in tests by @mattmundell in fe8a83b
- Free all retrieved cases in should_renew_user test by @mattmundell in 6e83744
- Free socket path in arg tests by @mattmundell in #381
- Free all http_* args by @mattmundell in 78da37e
- Tests: free string args before assigning to them by @mattmundell in 524083e
- Free string args before assigning to them by @mattmundell in 44e7749
- Tests: free array args before assigning to them by @mattmundell in b58d6cf
- Free array args before assigning to them by @mattmundell in c44bbd0
- Fix displaying default value of
--timeoutargument in help output by @bjoernricks in 5eda93b
🔥 Removed
- Remove unused import by @bjoernricks in b148c9c
- Remove unnecessary if checks for freeing data by @bjoernricks in 4135757
- Remove unused ctime_r_strip_newline function by @bjoernricks in #390
📚 Documentation
- Update argument descriptions of gsad user functions by @bjoernricks in 323519a
- Update docstring of gsad_user_session_find function by @bjoernricks in #382
- Update docstring for gsad_settings_set_session_timeout function by @bjoernricks in #387
- Document possible gsad settings in README by @bjoernricks in 9cd08e8
✅ Testing
- Extend gsad_user_copy test for ensuring a deep copy by @bjoernricks in c5db28e
- Add tests for gsad session handling by @bjoernricks in #378
- Extend gsad user tests for setting language and freeing the user by @bjoernricks in #380
- Add tests for gsad command response data module by @bjoernricks in #389