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

feat: update spring-boot to 3.x #664

Merged
merged 26 commits into from
Sep 5, 2023

Commits on Sep 5, 2023

  1. feat: update spring-boot to 3.0.x

    BREAKING CHANGE: requires migration for spring / spring-security 6 and hibernate 6 updates
    
    Migration guide:
    
    - update java EE 8 dependencies to jakarta EE 9 (see https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#jakarta-ee)
    - update repositories
      - update `@QueryHints` annotations
      - e.g. `org.hibernate.annotations.QueryHints.CACHEABLE` -> `AvailableHints.HINT_CACHEABLE`
      - if you use custom data fetching methods, migration steps for hibernate 6 / 6.1 / 6.2 might be necessary
        - especially consider https://github.com/hibernate/hibernate-orm/blob/6.0/migration-guide.adoc#removals
        - for more information see the hibernate migration guides listed below
    - update your SecurityConfigs which extend `KeycloakWebSecurityConfig` or `SimpleWebSecurityConfig`
       - update your filter chain according to the the spring security migration guides below
       - replace `antMatchers` with `requestMatchers`, ignoringAntMatchers with ignoringRequestMatchers
       - update your rules for swagger (`/v3/api-docs`) if they're not already updated
    - update your `git-commit-id-plugin` configuration and check if the version set in shogun is overridden (for more information see  terrestris#730)
    LukasLohoff committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    f95fcaf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7df2511 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f90de77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b105159 View commit details
    Browse the repository at this point in the history
  5. fix: web security setup

    LukasLohoff committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    b4979bc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4aefc55 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    98f731d View commit details
    Browse the repository at this point in the history
  8. fix: reorganize imports

    LukasLohoff committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    6fc6f8c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cf7cf12 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8661561 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e468350 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7958976 View commit details
    Browse the repository at this point in the history
  13. fix: optimize imports

    LukasLohoff committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    d0e84f5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b9e8be4 View commit details
    Browse the repository at this point in the history
  15. fix: cleanup

    LukasLohoff committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    2db9a60 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    104b0b3 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    53aa861 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    ce1763c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c3d5f7a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    b32f02c View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    10cb4e4 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    7b0abc4 View commit details
    Browse the repository at this point in the history
  23. fix: remove newline

    Co-authored-by: Daniel Koch <[email protected]>
    LukasLohoff and dnlkoch committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    53673e0 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e37392f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    4b37639 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e189118 View commit details
    Browse the repository at this point in the history