Slim-Psr7 icon indicating copy to clipboard operation
Slim-Psr7 copied to clipboard

New version with `psr/http-message` 2 support

Open Ayesh opened this issue 2 years ago • 6 comments

PSR-7 v2 support was added in #289, but there is no version released.

Please cut a new release with the recent changes included.

Thank you.

Ayesh avatar Dec 26 '23 06:12 Ayesh

I would be most grateful as well. Looking for workaround at the moment.

clownmeister avatar Jan 03 '24 11:01 clownmeister

I guess the only work around that comes to mind is forking the repo and implementing the commit ourselves. It seems Slim is dying slowly, as opposed to Symfony and other frameworks.

willy-opale avatar Feb 09 '24 18:02 willy-opale

Yes, that would be really great, I start to get errors with other libraries and switched to dev-master in composer now, but it would be great if you can add a release.

trendschau avatar Mar 22 '24 15:03 trendschau

Hey so I started using "slim/psr7": "dev-master#08dbc65964bf2c1fb0fe54256322a272cd02596b as 1.6.1", as a workaround but only for some dev testing. We are kind of forced to stop using slim because of this. We will slowly make a transition to do so.

Note to the devs: Please try to release current master if possible

clownmeister avatar Apr 10 '24 16:04 clownmeister

At this moment there is one PR pending for the 1.7.0 milestone: https://github.com/slimphp/Slim-Psr7/milestone/14. I think if we want new release, we have to help to move https://github.com/slimphp/Slim-Psr7/pull/294 forward

piotr-cz avatar Apr 19 '24 08:04 piotr-cz

@willy-opale

I guess the only work around that comes to mind is forking the repo and implementing the commit ourselves.

@clownmeister

Hey so I started using "slim/psr7": "dev-master#08dbc65964bf2c1fb0fe54256322a272cd02596b as 1.6.1", as a workaround but only for some dev testing. We are kind of forced to stop using slim because of this. We will slowly make a transition to do so.

You could use a different PSR-7 implementation as a workaround. nyholm/psr7 and nyholm/psr7-server work well for me:

composer require slim/slim nyholm/psr7 nyholm/psr7-server

Doesn't solve the original issue, but gets the job done! :slightly_smiling_face:

mbezhanov avatar Apr 22 '24 12:04 mbezhanov

This has been added in #289 and is now available in v1.7.0

piotr-cz avatar Jun 13 '24 12:06 piotr-cz