Repository navigation
Update dependency de.eldoria.util:plugin to v3.7.0 - #264
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.2→3.7.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
eldoriarpg/eldo-util (de.eldoria.util:plugin)
v3.7.0: 3.7.0eldo-util 3.7.0
Plugins can now read the Lyna licence key their jar was handed out with, locale files reload without a restart, and update notices reach the right people by default.
Before updating
<plugin>.updates(for examplepickmeup.updates) instead ofeldoutilities.admin. Declare it in your plugin descriptor withdefault: op; admins who grantedeldoutilities.adminfor update notices grant the new node instead.Features
LynaLicense.of(plugin)reads the key Lyna or BuiltByBit wrote into the jar, fromlynaLicensein the build data (publishdata'sbuildData { lynaLicense() }). Its state says whether the jar carries a key, still holds the placeholder, or BuiltByBit could not get one. Debug reports show the state, never the key.Localizer#reload()reads the locale files again, so edited texts and new language files apply without a restart.JacksonConfig#excludeFromDebug(key)andConfigFiles.exclude(plugin, path)leave a configuration file out of the report entirely.Improvements
notifyUpdate(false)is set. The console always gets it.setUserLocale, players get the default language, like the console.Website:.Developer notes
de.eldoria.eldoutilities.debug.LynaLicense,DefaultProperties.LYNA_LICENSE,Localizer#reload(),JacksonConfig#excludeFromDebug,ConfigFiles.exclude.UpdateDataBuilderdefaults changed:notifyPermissionis<plugin>.updates,notifyUpdateistrue. Pass your own values to keep the old behaviour.v3.6.0: 3.6.0eldo-util 3.6.0
Commands finally let the right senders through, translations stay the way plugins wrote them, and the failsafe mode behaves when a plugin fails to start. eldo-util also has proper docs now, a full guide for plugin developers on docs.eldoria.de.
Before updating
<plugin>.debugoreldoutilities.debug. It used the plugin's full name with its version before.pluginno longer bringsconfiguration: plugins that use the legacyconfigurationmodule have to declare it themselves.Improvements
crossversion, the legacyconfiguration,conversationand the Spigot updater.Bugfixes
allowPlayer(),allowConsole()andallowCommandSender()locked out everyone: players and the console are accepted again.error.unkownPlayer,error.unkownWorld,error.invalidBoolen,error.tooLow) use the correct spelling. The old keys keep working, and locale files carry their translations over.MessageSenderBuilder.localizer(...)takes effect.completeOnlinePlayerscompletes only online players.build.datano longer crash.Developer notes
maven-releasesandmaven-snapshots); Maven Central stays at 2.2.0. Every push tomainpublishes a-SNAPSHOT.de.eldoria.util:eldo-utilnow contains every module, includingjackson-configurationandconversation, and its javadoc jar holds the full Javadoc.v3.5.5: 3.5.5eldo-util 3.5.5
Plugins built on eldo-util can now ship as Paper plugins with a
paper-plugin.yml: their commands are registered through Paper, and failsafe mode answers there too.Features
EldoPlugin.registerCommandregisters a command through Paper when the plugin's descriptor does not declare it, which is always the case for apaper-plugin.yml. Commands declared in aplugin.ymlwork as before.Developer notes
registerCommand(AdvancedCommand),registerCommand(String, AdvancedCommand)andregisterCommand(String, TabExecutor)pick the way by the descriptor. Call them fromonPluginEnable; Paper only accepts commands while the plugin enables.CommandMeta(CommandMetaBuilder.addAlias). With apaper-plugin.ymlthere are no aliases in the descriptor anymore. TheTabExecutoroverload registers without aliases.getCommandwhile they start; eldo-util no longer does for commands missing from the descriptor.v3.5.4: 3.5.4eldo-util 3.5.4
A small one: the permissions of the debug command and the update notice are finally spelled right.
Before updating
eldoutilitites.debugis noweldoutilities.debugandeldoutilitites.adminis noweldoutilities.admin. Grant the new names where you granted the old ones.Bugfixes
eldoutilities.prefix.Developer notes
DefaultDebugandUpdateDataBuilderdefault to the corrected nodes. Plugins passing their own permissions are not affected. No other API changes.v3.5.2: 3.5.2eldo-util 3.5.2
Patch release for
jackson-configuration.Fixes
InaccessibleObjectExceptionwhile applying config overrides.Upgrading
3.5.2. No API changes.dev.chojo:ocular:2.3.1themselves can drop the pin.v3.5.1: 3.5.1eldo-util 3.5.1
Patch release for
jackson-configuration. Every plugin that usesPluginBaseConfigurationshould update.Fixes
DEBUGlog level survives a restart:logLevel: DEBUGis mapped toLevel.CONFIGand saved asCONFIG. On the next start,CONFIGwas not recognised and the level fell back toINFO.CONFIGis now read back asCONFIG, so the setting persists.Upgrading
3.5.1. No API changes.INFOby the bug stay atINFO. SetlogLevel: DEBUGonce more where it is wanted.v3.5.0: 3.5.0eldo-util 3.5.0
Highlights
LynaUpdateData.builder(plugin)reads the product id fromlynaProductin the plugin'sbuild.data, so the id lives in one place.publishData { buildData { put("lynaProduct", "8") } }updateUrl(...), the Lyna update notice links to the product page, e.g.https://lyna.eldoria.de/products/8, instead of the plugin's website.v3.4.0: 3.4.0eldo-util 3.4.0
Highlights
download confirm).Updater#isMajorUpdate()tells whether the found update is a new major version. The Lyna updater compares the major versions; other updaters report none.v3.3.0: 3.3.0eldo-util 3.3.0
Highlights
v3.2.0: 3.2.0eldo-util 3.2.0
Highlights
Arguments#raw()returns the arguments exactly as typed, including flags and everything after the first flag-like word. The parsed arguments still end at the first flag; useraw()to read input that contains words such as-incairas plain text.v3.1.0: 3.1.0eldo-util 3.1.0
Highlights
getCharts(). Lyna draws them in a Charts tab of the debug report.de.eldoria.eldoutilities.debug.data.chart:SeriesChart(line, area, bar, stacked bar),ScatterChart,CategoryChart(bar, pie, donut),HeatmapChartandGaugeChart.ChartData.of(name, ChartType, data)sends loosely typed data for anyChartType.Notes
DebugReport.SnapshotandDebugReport.Sectiongained a component. Code constructing them directly needs updating.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.