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

Upgrade to play-json 3.x #300

Merged
merged 3 commits into from
Dec 15, 2023
Merged

Upgrade to play-json 3.x #300

merged 3 commits into from
Dec 15, 2023

Conversation

ioannakok
Copy link
Contributor

@ioannakok ioannakok commented Dec 13, 2023

Re-raising @mkurz's PR:

It has to be raised by someone in The Guardian organisation for the build to run.

It is required for:

What does this change?

Adds fapi-client and facia-json Play 3 support.

How to test

Compiles successfully locally with the SNAPSHOT version in this frontend PR:

Deployment

  • Updated facia-tool to use latest version
  • Updated frontend to use latest version
  • Updated MAPI to use latest version
  • Updated Ophan to use latest version
  • Updated story-packages to use latest version
  • Updated apple-news to use latest version
  • Checked for other downstream dependencies (perhaps via snyk or github search)

@ioannakok ioannakok marked this pull request as ready for review December 13, 2023 17:05
@rtyley
Copy link
Member

rtyley commented Dec 13, 2023

I'll review this as soon as possible, but I am off work tomorrow! I'd like to get #299 merged before merging this PR.

mkurz and others added 2 commits December 15, 2023 15:12
I did this in the hope that we could add Scala 3 support at this
point, but that's currently blocked by commercial-shared and
content-api-client which don't have Scala 3 support.
@rtyley
Copy link
Member

rtyley commented Dec 15, 2023

This looks good, I'm going to merge and release this, though in terms of rollout to the projects that consume this library (fapi-client-... & facia-json-...) I'm not going to do any further work at this point.

There are 3 projects that have not yet upgraded to v4.0.6, see issue #301 - until content-api-client & content-api-models adopt gha-scala-library-release-workflow there's still quite a lot of risk to releasing updates - any release will require careful monitoring and synchronisation of library versions.

@rtyley rtyley merged commit 47fc965 into main Dec 15, 2023
1 check passed
@rtyley
Copy link
Member

rtyley commented Dec 19, 2023

This has been released as v4.0.9, using the new gha-scala-library-release-workflow 👍

Note that the initial run of the release with gha-scala-library-release-workflow failed, due to the automated-compatibility-assessment of sbt-version-policy trying to download the previous versions of the new artifacts for compatibility comparison, when, being brand new, they had never been published before.

I was able to work around this with 2d1ad72 (disabling the automated-compatibility-assessment), performing a release, and then applying 7c08a2f, to re-enable the automated-compatibility-assessment.

ioannakok added a commit to guardian/targeting-client that referenced this pull request Dec 22, 2023
The first release failed https://github.com/guardian/targeting-client/actions/runs/7299624335/job/19892813494 because in #37 we changed the coordinates of the artifact so now `sbt-version-policy` plugin cannot find the previous version. Once we perform a release we will put back this line. See also guardian/facia-scala-client#300 (comment)

Co-authored-by: Roberto Tyley <roberto.tyley@guardian.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants