Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Register macro only when ResponseFactory is resolved #20

Merged

Conversation

apih
Copy link
Contributor

@apih apih commented Apr 4, 2025

I am doing custom manipulation with session in a middleware in several of my projects, which worked without problem previously. Recently noticed that the session in my projects is not working as intended. After tracking down the bug, this happened because intervention/image-laravel package now registers a response macro after the app is booted.

After changing the registration of macro to occur after the ResponseFactory class is resolved, the issue is resolved.

@olivervogel olivervogel merged commit 0560294 into Intervention:main Apr 4, 2025
4 checks passed
@olivervogel
Copy link
Member

Thanks. New patch release coming tomorrow.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants