Skip to content
This repository was archived by the owner on May 13, 2023. It is now read-only.

Deprecate our factory interfaces #39

Closed
wants to merge 2 commits into from
Closed

Deprecate our factory interfaces #39

wants to merge 2 commits into from

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Dec 27, 2018

It is time. We succeeded!

Copy link
Member

@sagikazarmark sagikazarmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While deprecation is OK, I think we should provide a forward compatibility layer between PSR-17 and this package, see #38

## Deprecation notice

This package and these PSR-7 factory interfaces are deprecated. We have succeeded with our goal of moving these
interfaces to PHP-FIG. The new [PSR-17](https://packagist.org/packages/psr/http-factory) package is backwards compatible
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's true. The API might not break, but you won't get the same PSR-7 object.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, if its the same http message, it should be BC. if its not the same PSR-7 implementation, that should not matter, as code should not rely on a factory returning a specific implementation. or do you mean something else?

@dbu
Copy link
Contributor

dbu commented Apr 14, 2023

i forgot about this. i now merged #42 and will add a note to the README.

@dbu dbu closed this Apr 14, 2023
@dbu dbu deleted the patch-deprecation branch April 14, 2023 14:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants