130 Commits

Author SHA1 Message Date
Oliver Drotbohm
beefc8131b GH-642 - Prepare next development iteration. 2024-05-24 12:35:03 +02:00
Oliver Drotbohm
2c43f803f2 GH-642 - Release version 1.0.8. 2024-05-24 12:35:03 +02:00
Oliver Drotbohm
a42539a877 GH-632 - Let JdbcEventPublicationRepository implement BeanClassLoaderAware.
To make sure the event type is loaded via the RestartClassLoader when using Spring Boot Devtools.
2024-05-23 13:16:51 +02:00
Oliver Drotbohm
bdd59fa9eb GH-575 - Prepare next development iteration. 2024-04-29 12:48:48 +02:00
Oliver Drotbohm
001adcfc42 GH-575 - Release version 1.0.7. 2024-04-29 12:48:47 +02:00
Benjamin Knauer
c5c0586ed4 GH-565 - Use error log in PersistentApplicationEventMulticaster if listener not found.
Related pull request: GH-548.
2024-04-29 08:37:54 +02:00
Oliver Drotbohm
fd4864acf3 GH-512 - Prepare next development iteration. 2024-02-23 15:49:15 +01:00
Oliver Drotbohm
37c46fdd4e GH-512 - Release version 1.0.6. 2024-02-23 15:49:15 +01:00
Oliver Drotbohm
c21b9d69f8 GH-473 - Prepare next development iteration. 2024-01-19 13:02:43 +01:00
Oliver Drotbohm
bea277d7c6 GH-473 - Release version 1.0.5. 2024-01-19 13:02:43 +01:00
Oliver Drotbohm
f8f6e0212a GH-465 - Update copyright headers. 2024-01-17 19:48:17 +01:00
Oliver Drotbohm
7c91e56c3b GH-460 - Move off deprecated DatabaseDriver.fromDataSource(…). 2024-01-17 16:35:14 +01:00
Oliver Drotbohm
35f7ee696c GH-445 - Declare most concrete type for EventPublicationRegistry configuration. 2024-01-10 14:51:25 +01:00
Oliver Drotbohm
2929afb49e GH-433 - Prepare next development iteration. 2023-12-21 22:40:11 +01:00
Oliver Drotbohm
cdefaca8ff GH-433 - Release version 1.0.4. 2023-12-21 22:40:10 +01:00
Oliver Drotbohm
5944f0e5ea GH-392 - Prepare next development iteration. 2023-11-24 17:58:10 +01:00
Oliver Drotbohm
7a4e9f9df5 GH-392 - Release version 1.0.3. 2023-11-24 17:58:10 +01:00
nkolosnjaji
019039e441 GH-386 - Prefer MongoTemplate.findAndModify(…) over ….updateFirst(…).
Original pull request: GH-380.
2023-11-24 16:24:08 +01:00
Oliver Drotbohm
2d22b24de4 GH-381 - Propagate original exception from CompletionRegisteringAdvisor.
We now propagate potentially occurring exceptions in CompletionRegisteringAdvisor to make sure the standard exception handling facilities kick in, both for synchronous and asynchronous listener invocations.
2023-11-19 22:12:02 +01:00
Oliver Drotbohm
b501554d87 GH-340 - Prepare next development iteration. 2023-10-23 08:50:23 +02:00
Oliver Drotbohm
f875e67755 GH-340 - Release version 1.0.2. 2023-10-23 08:50:22 +02:00
Oliver Drotbohm
f949b508a4 GH-304 - Prepare next development iteration. 2023-09-21 23:11:07 +02:00
Oliver Drotbohm
f3e9ce5fa2 GH-304 - Release version 1.0.1. 2023-09-21 23:11:06 +02:00
Oliver Drotbohm
93e9d5489d GH-305 - Multicaster now honors listener condition.
We now reflectively invoke ApplicationListenerMethodAdapter.shouldHandle(…) when selecting event listeners to make sure that conditions defined in, for example, @TransactionalEventListener are considered before registering an event publication.
2023-09-21 09:03:31 +02:00
Oliver Drotbohm
0cc7c352f8 GH-274 - Prepare next development iteration. 2023-08-24 14:37:38 -07:00
Oliver Drotbohm
6197d35937 GH-274 - Release version 1.0.0. 2023-08-21 06:59:57 -07:00
Oliver Drotbohm
39ce5346c6 GH-270 - Prepare next development iteration. 2023-08-16 08:05:46 +02:00
Oliver Drotbohm
2c5cedd1d1 GH-270 - Release version 1.0.0-RC2. 2023-08-16 08:05:46 +02:00
Oliver Drotbohm
0bfdb81d91 GH-265 - Use EVENT_PUBLICATION as table name for JPA to be consistent with JDBC. 2023-08-12 07:50:37 +02:00
Oliver Drotbohm
1e1ebb52ff GH-266 - Use event_publication collection for MongoDB event publications. 2023-08-12 07:50:37 +02:00
Oliver Drotbohm
967556d014 GH-264 - Only register EventPublicationRegistry if EventPublicationRepository present.
We now clearly separate between strict configuration, usable via @EnablePersistentDomainEvents and the auto-configuration for EventPublicationRegistry infrastructure. This allows using the core JAR in scenarios, in which no registry functionality is needed.
2023-08-12 07:49:43 +02:00
Oliver Drotbohm
0de48790d7 GH-261 - Avoid materializing JpaEventPublication to mark it completed.
We now simply issue an update query.
2023-08-10 00:19:35 +02:00
Oliver Drotbohm
1a84ae256f GH-260 - Prepare next development iteration. 2023-08-09 22:29:57 +02:00
Oliver Drotbohm
bf68d74756 GH-260 - Release version 1.0.0-RC1. 2023-08-09 22:29:56 +02:00
Oliver Drotbohm
31efdb31a2 GH-259 - Rename modulith.events package to modulith.events.core.
Allows us to eventually use the former as user-facing API package in a to-be-introduced API JAR.
2023-08-09 22:05:08 +02:00
Oliver Drotbohm
afe77711f1 GH-212 - Invert default for event republication to false.
This is to accommodate cluster setups and avoid multiple instances from resubmitting outstanding event publications concurrently.
2023-08-09 21:21:18 +02:00
Oliver Drotbohm
79e465c10e GH-251 - Improve efficiency of event publication completion.
Changed the EventPublicationRepository interface to allow marking an event as completed without having to materialize it in the first place. This allows us to get rid of CompletableEventPublication. EventPublication not exposes its identifier to make sure the stores can actually store the same id.

Introduced EventPublicationRegistry.deleteCompletedPublicationsOlderThan(Duration) to purge completed event publications before a given point in time.
2023-08-09 21:21:18 +02:00
Oliver Drotbohm
29b78a447e GH-206 - Polishing.
Javadoc in CompletableEventPublication.
2023-07-19 17:16:53 +02:00
Oliver Drotbohm
303a6802d8 GH-206 - Event Publication Registry now uses custom Clock instance if configured.
We now consider a user defined Clock bean in the application context to obtain the Instant to use as publication date for event publications.
2023-07-19 17:16:20 +02:00
Oliver Drotbohm
4fd17a80eb GH-239 - Polishing. 2023-07-18 19:03:15 +02:00
Oliver Drotbohm
2270ff39ec GH-240 - Republication of outstanding events can now be disabled.
Via the spring.modulith.republish-outstanding-events-on-restart (boolean) property.
2023-07-17 13:35:45 +02:00
Oliver Drotbohm
ff32c609fc GH-239 - Removed workaround after the downstream issue has been fixed in Spring Framework.
Related ticket: GH-186, spring-projects/spring-framework#30399.
2023-07-17 13:15:50 +02:00
Oliver Drotbohm
f8da2e86a8 GH-232 - Improve configuration property metadata in Event Publication Registry. 2023-07-05 17:34:23 +02:00
Oliver Drotbohm
fd478cbed5 GH-231 - Fix typo in property controlling the MongoDB Event Publication Registry's default transaction management. 2023-07-05 14:13:52 +02:00
Oliver Drotbohm
5e2da724da GH-199 - Prepare next development iteration. 2023-06-23 12:55:10 +02:00
Oliver Drotbohm
a74c4e582d GH-199 - Release version 1.0.0-M1. 2023-06-23 12:55:09 +02:00
Oliver Drotbohm
0dd2200302 GH-195 - Unnest test cases to make sure we run the right profiles.
Remove the nesting of the test classes as they will be executed without profiles activated.
2023-06-23 12:49:06 +02:00
Oliver Drotbohm
068916aa54 GH-195 - Remove support for legacy spring.modulith.jdbc-… namespace in JDBC-based event support. 2023-06-23 12:49:06 +02:00
Oliver Drotbohm
596e8828a2 GH-197 - Promote project out of experimental status.
Set version number to 1.0.0-SNAPSHOT. New group id is org.springframework.modulith. Also adapt links to new project home.
2023-05-02 14:32:32 +02:00
Oliver Drotbohm
60ce7da56e GH-189 - Prepare next development iteration. 2023-05-02 12:28:30 +02:00