On 11/04/17 22:01, Michael Mayer wrote:

Compatibility ftw!

Hence, a new namespace and a new composer package – I do not care about
the concrete new names though:
> ...
namespace Psr\Log\V2;

I agree, except for the namespace.

I think every PSR should have its own (2nd-level) namespace, and not depend on others, so I would prefer

namespace Psr\Log2; // or Log7 or LogNew or TypedLog. You get the idea.

Having a semver major version change would mean we can't use the new LoggerInterface if we already included a dependency using the old LoggerInterface.

Having a sub-namespace could be confusing and the changes could be more than just adding types, so the new PSR should be just lightly related to the old one.

Bye.

--
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/ec17a195-fe5e-be21-0699-34202c7a8e9d%40amiran.it.
For more options, visit https://groups.google.com/d/optout.

Reply via email to