Throw IllegalStateException rather than NPE if the user tries to access a resource after the ScanResult has been closed (#885, thanks to @sebthom for reporting).
This release adds some new features for applications. We've also started working on more compliance tests to make contributing and reviewing changes easier.
The interaction response replyWithPremiumRequired is being phased out in favor of custom messages with a new button style Button.premium(sku) to upsell specific premium features instead.
You can change your code to a simple reply(content) with this button as a component.
event.reply("This feature is only available for premium users.")
.addActionRow(Button.primary(SkuSnowflake.fromId(PREMIUM_FEATURE_SKU)))
.setEphemeral(true)
.queue();
Your bot can now manage emoji with JDA by using JDA#createApplicationEmoji. These emojis can then be used like any other emoji with Emoji.fromCustom(name, id, animated).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 8 updates in the / directory:
4.8.176
4.8.177
1.5.8
1.5.12
2.17.2
2.18.1
2.17.2
2.18.1
2.17.2
2.18.1
2.17.2
2.18.1
v3-rev20240914-2.0.0
v3-rev20241014-2.0.0
5.1.1
5.2.0
Updates
io.github.classgraph:classgraph
from 4.8.176 to 4.8.177Release notes
Sourced from io.github.classgraph:classgraph's releases.
Commits
8841196
[maven-release-plugin] prepare release classgraph-4.8.177e5422fb
Reset version numbera138641
Fix previous commitdcd7ece
Don't allow resources to be opened after ScanResult is closed (#885)b61f6e0
[maven-release-plugin] prepare for next development iterationUpdates
ch.qos.logback:logback-classic
from 1.5.8 to 1.5.12Commits
3a64b51
prepare release 1.5.12ecae664
fix issues/87985968fa
logger call ends with two exceptions - fix issues/876ea3cec8
Update README.md887cbba
update README.mddf2a3b6
start work on 1.5.12-SNAPSHOT3aa0730
prepare release of version 1.5.118bcfd9a
allow for InsertFromJNDIModelHandler to be callable from logback-tyler75bee86
refactorings in support of logback-tyler8749edc
start work on 1.5.11-SNAPSHOTUpdates
com.fasterxml.jackson.core:jackson-databind
from 2.17.2 to 2.18.1Commits
Updates
com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
from 2.17.2 to 2.18.1Commits
4f3aa83
[maven-release-plugin] prepare release jackson-dataformats-text-2.18.12f722bc
Prepare for 2.18.1 release1619e14
Remove use of TypeFactory.defaultInstance()998064b
Backport #499 in 2.18(.1) as well46de17e
Merge branch '2.17' into 2.18306d255
Backport #499 in 2.17(.3)cbf4ad9
Back to snapshot depse4eca1c
[maven-release-plugin] prepare for next development iteration13e4274
[maven-release-plugin] prepare release jackson-dataformats-text-2.18.0cd642d3
Prepare for 2.18.0 releaseUpdates
com.fasterxml.jackson.datatype:jackson-datatype-guava
from 2.17.2 to 2.18.1Commits
01f127f
[maven-release-plugin] prepare release jackson-datatypes-collections-2.18.15e16569
Prep for 2.18.1 release71f48df
Back to snapshot deped8b9f5
[maven-release-plugin] prepare for next development iteratione2cee41
[maven-release-plugin] prepare release jackson-datatypes-collections-2.18.02f3db97
Prepare for 2.18.0 release5ad9f42
Try to fix #160 (OSGi dep problem wrt Guava) (#161)f76649a
Bump actions/setup-java from 4.2.1 to 4.2.2 in the github-actions group (#159)021e87b
Back to snapshots9437e20
[maven-release-plugin] prepare for next development iterationUpdates
com.fasterxml.jackson.datatype:jackson-datatype-jsr310
from 2.17.2 to 2.18.1Updates
com.google.apis:google-api-services-drive
from v3-rev20240914-2.0.0 to v3-rev20241014-2.0.0Updates
net.dv8tion:JDA
from 5.1.1 to 5.2.0Release notes
Sourced from net.dv8tion:JDA's releases.
... (truncated)
Commits
26e1ea2
Bump version to 5.2.02958960
Add tests for PermissionUtil (#2764)820d56d
Remove deprecated symbols with deadline 5.1.0 (#2763)5d9e36c
Add some tests for JDABuilder intents and cache flags (#2762)53adaa1
ReplaceGatewayIntent#GUILD_EMOJIS_AND_STICKERS
withGUILD_EXPRESSIONS
(#...52c69c9
Add support for Application Emoji (#2726)8ccfc56
Add premium buttons (#2752)e46bacb
Fix typo in JDA#isAutoReconnect javadocs (#2758)8b45fc0
Fix typo in RoleManager (#2757)122d083
Fix links to LavaPlayer in AudioManager (#2761)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show