Play 2.7.3 released!

We are pleased to announce the release of Play 2.7.3 with binaries for Scala 2.13.

This release contains a small breaking change of an internal API that unfortunately was not marked as such. Make sure you to read the details on the release notes.

The release notes are published in GitHub.

Cheers,

Renato

4 Likes

Hi Renato,

thanks for the announcement, but would it make sense to also update the Homepage and Blog to that matter?!

Cheers,
Claudio

Hi @cbley,

Thanks for point out. I think the website was a mistake. It should have been published. I will check it.

The blog post is on purpose. We decided to not publish a new blog for each minor release. Although I would agree that Scala 2.13 is not a minor thing.

We want to reduce the overhead so we can have minor releases more often. The ideal world that we are aiming is to have a GitHub release followed by a quick announcement here pointing the community to the release page in GitHub.

Major releases like upcoming Play 2.8.0 will have a blog post.

I hope this clarifies.

Regards,

Renato

@cbley, website is now deployed. My bad, I forgot to run a script. Again, bitten by procedures and overhead.

Thanks for the heads-up!

Thank you @renato for clearing that up! I’m a happy camper now…

It’s great to see Scala 2.13 support! Is the Scala 2.13 support in 2.7.3 considered production ready yet?

yes, of course!

1 Like

@renato Could you update your doc ? I’ve read mistakes that have been corrected on GitHub.
For example https://www.playframework.com/documentation/2.7.x/sbtSubProjects#Working-with-sub-projects There is a mistake in the code to handle assets from sub-project.
Same mistake occurs in Play 2.6 doc.

Thanks

Can you point out where is the mistake?
The file you linked was edited on GitHub in Feb and the changes are online. I can’t find what you are referring to.

Thanks,

Renato

For example this code doesn’t compile:

package controllers.admin;

import play.api.mvc.*;
import controllers.AssetsMetadata;
import play.api.http.HttpErrorHandler;

import javax.inject.Inject;

public class AssetsBuilder extends controllers.Assets {

  @Inject
  public Assets(HttpErrorHandler errorHandler, AssetsMetadata meta) {
    super(errorHandler, meta);
  }

  public Action<AnyContent> at(String path, String file) {
    boolean aggressiveCaching = true;
    return super.at(path, file, aggressiveCaching);
  }
}

This has been fixed here: https://github.com/playframework/playframework/blob/2.7.x/documentation/manual/working/commonGuide/build/code/javaguide/common/build/controllers/AssetsBuilder.java

By this commit: https://github.com/playframework/playframework/commit/d1cbe2e9144efe0c016d865fb0c581605113cbfa#diff-db3342911ce9a98d6369a230e00b5039

AssetsBuilder must be replaced by Assets.

But this is still in the doc for all the versions.

There is other examples but I don’t remember where exactly :confused: