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

Update to fapi-client v4.0.6 #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update to fapi-client v4.0.6 #20

wants to merge 1 commit into from

Conversation

rtyley
Copy link
Member

@rtyley rtyley commented Sep 13, 2023

This is a small upgrade, catching up with the recent dependency updates of https://github.com/guardian/facia-scala-client/releases/tag/v4.0.6, before the more extensive update in guardian/facia-scala-client#287 is introduced.

This update has already been tested in Ophan's PromotionPoller with https://github.com/guardian/ophan/pull/5540, successfully deployed to Prodution.

I've switched from fapi-client-play27 to fapi-client-play28 - the editors-picks-uploader is an AWS Lambda, it doesn't actually run the Play framework, so specifying a higher Play version doesn't really affect it! The fapi-client uses play-json to do its JSON-parsing (that's all that the -play2x suffix indicates), so we might as well use the latest version that's available (allowing facia-scala-client to drop support for play27 at some future point).

This is a small upgrade, catching up with the recent dependency updates of
https://github.com/guardian/facia-scala-client/releases/tag/v4.0.6,
before the more extensive update in guardian/facia-scala-client#287
is introduced.

This update has already been tested in Ophan's PromotionPoller with
guardian/ophan#5540, successfully deployed
to Prodution.

I've switched from `fapi-client-play27` to `fapi-client-play28` - the
`editors-picks-uploader` is an AWS Lambda, it doesn't actually run
the Play framework, so specifying a higher Play version doesn't really
affect it! The `fapi-client` uses `play-json` to do its JSON-parsing
(that's all that the `-play2x` suffix indicates), so we might as well use
the latest version that's available (allowing `facia-scala-client` to drop
support for `play27` at some future point).
@rtyley rtyley requested a review from a team as a code owner September 13, 2023 15:01
@emdash-ie
Copy link
Contributor

The description for the 4.0.6 release of facia-scala-client describes the following problem:

However, the rollout of this release led to fatal runtime compatibility problems for applications that weren't fully up to date with CAPI

Was this PR created before that issue was discovered? The description here implies it’s quite a small change, but the description of the release problems worries me that this might require some detailed testing before merge.

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.

2 participants