Skip to content

Upgrade to Kotlin 2.x and set a new related baseline #33629

Closed

Description

@sdeleuze

Spring Framework 7 will use Kotlin 2.x as a new baseline, TBD if we use 2.0, 2.1, 2.2 or 2.3 as the minimal version supported, this kind of decision could be driven by #21546 requirements.

Kotlin Serialization and Kotlin Coroutines should be upgraded accordingly, related upgrade issue will be created when it is clearer what version we will use.

Activity

  1. added this to the 7.0.x milestone on Oct 1, 2024
  2. self-assigned this
    on Oct 1, 2024
  3. modified the milestones: 7.0.x, 7.0.0-M1 on Nov 29, 2024
  4. bcmedeiros commented on Jan 17, 2025

    @bcmedeiros

    Do we know the earliest Spring Boot public release that will contain this issue and the expected timeline for it?

  5. sdeleuze commented on Jan 17, 2025

    @sdeleuze
    ContributorAuthor

    Yes, it will be Spring Boot 4.0 that should be available towards in end of 2025 as mentioned in this announcement. That said, it should be possible to use Kotlin 2 with Spring Boot 3 and Spring Framework 6, but you should pay attention to dependency management.

  6. silviuburceadev commented on Jan 28, 2025

    @silviuburceadev

    We are using Kotlin 2 with SB 3.4 without any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址