• 1.3.9 cf61d7589b

    1.3.9 Stable

    Govindas released this 2022-12-08 20:26:12 +00:00 | 2 commits to master since this release

    • Now shading PostgreSQL driver in skript-db jar, so it can be used after changing driver in config.yml
    • Added max-connection-lifetime option to config.yml, as some users had issues with it being not configurable
    • Re-added thread-pool-size option to config.yml, because some users had problems with too many threads, turns out it wasn't a good idea to make threads unlimited, by default it generates cpu count + 2 as thread pool size, if config option not found, it just uses 10 thread pool size. This option makes 2 thread pools of the same size, one for async execution, another for HikariCP connection pool. (I couldn't find a way to re-use thread pool for both uses)

    If you wish to make use of the new options and have a previous installation of skript-db, delete skript-db folder and restart the server

    Downloads
  • 1.3.8 eb89699ed5

    1.3.8 Stable

    Govindas released this 2022-12-08 18:06:34 +00:00 | 8 commits to master since this release

    • Updated shaded mariadb driver from 3.0.3 to 3.0.9
    • Fixed a bug in execute where result variables were not set if execute is the last line in current code trigger
    • Small code improvements from last release
    Downloads
  • 1.3.7 dbce1d33f9

    1.3.7 Stable

    Govindas released this 2022-12-08 16:07:41 +00:00 | 10 commits to master since this release

    • Fixed a bug where the jar was not being packaged correctly during manual compilation
    • Fixed a bug where sql query was still being async when the code is ran outside of main thread, this makes sql queries usable with skript-reflect async sections
    Downloads
  • 1.3.6 3466a04ec8

    Govindas released this 2022-03-21 15:30:51 +00:00 | 18 commits to master since this release

    Fixed a null pointer exception caused by 1.3.5 update

    Downloads
  • 1.3.5 0332ad9334

    Govindas released this 2022-03-20 10:16:35 +00:00 | 26 commits to master since this release

    • Fixed a bug where blob column types such as mediumblob or mediumtext were returned in variables as bytes or SerialBlob (both unreadable by basic Skript), now they get converted to String before putting them in a variable. This fix uses code that is Java 9+ only.

    • Now compiled with Java 11 instead of Java 8. 1.8 servers have forks that support higher versions of Java, but if you still absolutely need Java 8 support, please use older version of skript-db. Java 8 was released in 2014 and its active support will end at March 31, only security updates after.

    Downloads
  • 1.3.4 2a24a974ef

    Govindas released this 2022-01-28 13:08:47 +00:00 | 28 commits to master since this release

    Updated dependencies for security and performance improvement, expect better performance. I highly recommend updating to this version.

    Downloads
  • 1.3.3 8864ed4b30

    GovindasOM released this 2021-06-26 10:12:55 +00:00 | 31 commits to master since this release

    This update fixes expressions in queries on Skript 2.6, thanks to TPGamesNL again!

    Downloads
  • 1.3.2 4499355148

    GovindasOM released this 2021-06-24 12:21:06 +00:00 | 34 commits to master since this release

    this release should work on Skript 2.6 and Skript 2.5 at once, thanks to TPGamesNL for showing me where's the small mistake!

    Downloads
  • 1.3.1 6e1e3ce14b

    Some changes Stable

    GovindasOM released this 2021-05-12 09:20:13 +00:00 | 38 commits to master since this release

    Changelog

    • Replaced "synchronously execute" syntax with "quickly execute" as "synchronously execute" was too flawed to be useful.

    • "quickly execute" syntax allows you to get result from query without 50ms delay which normal "execute" has due to jumping between threads, but note that this syntax moves all next lines of code in current trigger to another thread to achieve this speed, which means if you put non thread safe code below it, your server may crash, but you can jump back to main thread by adding "wait a tick". This is ideal for GUIs/commands that only send text based on SQL query results, as it makes these things much faster.

    • Added Java 8 support

    • Changed API version to 1.13 in plugin.yml, this will keep plugin working on older versions while marking the plugin as a non-legacy plugin for 1.13+ servers

    • Various small fixes

    Tested on 1.12.2 Paper & Skript 2.5.1, Linux.

    There were some issues with wrong config in previous releases, if you still have errors related to config - please delete the config and let it regenerate.

    Downloads
  • 1.2.1 e3a6cc1fca

    GovindasOM released this 2021-02-09 12:25:35 +00:00 | 48 commits to master since this release

    • You can now configure what driver skript-db uses for SQL, different driver may have different behavior/performance

    • Now MariaDB driver is bundled together with skript-db, but not enabled by default. If you wish to use it, specify in skript-db config:

    sql-driver-class-name: "org.mariadb.jdbc.Driver"
    

    default driver works for MariaDB, but it may be better to use MariaDB's driver if you use MariaDB

    • Updated HikariCP dependency to 4.0.1
    Downloads