Releases: srnyx/lazy-library
Releases · srnyx/lazy-library
3.2.0: LazyEmbed improvements & more
- Use common tools for workflows
- Improve
LazyUtilities#sortChoicesFuzzy(...)
- Improve
LazyEmbed#invalidArguments(...)
- Removed
#invalidArguments(String, Object...)
, was useless and caused conflict #invalidArguments(Object...)
now allows null keys/values
- Removed
- Add
LazyEmbed#setTimestamp(Long)
- Make
LazyUtilities#sortChoicesFuzzy(...)
case insensitive - Add
LazyLibrary#stopBot()
- Improve
LazyEmbed
replacement processing - Use Optionals
- Add
LazyEmbed#setTimestamp(Date)
- Fix
new LazyEmbed(LazyEmbed)
- Add
LazyEmbed.Factory
- Update JDA
- JDA: 5.0.0-beta.21 -> 5.1.0
- Initialize logger with temporary one
- Update Java in
jitpack.yml
- Add
LazySettings#jdaBuilder
& removeLazySettings#disabledCacheFlags
- Add emojis to static embeds
- Add
LazyEmbed#unexepectedError(String)
- Update dependencies
- PostgreSQL: 42.7.3 -> 42.7.4
- HikariCP: 5.1.0 -> 6.0.0
- Logback Classic: 1.5.3 -> 1.5.8
- Gradle: 8.4 -> 8.10.2
- Rename guild member boost events
- Add more field methods to
LazyEmbed
- Update dependencies
- Gradle Galaxy: 1.1.2 -> 1.3.2
- Shadow: 8.1.1 -> 8.3.3
- Java Utilities: a71551bc2d -> 2.0.0
- Add field getter methods to
LazyEmbed
#getField(String)
#getFieldValue(String)
- Update Java in workflows
- Bump version (3.1.0 -> 3.2.0)
3.1.0: Remove Magic Mongo & more
- Remove example bot
- It was so useless and just made the project structure confusing
- Add
LazyEmbed#getFields()
- Remove Magic Mongo
- It should be declared per-bot instead of forcing it for every bot (not all bots need it)
- Add more pre-built static embeds
- Bump version (3.1.0)
- Replace
getSettings()
withsetSettings()
Full Changelog: 3.0.1...3.1.0
3.0.1: Establish Mongo connection before BotCommands
3.0.0: Use Magic Mongo & more
- Condense Mongo connection information
- Add pre-built/static embed methods
- Use Magic Mongo
- Added copying for
LazyEmbed
- Update Gradle
- Update BotCommands
- 2.10.2 -> 2.10.3
- Update dependencies
- JDA: 5.0.0-beta.20 -> 5.0.0-beta.21
- magic-mongo: 1.0.0 -> 1.1.0
- postgresql: 42.6.0 -> 42.7.3
- HikariCP: 5.0.1 -> 5.1.0
- logback-classic: 1.4.11 -> 1.5.3
- Bump version (3.0.0)
- Add overriding warnings to custom even listeners (event*)
Full Changelog: 2.1.0...3.0.0
2.1.0: Remove JDA implementation
- Don't implement JDA (and downgrade)
- JDA is now only compiled in the library, so you'll have to implement it in your own project (should've been like this before, I thought it was)
- I also downgraded JDA from 5.0.0-beta.13 to 5.0.0-apha.21 to allow for more support across JDA versions
- Added Javadocs to
LazyCollection
- Bump version (2.1.0)
Full Changelog: 2.0.0...2.1.0
2.0.0: New settings, library, and Mongo support
- Add
LazyUtilities#userHasChannelPermission(Interaction, Permission...)
- Fix example bot building
- Make
LazyEmbed#embed
public- Also renamed it to
builder
- Also renamed it to
- Add
LazyUtilities#getDefaultPaginator()
- Make
AnnoyingFile#file
public - Fix empty file creation
- Added more methods to add fields to
LazyEmbed
s - Simplify
LazyEmbed(MessageEmbed)
- Fix incorrect Javadoc
- Allow
null
forLazySettings(String)
- Add
LazyEmbed(String)
for JSON embeds - Update BotCommands
- Fix
LazyEmbed#DEFAULTS
- Fix component manager's
RuntimeException
- Use DkimGradle
- Fix embed defaults always overriding
- Adjust settings logic
- Make
settings
public - Add auto-dependency,
/servers
example, and settings methods - Switch from
api
toimplementation
- Add
LazyEmbed#setFooter(String)
- Update dependencies
- Fix default logger name
- Move
LazyEmbed
defaults toLazySettings
- Only require library when building a
LazyEmbed
- Add missing Javadocs for example classes
- Using Java Utilities
- Add start/stop boost events
- Remove
LazyListener#getBot()
- It was useless...
- Added Mongo support (1.1.0)
- Bump version (2.0.0)
- Didn't realize there were so many changes since 1.0.1 so gonna update to 2.0.0 instead of 1.1.0
Full Changelog: 1.0.1...2.0.0
1.0.1: Improve LazyEmbed & more
- Fix
LazyListener
bot instance - Improve
LazyEmbed
withDEFAULTS
- Make settings file accessible
- Change default settings file name
settings
->config
- Un-static logger and settings
LazyLibrary#LOGGER
andLazyLibrary#SETTINGS
are no longer static because they shouldn't have ever been...
- Update and rename gradle.yml to build.yml
- Update
Build [PR]
action- Changed Java version from 17 to 19
- Changed artifact name from Cobalt to Lazy Library
- Fix build action artifact paths
- Bump version (1.0.1)
Full Changelog: 1.0.0...1.0.1