Giter VIP home page Giter VIP logo

Comments (11)

mkurz avatar mkurz commented on May 28, 2024 2

Twirl 1.6.0 released: https://github.com/playframework/twirl/releases/tag/1.6.0

from scalatra.

takezoe avatar takezoe commented on May 28, 2024 1

Does #1573 make sense? I would release RC1 with it and then release GA after a while.

from scalatra.

takezoe avatar takezoe commented on May 28, 2024

Maintaining many variations of codebase is hard with the current our engineering resource, but we know there are needs both Servlet 4.0 and Jakarta because many existing Java softwares haven't been migrated to Jakarta.

My current plan is shifting Scalatra 2 to the maintenance mode and providing both Servlet 4.0 and Jakarta versions of Scalatra 3 in the future.

As you know, Scalatra 3 is mostly compatible with Scalatra 2 though some features which are not easy to keep maintained are dropped. So I think you can migrate your application to Scalatra 3 easily if you don't need Scalate/Atmosphere support.

Does providing Jakarta version of Scalatra 3 work for you?

from scalatra.

dalbani avatar dalbani commented on May 28, 2024

Yes, a Jakarta flavored Scalatra 3 would be perfect for me.

from scalatra.

takezoe avatar takezoe commented on May 28, 2024

Created a branch: #1533 based on 3.0.0-M4. I'm considering to release this branch as 3.0.0-M4-jakarta.

from scalatra.

dalbani avatar dalbani commented on May 28, 2024

Sounds great!

from scalatra.

takezoe avatar takezoe commented on May 28, 2024

3.0.0-M4-jakarta has been published to Maven central.

from scalatra.

dalbani avatar dalbani commented on May 28, 2024

from scalatra.

xuwei-k avatar xuwei-k commented on May 28, 2024

from scalatra.

dalbani avatar dalbani commented on May 28, 2024

Scalatra 3 is going to be released with both support for javax and jakarta packages, so I can close this issue.

from scalatra.

dalbani avatar dalbani commented on May 28, 2024

I had just closed the issue yesterday, that something came to my mind.
Is the choice of putting either javax or jakarta in the artifact's version a good idea?
Which well eventually become 3.0.0-javax and 3.0.0-jakarta.

I'm afraid that this is not in line with SemVer: see https://semver.org/#spec-item-9 in particular for the paragraph regarding what would be considered a "pre-release" version with this naming scheme.

One of the issues with not conforming to SemVer, is that it will break tools like Dependabot or Renovate Bot, which — should they support pre-releases — will probably consider 3.0.0-javax as having a higher version that 3.0.0-jakarta.

To put things in perspective, other libraries chose for putting the jakarta qualifier in the artifact's ID.
As in:

  • io.prometheus:simpleclient_servlet_jakarta
  • io.swagger.core.v3:swagger-core-jakarta
  • io.sentry:sentry-spring-boot-starter-jakarta

A new release of Twirl is imminent, so things will be soon ready for a Scalatra 3 release.
Let's make a future proof choice for this javax / jakarta naming scheme.

@xuwei-k: do you think it would possible to do like you did in #1536, but using the artifact ID?

from scalatra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.