What's new in version 2.6

Introduction

In the next sections, you will get a synthesis of the major changes done to the Restlet Framework in version 2.6.

Main changes

  • JDK requirement
    • Java 17 is the minimum requirement.
  • Upgrades
    • upgraded dependencies
      • Eclipse Jetty 12.0
      • Jackson 2.19
      • Gson 2.13
      • Guice 7.0
      • GWT 2.12
      • JAXB 4.0
      • JSON 20250107
      • Servlet 6.0
      • SLF4J 2.0
      • Spring 6.2
      • Thymeleaf 3.1
  • Removals
    • removed extensions deprecated in version 2.5: FileUpload, GAE, OSGi, RDF
    • removed deprecated code related to WebDAV, NIO, POP, POPS, SDC, SIP, SIPS, SMTP, SMTPS protocols.
  • Misc
    • deprecated Atom, JAXB, Guice, GWT, OData and Servlet extensions for removal in next 2.7 release.

Migration guide from version 2.5 to 2.6

This section intends to explain the main differences between the Restlet 2.5 and 2.6 releases and to help you migrate your existing applications. Both releases are meant to be compatible at the API level, so you should at most observe deprecate features while upgrading.

Note that if you intend to migrate directly from 1.1 to 2.6, you should really consider migrating first from 1.1 to 2.0. For migration instructions between 1.1 and 2.0, you can check this page.

Deprecated API features

The next step is to look at each deprecated feature and look in the Javadocs at the preferred alternative in version 2.6.