Skip to content

Develop 4.1.1 - #23

Merged
eggy03 merged 7 commits into
mainfrom
develop-4.1.1
Jun 6, 2026
Merged

Develop 4.1.1#23
eggy03 merged 7 commits into
mainfrom
develop-4.1.1

Conversation

@eggy03

@eggy03 eggy03 commented Jun 6, 2026

Copy link
Copy Markdown
Owner
  • Update PaperTrail SDK to 3.0.0 (Retrofit Update)
  • Add quarkus-jackson and provide an ObjectMapper bean to the SDK clients
  • Re-introduce Virtual Threads
  • Rename GuildAuditLogEntryCreateEventHandler to GuildAuditLogEntryCreateEventActionTypeHandler
  • Also rename handleEvent method to handleActionType in the above class since routing is based on ActionType
  • Rename *EventHandler classes extending the above class to *ActionTypeHandler.

eggy03 added 7 commits June 5, 2026 13:04
- upgrade `papertrail.sdk` from `2.0.5` to `3.0.0`
- add `quarkus-jackson` dependency
- inject `ObjectMapper` into `PaperTrailSdkBeanProvider`
- pass `objectMapper` to `AuditLogRegistrationClient`, `MessageLogRegistrationClient`, and `MessageLogContentClient`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Wrap all event handler calls in `Thread.ofVirtual()` blocks

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Previously, all handlers were processed sequentially within a single virtual thread.
- Now, each handler is started in its own virtual thread.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- rename `handleEvent` to `handleActionType` across audit log event handlers to clarify `ActionType` based routing
- add comment explaining virtual threads for concurrent handler execution to improve performance

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Rename `*EventHandler` classes and files to `*ActionTypeHandler`.
- Update base class `GuildAuditLogEntryCreateEventHandler` to `GuildAuditLogEntryCreateEventActionTypeHandler`.
- Adjust method names and Javadoc to align with `ActionType` handling.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- out of SNAPSHOT

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
@eggy03
eggy03 merged commit 9817eeb into main Jun 6, 2026
8 checks passed
@eggy03
eggy03 deleted the develop-4.1.1 branch June 6, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant