From 04d951fcf4fc3b08629902af2614527933e92ba8 Mon Sep 17 00:00:00 2001 From: A248 Date: Sun, 25 Dec 2022 22:24:55 -0500 Subject: [PATCH] Release 1.1.0-M1 --- bans-api/pom.xml | 2 +- bans-bootstrap/pom.xml | 2 +- bans-core-addons/addon-integration/pom.xml | 2 +- bans-core-addons/command-checkpunish/pom.xml | 2 +- bans-core-addons/command-checkuser/pom.xml | 2 +- bans-core-addons/command-staffrollback/pom.xml | 2 +- bans-core-addons/exemption-luckperms/pom.xml | 2 +- bans-core-addons/exemption-vault/pom.xml | 2 +- bans-core-addons/pom.xml | 2 +- bans-core-addons/warn-actions/pom.xml | 2 +- bans-core/pom.xml | 2 +- bans-distribution/distributable/pom.xml | 2 +- bans-distribution/download/pom.xml | 2 +- bans-distribution/executable/pom.xml | 2 +- bans-distribution/pom.xml | 2 +- bans-env/bungee/pom.xml | 2 +- bans-env/bungeeplugin/pom.xml | 2 +- bans-env/pom.xml | 2 +- bans-env/spigot/pom.xml | 2 +- bans-env/spigotplugin/pom.xml | 2 +- bans-env/sponge/pom.xml | 2 +- bans-env/spongeplugin/pom.xml | 2 +- bans-env/velocity/pom.xml | 2 +- bans-env/velocityplugin/pom.xml | 2 +- docs/Changes-in-LibertyBans-1.1.0.md | 13 ++++++++++++- docs/Upgrading-to-LibertyBans-1.1.0-from-1.0.x.md | 4 ++-- docs/_sidebar.md | 4 ++-- pom.xml | 4 ++-- 28 files changed, 42 insertions(+), 31 deletions(-) diff --git a/bans-api/pom.xml b/bans-api/pom.xml index 89e63012d..51f60c8b5 100644 --- a/bans-api/pom.xml +++ b/bans-api/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-parent - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-api diff --git a/bans-bootstrap/pom.xml b/bans-bootstrap/pom.xml index d3b347c6e..1db62d2b2 100644 --- a/bans-bootstrap/pom.xml +++ b/bans-bootstrap/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-parent - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-bootstrap diff --git a/bans-core-addons/addon-integration/pom.xml b/bans-core-addons/addon-integration/pom.xml index 811f7085c..379bf8cfd 100644 --- a/bans-core-addons/addon-integration/pom.xml +++ b/bans-core-addons/addon-integration/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-core-addons - 1.1.0-SNAPSHOT + 1.1.0-M1 addon-integration diff --git a/bans-core-addons/command-checkpunish/pom.xml b/bans-core-addons/command-checkpunish/pom.xml index 98b23ff2d..000ccb1a7 100644 --- a/bans-core-addons/command-checkpunish/pom.xml +++ b/bans-core-addons/command-checkpunish/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-core-addons - 1.1.0-SNAPSHOT + 1.1.0-M1 command-checkpunish diff --git a/bans-core-addons/command-checkuser/pom.xml b/bans-core-addons/command-checkuser/pom.xml index 53789b8a9..1b53b116b 100644 --- a/bans-core-addons/command-checkuser/pom.xml +++ b/bans-core-addons/command-checkuser/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-core-addons - 1.1.0-SNAPSHOT + 1.1.0-M1 command-checkuser diff --git a/bans-core-addons/command-staffrollback/pom.xml b/bans-core-addons/command-staffrollback/pom.xml index 49e560fab..9e8e27b1d 100644 --- a/bans-core-addons/command-staffrollback/pom.xml +++ b/bans-core-addons/command-staffrollback/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-core-addons - 1.1.0-SNAPSHOT + 1.1.0-M1 command-staffrollback diff --git a/bans-core-addons/exemption-luckperms/pom.xml b/bans-core-addons/exemption-luckperms/pom.xml index ea91175ae..7766c4ab7 100644 --- a/bans-core-addons/exemption-luckperms/pom.xml +++ b/bans-core-addons/exemption-luckperms/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-core-addons - 1.1.0-SNAPSHOT + 1.1.0-M1 exemption-luckperms diff --git a/bans-core-addons/exemption-vault/pom.xml b/bans-core-addons/exemption-vault/pom.xml index 55119ee7f..c899113a6 100644 --- a/bans-core-addons/exemption-vault/pom.xml +++ b/bans-core-addons/exemption-vault/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-core-addons - 1.1.0-SNAPSHOT + 1.1.0-M1 exemption-vault diff --git a/bans-core-addons/pom.xml b/bans-core-addons/pom.xml index a4ac6559a..6e0698c07 100644 --- a/bans-core-addons/pom.xml +++ b/bans-core-addons/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-parent - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-core-addons diff --git a/bans-core-addons/warn-actions/pom.xml b/bans-core-addons/warn-actions/pom.xml index 306b4a9b4..eb39820ba 100644 --- a/bans-core-addons/warn-actions/pom.xml +++ b/bans-core-addons/warn-actions/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-core-addons - 1.1.0-SNAPSHOT + 1.1.0-M1 warn-actions diff --git a/bans-core/pom.xml b/bans-core/pom.xml index 6747edb4d..0a3053289 100644 --- a/bans-core/pom.xml +++ b/bans-core/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-parent - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-core diff --git a/bans-distribution/distributable/pom.xml b/bans-distribution/distributable/pom.xml index 28c65fbb3..bfef8ebe0 100644 --- a/bans-distribution/distributable/pom.xml +++ b/bans-distribution/distributable/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-distribution - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-distributable diff --git a/bans-distribution/download/pom.xml b/bans-distribution/download/pom.xml index ea04b436d..b14434a7a 100644 --- a/bans-distribution/download/pom.xml +++ b/bans-distribution/download/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-distribution - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-download diff --git a/bans-distribution/executable/pom.xml b/bans-distribution/executable/pom.xml index ee43ea622..d3b414dd6 100644 --- a/bans-distribution/executable/pom.xml +++ b/bans-distribution/executable/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-distribution - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-executable diff --git a/bans-distribution/pom.xml b/bans-distribution/pom.xml index 193b546d3..63f8ece54 100644 --- a/bans-distribution/pom.xml +++ b/bans-distribution/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-parent - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-distribution diff --git a/bans-env/bungee/pom.xml b/bans-env/bungee/pom.xml index 084c1bcaf..bdae3642d 100644 --- a/bans-env/bungee/pom.xml +++ b/bans-env/bungee/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-env - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env-bungee diff --git a/bans-env/bungeeplugin/pom.xml b/bans-env/bungeeplugin/pom.xml index 8d355f0cb..f808bd946 100644 --- a/bans-env/bungeeplugin/pom.xml +++ b/bans-env/bungeeplugin/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-env - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env-bungeeplugin diff --git a/bans-env/pom.xml b/bans-env/pom.xml index efb361495..d4fa2d606 100644 --- a/bans-env/pom.xml +++ b/bans-env/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-parent - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env diff --git a/bans-env/spigot/pom.xml b/bans-env/spigot/pom.xml index 8595cc536..d0f9dfc91 100644 --- a/bans-env/spigot/pom.xml +++ b/bans-env/spigot/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-env - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env-spigot diff --git a/bans-env/spigotplugin/pom.xml b/bans-env/spigotplugin/pom.xml index f12140e6f..be734fb5c 100644 --- a/bans-env/spigotplugin/pom.xml +++ b/bans-env/spigotplugin/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-env - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env-spigotplugin diff --git a/bans-env/sponge/pom.xml b/bans-env/sponge/pom.xml index 62c0f260e..36554e203 100644 --- a/bans-env/sponge/pom.xml +++ b/bans-env/sponge/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-env - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env-sponge diff --git a/bans-env/spongeplugin/pom.xml b/bans-env/spongeplugin/pom.xml index 0fa5dd52f..9a4a70429 100644 --- a/bans-env/spongeplugin/pom.xml +++ b/bans-env/spongeplugin/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-env - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env-spongeplugin diff --git a/bans-env/velocity/pom.xml b/bans-env/velocity/pom.xml index c191e9cd7..c6a4ff330 100644 --- a/bans-env/velocity/pom.xml +++ b/bans-env/velocity/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-env - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env-velocity diff --git a/bans-env/velocityplugin/pom.xml b/bans-env/velocityplugin/pom.xml index 2d1369820..7743a9a2d 100644 --- a/bans-env/velocityplugin/pom.xml +++ b/bans-env/velocityplugin/pom.xml @@ -6,7 +6,7 @@ space.arim.libertybans bans-env - 1.1.0-SNAPSHOT + 1.1.0-M1 bans-env-velocityplugin diff --git a/docs/Changes-in-LibertyBans-1.1.0.md b/docs/Changes-in-LibertyBans-1.1.0.md index 46c4cd23f..65e03c63b 100644 --- a/docs/Changes-in-LibertyBans-1.1.0.md +++ b/docs/Changes-in-LibertyBans-1.1.0.md @@ -6,11 +6,22 @@ * Automatic detection of Geyser/Floodgate and determination of the Bedrock name prefix. * The `GEYSER` server-type option has been removed. This server type was inflexible; it failed to distinguish between online and offline Geyser-utilizing servers. It is obsolete due to automatic Floodgate detection. * The name prefix is queried from the Floodgate API at startup. +* Before this release, `STRICT` address-strictness enforced user punishments too stringently - as if they were IP-based punishments - which was contrary to the documentation. + * Because it is impossible to retroactively change the behavior of `STRICT` without breaking existing setups, a new address-strictness setting `STERN` is added. `STERN` behaves the way `STRICT` was previously documented to. + * The `STRICT` documentation has updated to reflect its full behavior. + * See the wiki page for more information. +* Added the exemption feature. To support exemption flexibly, different exemption backends are offered: + * The `exemption-luckperms` addon depends on LuckPerms and uses LuckPerms' group weights to define the exemption hierarchy. + * The `exemption-vault` addon depends on Vault and works only on Bukkit. It uses tiered permissions to define exemption levels. + * If their dependencies are not met, or if they are installed on the wrong platform, these addons will not load. + * See the wiki for documentation on this feature. * In the rare case that multiple mutes are issued very quickly, the `warn-actions` addon will make sure warns do not "overlap" one another. There were no reports of this happening, but it was a theoretical possibility. The solution works by leveraging the newly-added `seekBefore` API. +* Snapshot versions are now differentiated according to the build timestamp. +* The database-related thread pool is now fully shut down and its termination awaited before the connection pool is closed. This prevents a harmless exception which occurred when shutdown coincided with the periodic synchronization task. ### API Changes * Expand selection capabilities: * `SelectionOrder#countNumberOfPunishments` yields the pure number of punishments, which is more efficient than retrieving the punishments themselves from the database. * `SelectionOrderBuilder#seekBefore` allows retrieving punishments before a specified time / ID. It is the counterpart of the existing method `SelectionOrderBuilder#seekAfter`. - * A selection order may filter by victim types, not just victims. \ No newline at end of file + * A selection order may filter by victim types, not just victims. diff --git a/docs/Upgrading-to-LibertyBans-1.1.0-from-1.0.x.md b/docs/Upgrading-to-LibertyBans-1.1.0-from-1.0.x.md index 702872791..363390b87 100644 --- a/docs/Upgrading-to-LibertyBans-1.1.0-from-1.0.x.md +++ b/docs/Upgrading-to-LibertyBans-1.1.0-from-1.0.x.md @@ -7,11 +7,11 @@ Java 17 is required for LibertyBans 1.1.0. If you need assistance upgrading to Java 17, we are happy to help. Please ask, but be patient. -## MariaDB Users +## For MariaDB Users LibertyBans now requires at least MariaDB 10.6. You are responsible for updating your database server. -## Floodgate Users +## For Floodgate Users LibertyBans now detects Geyser/Floodgate automatically. You no longer need to manually configure the Geyser name prefix in LibertyBans' config.yml. diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 4a21065cc..1d3780eb3 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -12,8 +12,8 @@ * [Addons](Addons) * Versioning and Upgrades * [Versioning and Support Policy](Versioning-and-Support-Policies) - * [Upgrading to 1.0.0 from 0.8.x](Upgrading-to-LibertyBans-1.0.0-from-0.8.x) - * [Full changelog for 1.0.0](Changes-in-LibertyBans-1.0.0) + * [Upgrading 1.0.x -> 1.1.0](Upgrading-to-LibertyBans-1.1.0-from-1.0.x.md) + [Full changelog for 1.1.0](Changes-in-LibertyBans-1.1.0.md) + * [Upgrading 0.8.x -> 1.0.0](Upgrading-to-LibertyBans-1.0.0-from-0.8.x) + [Full changelog for 1.0.0](Changes-in-LibertyBans-1.0.0) * For Developers * [Developer API](Developer-API) * [The Database Schema](The-Database-Schema) diff --git a/pom.xml b/pom.xml index 79fc4172a..b3824db6d 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ space.arim.libertybans bans-parent - 1.1.0-SNAPSHOT + 1.1.0-M1 pom LibertyBans @@ -56,7 +56,7 @@ 3.1.0 - 5963fd70032d2b76d9fe07e8cbe5946cb490199f8310c5d61b0b8a8253039a6a5c73a2472e85b95f3c6f4bcad68e57d6ef8c509e5d2704ab8dc96c3153a25f99 + 1506efea2eec2b072a61d9d6aa7d9c7f199a1ee58401d84f5af2036416923b376812a5e93466ec229c36dbbfe774c1bf21bc378dd428f748e097387e95d80ccd libertybans