Skip to content

Develop 4.1.8 - #25

Merged
eggy03 merged 11 commits into
mainfrom
develop-4.1.8
Jun 25, 2026
Merged

Develop 4.1.8#25
eggy03 merged 11 commits into
mainfrom
develop-4.1.8

Conversation

@eggy03

@eggy03 eggy03 commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Description

This PR adds new formatting for Audit Log Changes pertaining to Threads, Scheduled Events and Roles. Additionally a CDI bean containing producer methods for Platform and Virtual Thread factories have also been added. Injection of these factories can be performed via the qualifiers @VirtualThreadFactory and @PlatformThreadFactory

Type of Change

New feature

  • Provide formatting for scheduled_start_time and scheduled_end_time in Scheduled Events
  • Provide formatting for icon_hash in Role Events
  • Provide formatting for applied_tags in Thread Events

Refactor

  • isoLocalTimeCounter() in DurationUtils now uses TimeFormat.DATE_TIME_LONG.format() from JDA's TimeFormat instead of using a manual converter to convert ISO Time to Discord format <t:....f>
  • Listeners now use the injected Virtual Thread Factory provided by the producer method, instead of invoking Thread.ofVirtual().start(Runnable r)

Dependency Updates

  • Update Quarkus Platform to 3.37.0

Tasks for Native Builds

  • New Code Added
    • New Code Tested In Native Build
  • Dependencies Updated
    • Dependencies Updates Tested In Native Build
  • Reachability Metadata Updated
    • Update Tested In Native Build

eggy03 added 11 commits June 24, 2026 15:28
- Display `scheduled_start_time` and `scheduled_end_time` in audit logs for event creation, updates, and deletion.
- Add `convertISOTimeToDiscordTimeStamp` utility to format ISO date-time strings into Discord timestamps.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Standardize Discord timestamp formatting with `TimeFormat.DATE_TIME_LONG.format()`.
- Refactor `DurationUtils.isoToLocalTimeCounter` to leverage JDA's `TimeFormat`.
- Remove custom date formatting logic from handlers.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add a new case for `icon_hash` to log role icon changes

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add handling for `applied_tags` in `ThreadActionTypeHandler.java`
- Display "Applied Tags were updated" in case of Thread Update
- Skip `applied_tags` processing in case of Thread Create and Delete

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Move ApplicationInfo.java to a new package `about`
- Rename `PaperTrailSdkBeanProvider.java` to `PaperTrailSdkProducer.java` and move to `producers` package

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Inject `ThreadFactory` into listeners to spawn virtual threads

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
@eggy03
eggy03 merged commit 550669a into main Jun 25, 2026
7 checks passed
@eggy03
eggy03 deleted the develop-4.1.8 branch June 25, 2026 04:15
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