Skip to content

Update guzzle major version from 5 to 7 #39387

@phil-davis

Description

@phil-davis

core dependabot PR #39368 has been merged. That bumps to 7.4.4
PR #40154 adds a bump to 7.4.5 on 2022-06-21

This is a major version update of the "guzzle" library. It provides a framework in PHP for doing outgoing client requests. It is used in things like federated sharing, where one oC10 server needs to send requests to another oC10 federated server. We have various acceptance tests for federated sharing, so automated CI will cover the common federated sharing scenarios.

Some oC10 apps mention guzzle in their composer files. We will need to coordinate update those in sync with core.

They are:

Apps that use the client, but most likely still work:

  • files_external_ftp - no direct use of guzzle. Needs manual testing.
  • oco_selfservice
  • Onlyoffice
  • Collabora
  • Encryption (HSM)

Other things considered:

Apps to pre-release:
The following apps have had their code updated so that it detects if Guzzle5 or Guzzle7 libraries are available in core, and makes the appropriate Guzzle calls. This has been done for apps that are "backend" plugins for core, that, for example, manage "core" storage of users. It is much easier to upgrade when these apps support both Guzzle5 and Guzzle7. The new version of the app can be installed while you are running core 10.9 or 10.10, and it works fine. Then you upgrade core to 10.11, and you don't have to think about how to upgrade the app "at the same time".

We can and should do QA and release new versions of these apps ASAP (well before releasing core 10.11).

Metadata

Metadata

Assignees

Labels

dependenciesphpPull requests that update Php code

Type

No type

Projects

Status

Release done 🎉

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions