SLF4J / SLF4J-576 [Open] Export slf4j packages in version 1 and 2 in OSGi-Manifests
============================== Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-576 ============================== Issue created ------------------------------ Hannes Wellmann created this issue on 14/Dec/22 11:11 PM Summary: Export slf4j packages in version 1 and 2 in OSGi-Manifests Issue Type: Improvement Affects Versions: 2.0.0, 2.0.5 Assignee: SLF4J developers list Components: Core API Created: 14/Dec/22 11:11 PM Environment: The documentation claims that SLF4J-2 is binary compatible to slf4j-1, from a client perspective: * [https://www.slf4j.org/faq.html#compatibility] * [https://www.slf4j.org/faq.html#changesInVersion200] In order to ease migration to slf4j-2 in the OSGi world and to allow the usage of libraries that are build against slf4j-1 and therefore have a Import-Package version range with exclusive upper-bound of 2 in an OSGi runtime that has SLF4J-2 installed it would be beneficial if slf4j-api would export its packages in version 1 (probably the latest one) and two. Eventually the Manifest of slf4j-api would have an entry like the following (plus uses-constraints): {code:java} Export-Package: org.slf4j;version="1.7.36", org.slf4j;version="2.0.7", org.slf4j.event;version="1.7.36", org.slf4j.event;version="2.0.7", org.slf4j.helpers;version="1.7.36", org.slf4j.helpers;version="2.0.7" org.slf4j.spi;version="1.7.36", org.slf4j.spi;version="2.0.7" {code} Priority: Minor Reporter: Hannes Wellmann ============================== This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59) _______________________________________________ slf4j-dev mailing list slf4j-dev@qos.ch https://mailman.qos.ch/cgi-bin/mailman/listinfo/slf4j-dev