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

Support for 2.11 replaced by support for 2.13 #104

Closed
salamonpavel opened this issue Dec 5, 2023 · 0 comments · Fixed by #106
Closed

Support for 2.11 replaced by support for 2.13 #104

salamonpavel opened this issue Dec 5, 2023 · 0 comments · Fixed by #106
Labels
enhancement New feature or request

Comments

@salamonpavel
Copy link
Contributor

Supporting older versions of Scala, in this case 2.11, can often be more of a burden than a benefit for several reasons:

  1. Deprecated Features and Libraries: Scala 2.11 may contain features or libraries that have been deprecated or removed in newer versions. This can lead to code that is harder for us to maintain and upgrade in the future.

  2. Security Vulnerabilities: Scala 2.11 and its libraries are more likely to contain security vulnerabilities. These vulnerabilities can be exploited by malicious actors to compromise the security of our applications. By using newer versions of Scala, we can benefit from the latest security patches and improvements.

  3. Performance Improvements: Newer versions of Scala often come with performance improvements and optimizations. By not upgrading, we're missing out on these enhancements.

  4. Community Support: The Scala community, like many other programming communities, tends to focus its support on the latest versions of the language. This means that we'll find more resources, such as tutorials, libraries, and tools, for newer versions of Scala.

  5. Future-Proofing: By focusing on newer versions of Scala, such as 2.13 and Scala 3, we're future-proofing our code. We'll be able to take advantage of new features and improvements as soon as they're released.

In terms of security, using libraries full of vulnerabilities is a significant risk. Vulnerabilities can lead to a variety of issues, from data leaks to system compromises. It's crucial for us to keep our libraries up-to-date and replace those that are no longer maintained or have known vulnerabilities.

Supporting Scala 2.13 and potentially Scala 3 instead of 2.11 would be a more beneficial approach. Scala 2.13 has many improvements over 2.11, including better performance, new features, and fewer bugs. Scala 3, on the other hand, is a major release that introduces many changes and improvements, such as new syntax, better performance, and improved tooling. By supporting these versions, we'll be able to write more efficient, secure, and maintainable code.

@salamonpavel salamonpavel added the enhancement New feature or request label Dec 5, 2023
@salamonpavel salamonpavel changed the title Support for 2.11 replaced by support for 2.13 (potentially 3) Support for 2.11 replaced by support for 2.13 Dec 11, 2023
@github-project-automation github-project-automation bot moved this from 🆕 To groom to ✅ Done in CPS small repos project Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant