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

Add a news article about Scalatra 3.0.0 release #232

Merged
merged 1 commit into from
May 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions content/news/2023-09-30-scalatra-3-0-0-released copy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "Scalatra 3.0.0 is out"
layout: news
author: Naoki Takezoe
twitter: takezoen
date: 2023-09-30
---

One year since the latest milestone build, the Scalatra team finally released Scalatra 3.0.0 with Scala 3 and Jakarta support!

<!--more-->

## Scala 3 and Jakarta support

Basically, Scalatra 3.0 is compatible with Scalatra 2.x and it now supports Scala 3 in addition to 2.12 and 2.13.

Also, Scalatra 3.0 supports both Servlet 4.0.1 (javax) and 5.0.0 (jakarta). Artifacts have a suffix depending on the Servlet version as follows:

```scala
// for javax
"org.scalatra" %% "scalatra-javax" % "3.0.0",
"org.scalatra" %% "scalatra-json-javax" % "3.0.0",
"org.scalatra" %% "scalatra-forms-javax" % "3.0.0",
...

// for jakarta
"org.scalatra" %% "scalatra-jakarta" % "3.0.0",
"org.scalatra" %% "scalatra-json-jakarta" % "3.0.0",
"org.scalatra" %% "scalatra-forms-jakarta" % "3.0.0",
...
```

## Dropped modules

Due to difficullty in continuous maintenance and support, the following module has been dropped in Scalatra 3.0.

- scalatra-atomosphere
- scalatra-scalate

You would be able to use atomosphere and scalate in your Scalatra applications by writing some simple integration code yourself.

## Resources

- [Scalatra 3.0 Guides](https://scalatra.org/guides/3.0/) explain features of Scalatra 3.0 comprehensively
- [Here](https://github.com/scalatra/scalatra-website-examples) is a collection of Scalatra example projects that now include Scalatra 3.0
- [Giter8 template](https://github.com/scalatra/scalatra.g8) now generates a Scalatra 3.0 project with Scala 3 and Jakarta by default
Loading