Skip to content

💡 [Feature Request] Migrate from Jackson 2 to Jackson 3 #1561

Description

@yvasyliev

Note

This issue was originally created to migrate to Jackson 3 AND Spring Boot 4. Now it's only about Jackson 3 migration. Due to complexity of migration, Spring Boot 4 will be covered in a separate issue.

Is your feature request related to a problem? Please describe.

Jackson 3 has recently released brining some breaking changes. It has severe collisions with existing Jackson 2. Moving forward we need to follow the Jackson 3 Migration Guide to keep up with the latest updates.

Describe the solution you'd like

I would expect the TelegramBots to upgrade the Jackson 2 dependencies to Jackson 3. The dependencies introduce breaking changes, so code adjustments are needed too.

Describe alternatives you've considered

While Jackson 2 is still maintained, it's a matter of time when it reaches EOL. It's better to start putting some effort to migrate to Jackson 3.

Additional context

Migration to Jackson 3 will allow us to streamline the migration to Spring boot 4 which will be covered in a separate issue. I plan to see if I can contribute to this change. Just updating import names won't be enough since new versions bring new configurations. Thus, complete regression will be required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions