Releases: lagom/lagom
1.6.8-RC1
What's Changed
- Release from tag by @octonato in #3332
- fix pom generation by @octonato in #3334
- Move Lagom GitHub actions by @octonato in #3331
- Update scala-xml to 2.0.1 by @octonato in #3333
- remove obsolete travis build by @octonato in #3335
- update mergify settings by @octonato in #3336
- Show GitHub workflow as CI badge by @ennru in #3340
- fix a bug of run-on-role by @autumn-n in #3339
New Contributors
Full Changelog: 1.6.7...1.6.8-RC1
Lagom 1.6.7 Released!
As previously explained in the Lightbend blog post, Lagom doesn't use log4j 2 directly, but it can be included as an opt-in.
With this release, the log4j version that can be included in a Lagom application is upgraded to version 2.15.0, the version that addresses the CVE-2021-44228 vulnerability.
Moreover, we discover that the Kafka broker library used in dev-mode was including an old version of log4j (v1.2.17) and that for no reason. This was never a real concern because this library is never deployed on a running Lagom application, but to avoid confusion and false alarms this obsolete dependency has been removed.
What's Changed
- [1.6.x] Upgrade to log4j 2.15 to address CVE-2021-44228 by @octonato in #3325
- Hint that upgrading to Akka HTTP 10.2 is fine (backport #3319) by @mergify in #3326
- remove explicit dependency on log4j in kafka brokers by @octonato in #3327
Full Changelog: 1.6.6...1.6.7
Lagom 1.6.6 Released!
What's Changed
- Fixed wrong reference to Cassandra in documentation for JdbcPersistenceComponents by @m-daros in #3279
- Improve EventTag ReadSide storage with Cassandra documentation by @gabizou in #3283
- Remove WhiteSource plugin (backport #3298) by @mergify in #3302
- Preparation for 1.6.6 release - dependency updates by @octonato in #3322
- update dependencies to satisfy validateDependencies check by @octonato in #3323
New Contributors
Full Changelog: 1.6.5...1.6.6
Lagom 1.6.5 Released!
We are pleased to announce the release of Lagom Framework 1.6.5. This is the latest stable release of Lagom 1.6.x series.
📗 What's new?
This release includes a few improvements and fixes:
- Bumps to Latest Akka 2.6.14 and Play 2.8.8
- Maven BOM for Lagom artifacts
- Bumps to Jackson 2.11.4 (read more on this version bump side-effects on the Akka 2.6.14 release notes)
For more details, see the full list of changes.
🙇 Credits
Thanks to the community for their detailed bug reports and contributions. Special thanks to the following contributors who helped with this release:
commits added removed author
11 137 75 Renato Cavalcanti
11 52 137 Ignasi Marimon-Clos
5 224 43 Sergey Morgunov
4 25 4 Enno Runne
4 60 33 Johan Andrén
3 15 13 Anthony Cheng
2 52 2 Arnout Engelen
2 2 2 Marcos Pereira
1 50 2 Vladimir Kornyshev
Thanks to Lightbend for their continued sponsorship of the Lagom core team's efforts. Lightbend offers commercial support for Lagom.
Lagom 1.6.5-RC1
Merge pull request #3092 from ihostage/some_improve_api Add `Unauthorized` and `TooManyRequests` codes and exceptions
Lagom 1.6.4 Released!
We are pleased to announce the release of Lagom Framework 1.6.4. This is the latest stable release of Lagom 1.6.x series.
📗 What's new?
This release includes a few improvements and fixes:
- Lagom now ships with the Akka Split-Brain Resolver recently open-sourced. That is part of bumping the Akka dependency to 2.6.8. (#3018)
- Command handlers in Persistent Entities can now overwrite the default behavior. (#3011)
- Play-JSON schema migrations support future schema version to better handle evolutions with forward-one compatibility. (#3019)
For more details see the full list of changes.
🙇 Credits
Thanks to the community for their detailed bug reports and contributions. Special thanks to the following contributors who helped with this release: Ignasi Marimon-Clos, Patrik Nordwall, Enno Runne.
Thanks to Lightbend for their continued sponsorship of the Lagom core team's efforts. Lightbend offers commercial support for Lagom.
Lagom 1.6.3 released!
We are pleased to announce the release of Lagom Framework 1.6.3. This is the latest stable release of Lagom 1.6.x series.
Note: for a rolling upgrade, you should first migrate to 1.6.2. More details in the documentation
📗 Changelog
For more details see the full list of changes.
🙇 Credits
Thanks to the community for their detailed bug reports and contributions. Special thanks to the following contributors who helped with this release: Julien Roubieu, Ignasi Marimon-Clos, Renato Cavalcanti. And a special mention to our contributor Sergey Morgunov for his continued efforts and for stepping up and accepting the challenge to run the release.
Thanks to Lightbend for their continued sponsorship of the Lagom core team's efforts. Lightbend offers commercial support for Lagom.
Lagom 1.6.2 released!
We are pleased to announce the release of Lagom Framework 1.6.2. This is the latest stable release of Lagom 1.6.x series.
Changelog
This release mainly includes bug fixes.
A few highlights:
- Fixed bug in Service client where HeaderFilter was not honoring the status code change for strict calls #2750 by @Munandermaan
- Upgrade to Akka Persistence Cassandra v0.103 #2758 by @ignasi35
- Projections SPI for Telemetry #2727 by @ignasi35
- Fixed different behavior for
maybeLogException
in Scala/Java DSLs #2809 by @ihostage - Upgrade to Akka v2.6.4 #2837 by @scala-steward
For more details see the full list of changes.
Credits
Thanks to the community for their detailed bug reports and contributions. Special thanks to the following contributors who helped with this release: Ignasi Marimon-Clos, Renato Cavalcanti, Johannes Rudolph, Patrik Nordwall, Munandermaan, Qiuyang Nie, Sergey Morgunov, Dale Wijnand.
Thanks to Lightbend for their continued sponsorship of the Lagom core team's efforts. Lightbend offers commercial support for Lagom.
Lagom 1.6.1 released!
We are pleased to announce the release of Lagom Framework 1.6.1. This is the latest stable release of Play 1.6.x series.
Changelog
This release mainly includes bug fixes.
A few highlights:
- Allow port-name and protocol overrides for mapped services #2603 by @renatocaval
- Upgrade to Akka 2.6.3 #2654 by @renatocaval
- Update KafkaSubscriberActor #2651 fixing #2607 by @Munandermaan
- Exception whitelist doesn't work on CircuitBreakersPanel (Javadsl). The failure metric of circuit breakers is incorrect #2660 by @ihostage
- Upgrade Akka Persistence JDBC v3.5.3 #2693 by @renatocaval
- Document Lagom 1.5.3 build breaking change #2717 by @jmerljak
- Upgrade akka-persistence-cassandra to 0.102 #2720 by @scala-steward / @ignasi35
- Upgrade to Play 2.8.1 #2726 by @renatocaval
For more details see the full list of changes.
Credits
Thanks to the community for their detailed bug reports and contributions. Special thanks to the following contributors who helped with this release: Renato Cavalcanti, Ignasi Marimon-Clos, Dale Wijnand, Marcos Pereira, Munander Maan, Sergey Morgunov, Arnout Engelen, jakob Merljak, Johan Andrén.
Thanks to Lightbend for their continued sponsorship of the Lagom core team's efforts. Lightbend offers commercial support for Lagom.
Lagom 1.6.0
📣 Lagom 1.6 Released
We are happy to announce the availability of Lagom 1.6.0. This is the GA release of Lagom 1.6.0 and is production ready. We invite all our users to upgrade.
This version builds on top of the 2.8.x series of Play and Akka 2.6. See GitHub for the full list of commits.
📗 What is new?
Here’s a list of the most relevant improvements.
Akka Typed and Akka Persistence Typed
Lagom 1.6 is based on the new Akka 2.6 release and has integrated support for Akka Typed.
As presented in the announcement for Akka 2.6, the new Akka Actor APIs (known as Akka Typed) represent a major shift in the Akka ecosystem towards type-safety and more explicit guidance with Actors. We’re happy to bring this to all Lagom users as well.
Lagom includes dependency injection support for typed Actors in Akka 2.6 through Play.
While the Lagom Persistence API is still supported and maintained, the new Akka Persistence API (Scala/Java) in Akka 2.6 is now the recommended default for persistence. This provides a more flexible API that gives you more control over some lower-level details while retaining some of the guided approaches that Lagom introduced. Akka Persistence can coexist with existing persistent entities, and the same read-side processor and topic producer APIs fully support both types of entities.
Jackson serialization
For Java API, Lagom now uses the Akka Jackson serializer, which is an improved version of the serializer in Lagom 1.5. You can find more information about the Akka Jackson serializer in the Akka documentation.
It is compatible with Lagom 1.5 in both directions. See our migration guide (Scala/Java) for detailed information in case you are upgrading an existing Lagom application.
For Scala API, in addition to play-json
support, Akka Jackson serializer is now also supported. Akka Jackson serialization is especially useful when using Akka Persistence Typed API as it allows serialization of ActorRef[T]
typically used when encoding command replies.
Stop and Resume Projections
Lagom 1.6 has a new API to programmatically stop and resume projections (Scala/Java) (Read Side Processors and Topic Producers) allowing users to control when a projection should start, stop or resume.
Support for Scala 2.13 and Java 11
Lagom 1.6 supports the latest Scala version (2.13), LTS Java version (11), and sbt 1.3, as well as the earlier Scala 2.12 and Java 8 versions.
Scala 2.13 brings in a few performance improvements for its collection and async (Future) APIs. Although Java users are not exposed directly to Scala APIs, the Lagom itself is built in Scala and uses many Scala dependencies. That said, updating to Scala v2.13 is also beneficial for Java API users.
Multiple changes in default behaviors
- Kafka client defaults to only 1 max inflight request per connection. This can mean a drop in throughput but also increases guarantees against duplication or reordering of messages.
- persistence sharding uses
ddata
strategy instead of persistence - JSON compression only triggers for payloads bigger than 32kb
- java.time.* serializes using ISO-8601instead of custom Jackson formats (only affects Java Lagom users)
🗺 Migrating from previous versions
This release introduces minimal changes over the 1.6.0-RC3
. Therefore if you already moved to that version, the upgrade should be trivial. If you are still using Lagom 1.5.x
, we recommend you first migrate to the latest version available of Lagom 1.5 series and then migrate to Lagom 1.6. If you are using a version older than 1.5.x
, you should migrate one version at a time. For example: from 1.4.9
to 1.4.15
(because 1.4.15
is 1.4.latest
), then from 1.4.15
to 1.5.latest
and finally to 1.6.x
. Read the appropriate release notes and migration guides (Java / Scala) on each step.
🙇 Credits
Thanks to the community for their detailed bug reports and contributions.
Thanks to Lightbend for their continued sponsorship of the Lagom core team’s efforts. Lightbend offers commercial support for Lagom.
Special thanks to the following contributors who helped with this release:
commits added removed author
249 25624 14553 Ignasi Marimon-Clos
202 13607 7824 Renato Cavalcanti
147 8846 3755 Marcos Pereira
93 1704 2856 Dale Wijnand
20 260 178 Tim Moore
13 534 508 Patrik Nordwall
6 200 155 Sergey Morgunov
4 16 10 Alden Torres
4 39 27 Enno Runne
3 10 9 Martynas Mickevičius
2 2 2 Abhiknoldur
2 755 385 James Roper
2 35 11 Ruth Stento
1 3 46 Sethi, Kunal
1 7 7 Juan Marin Otero
1 7 7 Matthias Kurz
1 2 2 Prashant Sharma
1 0 0 0xflotus
1 1 1 norfe
1 0 6 Fabian Grutsch
1 2 2 Fran Bermejo
1 1 1 Johannes Rudolph
1 24 1 Corey Auger
1 10 0 Zhonglai Zhang
1 72 60 Michael Liarakos
1 27 3 Dmitriy Grigoryev
1 23 1 Stephan Emmerich
1 2 2 Steve Swing