-
Terminally Deprecated ElementsElementDescriptionsince 1.2, for removal in 1.3. Use
ApplicationModules(org.springframework.modulith.core.ModulithMetadata,com.tngtech.archunit.base.DescribedPredicate<com.tngtech.archunit.core.domain.JavaClass>,boolean,com.tngtech.archunit.core.importer.ImportOption)
instead and set upModulithMetadata
to contain the packages you want to use.useApplicationModules.getSource()
insteaduseModulithMetadata.getSource()
instead.since 0.3, usePublishedEvents.TypedPublishedEvents.matching(Function, Predicate)
instead.
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionsince, 1.1. Prefer
org.springframework.modulith.events.ApplicationModuleListener
inspring-modulith-events-api
.
-
Deprecated MethodsMethodDescriptionuse
ApplicationModules.getSource()
insteadsince 1.2, rather useModulithMetadata.getBasePackages()
that includes all packages already.useModulithMetadata.getSource()
instead.no replacement as a name-onlyDocumenter.CanvasOptions.Grouping
doesn't make any sense in the first place.since 0.3, usePublishedEvents.TypedPublishedEvents.matching(Function, Predicate)
instead.
-
Deprecated ConstructorsConstructorDescriptionsince 1.2, for removal in 1.3. Use
ApplicationModules(org.springframework.modulith.core.ModulithMetadata,com.tngtech.archunit.base.DescribedPredicate<com.tngtech.archunit.core.domain.JavaClass>,boolean,com.tngtech.archunit.core.importer.ImportOption)
instead and set upModulithMetadata
to contain the packages you want to use.
org.springframework.modulith.events.ApplicationModuleListener
inspring-modulith-events-api
.