Skip to content

Conversation

Zabuzard
Copy link
Member

@Zabuzard Zabuzard commented Jul 5, 2025

Features:

Platform:

dependabot bot and others added 30 commits May 5, 2025 08:54
Bumps `jacksonVersion` from 2.18.1 to 2.19.0.

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-csv` from 2.18.1 to 2.19.0
- [Commits](FasterXML/jackson-dataformats-text@jackson-dataformats-text-2.18.1...jackson-dataformats-text-2.19.0)

Updates `com.fasterxml.jackson.datatype:jackson-datatype-jsr310` from 2.18.1 to 2.19.0

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-xml` from 2.18.1 to 2.19.0
- [Commits](FasterXML/jackson-dataformat-xml@jackson-dataformat-xml-2.18.1...jackson-dataformat-xml-2.19.0)

Updates `com.fasterxml.jackson.core:jackson-databind` from 2.18.1 to 2.19.0
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-csv
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-xml
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.kohsuke:github-api](https://github.com/hub4j/github-api) from 1.326 to 1.327.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](hub4j/github-api@github-api-1.326...github-api-1.327)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-version: '1.327'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.18.1 to 1.20.1.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md)
- [Commits](jhy/jsoup@jsoup-1.18.1...jsoup-1.20.1)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-version: 1.20.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.gradle.toolchains.foojay-resolver-convention from 0.8.0 to 0.10.0.

---
updated-dependencies:
- dependency-name: org.gradle.toolchains.foojay-resolver-convention
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.sonarqube from 6.0.1.5171 to 6.1.0.5360.

---
updated-dependencies:
- dependency-name: org.sonarqube
  dependency-version: 6.1.0.5360
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.xerial:sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.47.1.0 to 3.49.1.0.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](xerial/sqlite-jdbc@3.47.1.0...3.49.1.0)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-version: 3.49.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.apptasticsoftware:rssreader](https://github.com/w3stling/rssreader) from 3.8.1 to 3.9.3.
- [Release notes](https://github.com/w3stling/rssreader/releases)
- [Commits](w3stling/rssreader@v3.8.1...v3.9.3)

---
updated-dependencies:
- dependency-name: com.apptasticsoftware:rssreader
  dependency-version: 3.9.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.jooq:jooq from 3.19.1 to 3.20.4.

---
updated-dependencies:
- dependency-name: org.jooq:jooq
  dependency-version: 3.20.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 11.1.0 to 11.8.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-11.1.0...flyway-11.8.0)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-version: 11.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.github.ben-manes.caffeine:caffeine](https://github.com/ben-manes/caffeine) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/ben-manes/caffeine/releases)
- [Commits](ben-manes/caffeine@v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: com.github.ben-manes.caffeine:caffeine
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.apache.commons:commons-text from 1.12.0 to 1.13.1.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-text
  dependency-version: 1.13.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps com.diffplug.spotless from 6.25.0 to 7.0.3.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-version: 7.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.sonarqube from 6.1.0.5360 to 6.2.0.5505.

---
updated-dependencies:
- dependency-name: org.sonarqube
  dependency-version: 6.2.0.5505
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.gradle.toolchains.foojay-resolver-convention from 0.10.0 to 1.0.0.

---
updated-dependencies:
- dependency-name: org.gradle.toolchains.foojay-resolver-convention
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.17.0 to 5.18.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v5.17.0...v5.18.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-version: 5.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump net.dv8tion:JDA from 5.2.1 to 5.5.1

Bumps [net.dv8tion:JDA](https://github.com/discord-jda/JDA) from 5.2.1 to 5.5.1.
- [Release notes](https://github.com/discord-jda/JDA/releases)
- [Commits](discord-jda/JDA@v5.2.1...v5.5.1)

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-version: 5.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fixed failing tests

* Removed deprecated setOnlyGuild method usage

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Schweighoefer <[email protected]>
Bumps [com.sigpwned:jackson-modules-java17-sealed-classes](https://github.com/sigpwned/jackson-modules-java-17-sealed-classes) from 0.0.0 to 2.14.3.0.
- [Commits](sigpwned/jackson-modules-java-17-sealed-classes@v0.0.0...v2.14.3.0)

---
updated-dependencies:
- dependency-name: com.sigpwned:jackson-modules-java17-sealed-classes
  dependency-version: 2.14.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.sigpwned:jackson-modules-java17-sealed-classes](https://github.com/sigpwned/jackson-modules-java-17-sealed-classes) from 2.14.3.0 to 2.19.0.0.
- [Commits](sigpwned/jackson-modules-java-17-sealed-classes@v2.14.3.0...v2.19.0.0)

---
updated-dependencies:
- dependency-name: com.sigpwned:jackson-modules-java17-sealed-classes
  dependency-version: 2.19.0.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 11.8.0 to 11.9.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-11.8.0...flyway-11.9.0)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-version: 11.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.xerial:sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.49.1.0 to 3.50.1.0.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](xerial/sqlite-jdbc@3.49.1.0...3.50.1.0)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-version: 3.50.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.apache.logging.log4j:log4j-core from 2.24.3 to 2.25.0.

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-version: 2.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [net.dv8tion:JDA](https://github.com/discord-jda/JDA) from 5.5.1 to 5.6.1.
- [Release notes](https://github.com/discord-jda/JDA/releases)
- [Commits](discord-jda/JDA@v5.5.1...v5.6.1)

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-version: 5.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.20.1 to 1.21.1.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md)
- [Commits](jhy/jsoup@jsoup-1.20.1...jsoup-1.21.1)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-version: 1.21.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 11.9.0 to 11.10.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-11.9.0...flyway-11.10.0)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-version: 11.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* improved chatgpt requests and response handling

* markdown hint

* (removed extra space)
I have noticed that when inexperienced people just getting started on
the project go through all the hoops of cloning the repository, setting
up their Discord bots, creating their test server, they end up compiling
the code in IDEs like IntelliJ IDEA and assuming they just change the
token on their `config.json`, there are stacktraces and errors thrown
once they attempt to run the bot. Specifically:

    Caused by: java.net.URISyntaxException: Illegal character in path at index 0: <put_your_webhook_here>
            at java.base/java.net.URI$Parser.fail(URI.java:2995)
            at java.base/java.net.URI$Parser.checkChars(URI.java:3166)
            at java.base/java.net.URI$Parser.parseHierarchical(URI.java:3248)
            at java.base/java.net.URI$Parser.parse(URI.java:3207)
            at java.base/java.net.URI.<init>(URI.java:645)
            at java.base/java.net.URI.create(URI.java:930)

For the average software engineer, they would be aware that the program
is still running and that the bot is ready, but two things:

    - Someone who is not trained enough and is just starting to contribute
      will get thrown off by the error and potentially give up (I have
      experienced it happening)

    - It's a generally better experience for knowledgable new contributors
      to set up the project effortlessly so that they can get started with
      contributing straight away without any stacktraces.

This commit prints a friendly warning in the logger and no stacktrace in
case the user has not updated the webhooks (which most of them will not
have to, as they are primarily concerned with the Discord bot's token).

We hide the stacktrace in case there is a "<put_your_webhook_here>"
value in the "logInfoChannelWebhook" and "logErrorChannelWebhook"
configuration keys so that IntelliJ IDEA does not put the stacktrace in
the spotlight and potentially scare new contributors.

Signed-off-by: christolis <[email protected]>
* switch to oracle rss feed

* refractor: javamail -> rss

* spotless apply

* fix json formatting
pot and others added 7 commits June 29, 2025 22:56
* Update RSSHandlerRoutine.java

* Update RSSHandlerRoutine.java
Throughout this entire time, for anybody cloning the repository, setting
up the `config.json.template`, following all the steps from the GitHub
wiki we have verbatim and running the bot, leads to a SLF4J(E)
stacktrace into the console almost as soon as the program begins
execution, regardless of the environment:

    SLF4J(E): Unexpected problem occurred during version sanity check
    SLF4J(E): Reported exception:
    java.lang.AbstractMethodError: Receiver class org.apache.logging.slf4j.SLF4JServiceProvider does not define or inherit an implementation of the resolved method 'abstract java.lang.String getRequestedApiVersion()' of interface org.slf4j.spi.SLF4JServiceProvider.
	at org.slf4j.LoggerFactory.versionSanityCheck(LoggerFactory.java:385)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:189)
	at org.slf4j.LoggerFactory.getProvider(LoggerFactory.java:511)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:497)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:446)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:472)
	at org.togetherjava.tjbot.Application.<clinit>(Application.java:35)

There has been no major hurdle noted after this exception being thrown,
at least not one that I am personally aware of.

Fix this by updating `log4j-slf4j2-impl` to the latest stable version as
of writing this (2.25.0). As a result, the stacktrace is entirely gone
and logging appears to be behaving normally.

By doing this we also prevent discouraging novice contributors from
contributing by falsely getting them to believe that they have performed
something wrong during setup.

Signed-off-by: Chris Sdogkos <[email protected]>
* fix: add temp user agent and temp headers

* wip(RSSHandlerRoutine.java): add headers to config

Better to have it in the configuration file as default for those who
need it than hardcoded in the code.

Signed-off-by: Chris Sdogkos <[email protected]>

* docs: add javadocs to rss feed config & update config with more minimal headers

* Update to TJ agent

* hardcode user agent

---------

Signed-off-by: Chris Sdogkos <[email protected]>
Co-authored-by: Chris Sdogkos <[email protected]>
* rebase

* upgrade to java 22

* downgraded workflow to java 21

* ignored -> _

* gradle wrapper

* 8.8

* workflow

* no ignored will get ignored

* upgraded docker build java version

* upgrade solarlint

* .

* .

* .

* .

* for some reasons those files had unprintable characters at the beginning

* Java 24 and other version bumps

* suppressed some false positive sonars

see bug report for details: https://community.sonarsource.com/t/a-nullpointerexception-could-be-thrown-ofnullable-can-return-null/134892

---------

Co-authored-by: Zabuzard <[email protected]>
@Zabuzard Zabuzard self-assigned this Jul 5, 2025
@Zabuzard Zabuzard requested a review from a team as a code owner July 5, 2025 07:24
@Zabuzard Zabuzard added the release Marks official releases and talks about them, i.e. merges from develop to master label Jul 5, 2025
@Zabuzard Zabuzard merged commit 2e1fb91 into master Jul 5, 2025
25 checks passed
Copy link

sonarqubecloud bot commented Jul 5, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Marks official releases and talks about them, i.e. merges from develop to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants