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

feat!: upgrade league/fractal to 0.20 #292

Merged
merged 1 commit into from Mar 18, 2024

Conversation

qrazi
Copy link

@qrazi qrazi commented Mar 12, 2024

Upgrade to most recent branch of league/fractal. This makes sense to do now since craftcms/element-api has also done this upgrade in its recent 4.x line. This should probably also be ported to the v5-develop branch, or maybe only introduce with that branche?

BREAKING CHANGE: Fractal's public API has changed in classes such as \League\Fractal\Serializer\ArraySerializer

Upgrade to most recent branch of `league/fractal`. This makes sense to do now since `craftcms/element-api` has also done this upgrade in its recent 4.x line.

BREAKING CHANGE: Fractal's public API has changed in classes such as `\League\Fractal\Serializer\ArraySerializer`
@janhenckens
Copy link
Member

I think the Craft 5 release and the new major version is probably to best place to introduce this change. I'll update the base branch to develop-v5 and merge it when I prepare the next beta release later this week.

@janhenckens janhenckens changed the base branch from develop to develop-v5 March 12, 2024 14:32
@janhenckens janhenckens self-assigned this Mar 12, 2024
@janhenckens janhenckens self-requested a review March 12, 2024 14:32
@janhenckens
Copy link
Member

@zizther @qrazi Think I'll release a version 4 to go along with the Element API update that also requires this. That way they can work together on Craft 4.

@janhenckens janhenckens changed the base branch from develop-v5 to develop March 18, 2024 07:23
@qrazi
Copy link
Author

qrazi commented Mar 18, 2024

I just read about https://getcomposer.org/doc/04-schema.md#conflict, and that could probably be used on the current 3.x version? So that it helps users not upgrade to element API 4.x whilst still using Scout 3.x. What do you think?

@janhenckens janhenckens merged commit 8ebd2b9 into studioespresso:develop Mar 18, 2024
0 of 4 checks passed
@janhenckens
Copy link
Member

3.4.1 is out with the conflict for craftcms/element-api >=4.0.0, and 4.0.0 is out the the fractal update and the version conflict for craftcms/element-api < 4.0.0.

Thanks again for the PR @qrazi!

@zizther
Copy link

zizther commented Mar 18, 2024

Thanks @janhenckens

@qrazi qrazi deleted the feat/update_fractal branch March 19, 2024 09:22
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.

None yet

3 participants