Skip to main content

Removed javax.* Dependencies in Java Core Package

ยท One min read

We have eliminated transitive javax.* dependencies from apimatic/core for better compatibility across Java versions.

Detailsโ€‹

A recent issue was reported where the use of javax.* namespaces as transitive dependencies in the apimatic/core package caused conflicts when integrating with newer Java environments. This led to problems for downstream consumers of SDKs generated using APIMatic.

To resolve this, we refactored the library to rely on functionality provided by Jackson, removing the need for javax.* APIs altogether. Importantly, this change was achieved without migrating to jakarta.* namespaces as suggested here, ensuring that the library continues to support Java 8+, while maximizing compatibility across multiple Java versions.

What's Changedโ€‹

  • ๐Ÿš€ Removed usage of javax.* namespaces from apimatic/core.
  • โœ… Replaced with Jackson-provided classes and functionality.
  • ๐Ÿ”„ No migration to jakarta.* required.
  • ๐Ÿ’ก Maintained support for Java 8 and above, ensuring broader SDK usability.