You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documented usage of Java FDK, the api module is added by the user to their pom.xml. The runtime module is part of the base image. This should be fine initially, but after that the user is free to try to update either to a newer version.
Example 1: User changes to use a newer api module. This should be OK unless we have made a breaking change to api.
Example 2: User changes to use a new base image (including an updated runtime jar). The newer version of the runtime jar, may have been compiled against a newer version of api than is actually present. This may or may not be a problem depending on if any of the method/class signatures in api have changed or been added.
Example 1 shows that we can't make breaking changes to the api module classes/methods without risking breakage to our users, even if we use semver to signal a breaking change (because not all the code which calls api methods is under user control). Fine. Example 2 shows that we can't change methods in api which are called from runtime - even adding a new method could cause failures as that method will be compiled against but might not be present at runtime.
The text was updated successfully, but these errors were encountered:
In the documented usage of Java FDK, the
api
module is added by the user to theirpom.xml
. Theruntime
module is part of the base image. This should be fine initially, but after that the user is free to try to update either to a newer version.Example 1: User changes to use a newer
api
module. This should be OK unless we have made a breaking change toapi
.Example 2: User changes to use a new base image (including an updated
runtime
jar). The newer version of theruntime
jar, may have been compiled against a newer version ofapi
than is actually present. This may or may not be a problem depending on if any of the method/class signatures inapi
have changed or been added.Example 1 shows that we can't make breaking changes to the
api
module classes/methods without risking breakage to our users, even if we use semver to signal a breaking change (because not all the code which callsapi
methods is under user control). Fine. Example 2 shows that we can't change methods inapi
which are called fromruntime
- even adding a new method could cause failures as that method will be compiled against but might not be present at runtime.The text was updated successfully, but these errors were encountered: