Skip to content

Commit

Permalink
Release 1.1.0-M1
Browse files Browse the repository at this point in the history
  • Loading branch information
A248 committed Dec 26, 2022
1 parent b6d5480 commit 04d951f
Show file tree
Hide file tree
Showing 28 changed files with 42 additions and 31 deletions.
2 changes: 1 addition & 1 deletion bans-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-bootstrap</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-core-addons/addon-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-core-addons</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>addon-integration</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-core-addons/command-checkpunish/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-core-addons</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<name>command-checkpunish</name>
Expand Down
2 changes: 1 addition & 1 deletion bans-core-addons/command-checkuser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-core-addons</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<name>command-checkuser</name>
Expand Down
2 changes: 1 addition & 1 deletion bans-core-addons/command-staffrollback/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-core-addons</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<name>command-staffrollback</name>
Expand Down
2 changes: 1 addition & 1 deletion bans-core-addons/exemption-luckperms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-core-addons</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<name>exemption-luckperms</name>
Expand Down
2 changes: 1 addition & 1 deletion bans-core-addons/exemption-vault/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-core-addons</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<name>exemption-vault</name>
Expand Down
2 changes: 1 addition & 1 deletion bans-core-addons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-core-addons</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-core-addons/warn-actions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-core-addons</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<name>warn-actions</name>
Expand Down
2 changes: 1 addition & 1 deletion bans-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-distribution/distributable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-distribution</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-distributable</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-distribution/download/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-distribution</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-download</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-distribution/executable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-distribution</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-executable</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-distribution</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-env</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env-bungee</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/bungeeplugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-env</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env-bungeeplugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/spigot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-env</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env-spigot</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/spigotplugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-env</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env-spigotplugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/sponge/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-env</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env-sponge</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/spongeplugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-env</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env-spongeplugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/velocity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-env</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env-velocity</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bans-env/velocityplugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>space.arim.libertybans</groupId>
<artifactId>bans-env</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
</parent>

<artifactId>bans-env-velocityplugin</artifactId>
Expand Down
13 changes: 12 additions & 1 deletion docs/Changes-in-LibertyBans-1.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* A selection order may filter by victim types, not just victims.
4 changes: 2 additions & 2 deletions docs/Upgrading-to-LibertyBans-1.1.0-from-1.0.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>space.arim.libertybans</groupId>
<artifactId>bans-parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0-M1</version>
<packaging>pom</packaging>

<name>LibertyBans</name>
Expand Down Expand Up @@ -56,7 +56,7 @@
<velocity.version>3.1.0</velocity.version>

<!-- Internal hash -->
<self-implementation.hash>5963fd70032d2b76d9fe07e8cbe5946cb490199f8310c5d61b0b8a8253039a6a5c73a2472e85b95f3c6f4bcad68e57d6ef8c509e5d2704ab8dc96c3153a25f99</self-implementation.hash>
<self-implementation.hash>1506efea2eec2b072a61d9d6aa7d9c7f199a1ee58401d84f5af2036416923b376812a5e93466ec229c36dbbfe774c1bf21bc378dd428f748e097387e95d80ccd</self-implementation.hash>

<!-- Plugin variables -->
<plugin.id>libertybans</plugin.id>
Expand Down

0 comments on commit 04d951f

Please sign in to comment.