Releases: viascom/aluna-spring-boot-starter
0.0.32_5.0.0-alpha.22
What's Changed
feat: add sendOrEditMessage function
feat: add sortBy functions for channels
feat: add PermissionUtils
feat: add ImageUtil
feat: add toDiscordColorInt
fix: add .body?.close() to botlist senders
feat: add @Order(100)
to InteractionInitializer
feat: add @Order(100)
to DiscordReadyEventListener
chore: update docs
chore: bump to 0.0.32_5.0.0-alpha.22
build(deps): bump org.springframework.boot from 2.7.5 to 3.0.0
build(deps): bump spring-boot-starter-json from 2.7.5 to 3.0.0
build(deps): bump jackson-databind from 2.13.4.2 to 2.14.1
build(deps): bump org.jetbrains.kotlin.jvm from 1.7.20 to 1.7.21
build(deps): bump org.jetbrains.kotlin.kapt from 1.7.20 to 1.7.21
Full Changelog: 0.0.31_5.0.0-alpha.22...0.0.32_5.0.0-alpha.22
0.0.31_5.0.0-alpha.22
What's Changed
- chore: bump jda from 5.0.0-alpha.21 to 5.0.0-alpha.22
- feat: add command property to DiscordSubCommand
- feat: add toMessageEditData to Webhook
- feat: extend test examples
- chore: bump gsonVersion
- chore: bump jacksonSpringBootVersion
What's Changed
- build(deps): bump org.springframework.boot from 2.7.4 to 2.7.5 by @dependabot in #68
- build(deps): bump spring-boot-starter-json from 2.7.4 to 2.7.5 by @dependabot in #67
Full Changelog: 0.0.30_5.0.0-alpha.21...0.0.31_5.0.0-alpha.22
0.0.30_5.0.0-alpha.21
What's Changed
- feat: add DiscordPingProvider to check the current ping
- feat: change from On*Events to Events
- chore: bump jda from 5.0.0-alpha.20 to 5.0.0-alpha.21
- chore: update kotlin
- feat: use AlunaCoroutinesDispatcher
- feat: updated DiscordEvents.kt
- feat: add discordRepresentation to interactions
- feat: add AlunaPaginator
- feat: add ShardManagerBuilderCustomizer
- feat: add jdaCallbackThreadPool property
- feat: add bulkDeleteSplitting property
- feat: allow admin-search to have additional args parsers
Full Changelog: 0.0.29_5.0.0-alpha.20...0.0.30_5.0.0-alpha.21
0.0.29_5.0.0-alpha.20
What's Changed
chore: bump net.dv8tion:JDA:5.0.0-alpha.20
chore: bump org.springframework.boot:2.7.4
chore: bump org.springframework.boot:spring-boot-starter-json:2.7.4
feat: add Guild.ban extension
feat: add Member.timeoutFor extension
feat: extend DiscordEvents.kt for new events
feat: example for OnEventHandler
Full Changelog: 0.0.28_5.0.0-alpha.19...0.0.29_5.0.0-alpha.20
0.0.28_5.0.0-alpha.19
What's Changed
- build: bump net.dv8tion:JDA:5.0.0-alpha.19
- build(deps): bump jackson-databind from 2.13.3 to 2.13.4 by @dependabot in #54
- build(deps): bump de.undercouch.download from 5.1.1 to 5.1.2 by @dependabot in #53
Full Changelog: 0.0.28_5.0.0-alpha.18...0.0.28_5.0.0-alpha.19
0.0.28_5.0.0-alpha.18
What's Changed
- build(deps): bump io.spring.dependency-management from 1.0.12.RELEASE to 1.0.13.RELEASE by @dependabot in #48
- Update Gradle Wrapper from 7.5 to 7.5.1 by @github-actions in #47
- build(deps): bump de.undercouch.download from 5.1.0 to 5.1.1 by @dependabot in #49
- Prepare for JDA Message Rework by @itsmefox in #50
- build(deps): bump org.springframework.boot from 2.7.2 to 2.7.3 by @dependabot in #52
- build(deps): bump spring-boot-starter-json from 2.7.2 to 2.7.3 by @dependabot in #51
Full Changelog: 0.0.25_5.0.0-alpha.16...0.0.28_5.0.0-alpha.18
0.0.25_5.0.0-alpha.16
What's Changed
- Update Gradle Wrapper from 7.4.2 to 7.5 by @github-actions in #41
- build(deps): bump dd-trace-api from 0.103.0 to 0.104.0 by @dependabot in #40
- Change to Coroutines by @itsmefox in #42
- Add localization by @itsmefox in #43
- Change to JDA 5.0.0-alpha.16
Full Changelog: 0.0.24_5.0.0-alpha.13...0.0.25_5.0.0-alpha.16
0.0.24_5.0.0-alpha.13
feat: add own NanoId port from java
feat!: stream line component creation
chore!: remove gson from code base
refactor: clean up
build(deps): bump org.jetbrains.kotlin.kapt from 1.7.0 to 1.7.10
build(deps): bump dd-trace-api from 0.102.0 to 0.103.0
build(deps): bump org.jetbrains.kotlin.jvm from 1.7.0 to 1.7.10
0.0.23_5.0.0-alpha.13
Changes:
feat!: update to JDA 5.0.0-alpha.13
feat: introduce subcommand handling
feat: allow BotListHandler to run on non production mode (built-in will still only run in production mode)
feat: add new events from JDA 5.0.0-alpha.13
feat: add DiscordSticker interface & GenerateStickerEnumProvider to generate it
feat: add native support for isAdministratorOnlyCommand
and useScope
in commands and context-menus
feat: add support defaultPermissions
in commands and context-menus
feat: bot ready notification now shows commands and context-menus
feat!: reduce default timeout from 15 to 14 to be sure that the interaction hook is still valid
feat!: rename Emote to Emoji
feat!: rename SlashCommand to Interaction
feat!: rename @Command
to @Interaction
feat!: rename @CommandScoped
to @InteractionScoped
feat!: rename command to interaction
feat!: remove isEarlyAccessCommand
from DiscordCommand
feat: stream line examples
chore: bump to 0.0.23_5.0.0-alpha.13
chore: bump io.spring.dependency-management to 1.0.12.RELEASE
0.0.22_5.0.0-alpha.12
Breaking Changes
- Restructure/clean up properties: You may need to update your application.yaml
- KotlinScriptBindingProvider now uses a new model for bindings
- LogBookConfig got removed
- WaitingEvent no longer stores the user and guild
- DiscordCommand no longer supports isHidden. You can use commandDevelopmentStatus to hide it in production
- DiscordCommand no longer supports specificServer for now as it is not supported.
- checkForAdditionalRequirements got moved to its own interface
- DiscordContextMenu related classes are now in a different package
- GraalSandbox and related code got removed
- Extract classes / enums from DiscordCommand
- AlunaEmotes got removed
- com.google.code.gson:gson is no longer exposed
- com.fatboyindustrial.gson-javatime-serialisers:gson-javatime-serialisers is no longer exposed
- org.jetbrains.kotlin:kotlin-script-util is no longer exposed
- org.jetbrains.kotlin:kotlin-script-runtime is no longer exposed
- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable is no longer exposed
- org.jetbrains.kotlin:kotlin-compiler-embeddable is no longer exposed
- com.squareup.retrofit2:retrofit got removed
- com.squareup.retrofit2:converter-gson got removed
- org.zalando:logbook-logstash got removed
- org.zalando:logbook-spring-boot-starter got removed
- org.apache.commons:commons-lang3 got removed
Changes
feat!: restructure / clean up properties
fix: using own ShardManagerBuilder implementation does now work correctly
feat: allow to defined messageSource properties
feat: add new Aluna specific @ConditionalOn annotations
feat: add @jvmoverloads to certain methods
chore: update / add java doc to important classes and methods
feat!: change from Triple to KotlinScriptService.Binding for KotlinScriptBindingProvider
feat: add JDA property checks
feat: change to Jackson & remove the need for Gson
feat!: remove LogBookConfig as Aluna does no longer use spring-boot-start-web
feat: add @experimental
to methods and fields which are currently in development or not fully tested
feat: scopedObjectsTimeoutScheduler can now scale down to a single thread
feat: messagesToObserveScheduledThreadPool can now scale down to a single thread
feat: scheduledThreadPool can now scale down to a single thread
feat: BotListHandler is only loaded in the context if production mode is active
feat: BotListHandler now uses cron "0 */10 * * * *" to run every 10 min
feat: Add VersionPrinter to show current Aluna and JDA version
feat: Total shards can now be defined in the properties if needed (default is -1)
feat: overrideTimeout allows to set a new timeout for a given event waiter
feat: removeTimeout allows to remove the timeout for a given event waiter
feat!: WaitingEvent no longer stores the user and guild
feat!: isHidden in DiscordCommand got removed as it has no function
feat!: specificServer in DiscordCommand is a internal field for now as we do not support server specific commands
feat!: checkForAdditionalRequirements got moved to its own interface to make the implementation easier
fix: SystemCommand now only gets loaded into the context if it is enabled in the properties
feat: StatusChangerProvider got added to /system-command which allows to change the status of the bot
fix: added beautify.js to allow the use of GraalSandbox
feat: added version.txt to hold the current version. This gets populated by the gradle build process
chore: bump version to 0.0.22_5.0.0-alpha.12
build: remove duplicate org.jetbrains.kotlin:kotlin-reflect
build!: change com.google.code.gson:gson from api to compileOnly
build!: change com.fatboyindustrial.gson-javatime-serialisers:gson-javatime-serialisers from api to compileOnly
build!: remove com.squareup.retrofit2:retrofit
build!: remove com.squareup.retrofit2:converter-gson
build!: remove org.zalando:logbook-logstash
build!: remove org.zalando:logbook-spring-boot-starter
build: add org.springframework.boot:spring-boot-starter-json
build: add com.fasterxml.jackson.core:jackson-databind
chore: extract all version to variables
feat: download beautify.js during build
feat: add GenerateEmojiEnumProvider to generate Emote-Enums
feat: add @ConditionalOnAlunaNotProductionMode
feat: allow persist for registerMessageForModalEvents()
feat: allow persist for queueAndRegisterInteraction()
feat: make Utils visible for Java users
build!: changed org.jetbrains.kotlin:kotlin-script-util to compileOnly
build!: changed org.jetbrains.kotlin:kotlin-script-runtime to compileOnly
build!: changed org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable to compileOnly
build!: changed org.jetbrains.kotlin:kotlin-compiler-embeddable to compileOnly
build: add -Xjvm-default=all to generate defaults for java
build: fix annotation processing for spring properties
build: clean up annotation processing for spring properties
build!: remove org.apache.commons:commons-lang3 as it not used by Aluna
feat!: moved multiple classes to different classes
feat: implement AutoCompleteHandler
feat: add DiscordAutoCompleteHandlerInitializedEvent
feat: allow multi command definition for AutoCompleteHandler
feat: add support for isOwnerCommand
feat: add support for isAdministratorOnlyCommand
feat: properly hidde internal fields and functions for Java
feat: add overloads for Utils
feat!: moved DiscordContextMenu related classes
feat: implemented DiscordContextMenu, DiscordMessageContextMenu, DiscordUserContextMenu
feat: allow DiscordContextMenu to use same functions as DiscordCommand
chore: add Apache2 License
feat!: remove GraalSandbox and related code
feat: remove default AlunaEmote
feat!: Extract classes / enums from DiscordCommand