commit 0847e5b6fe5d4c2341c9e15a693e32d8a120339333d597180cd44afa38433057 Author: Anton Shvetz Date: Wed Jul 31 12:53:54 2024 +0000 - Update to v3.46.0.1 * Features ~ add riscv64 binaries (a4a5d48) * Fixes ~ jdbc + generated columns with stored in SQLite are not marked as generated (429bbe4), closes #1132 ~ unscoped + never return arch as aarch64 when running in a 32-bit JVM (0c3db0b), closes #1127 + throw java.lang.ExceptionInInitializerError when calling SQLiteConfig.Pragma.values() (ec0a524), closes #1123 * Build ~ deps + bump org.apache.maven.plugins:maven-javadoc-plugin (c375a40) + bump org.graalvm.sdk:nativeimage from 24.0.1 to 24.0.2 (d50d5e6) + bump org.codehaus.mojo:versions-maven-plugin (14e07d4) + bump surefire.version from 3.3.0 to 3.3.1 (edac56b) + bump org.codehaus.mojo:versions-maven-plugin (f411591) + bump org.jreleaser:jreleaser-maven-plugin (2376d03) + bump org.apache.maven.plugins:maven-jar-plugin (d5394ea) + bump andymckay/cancel-action from 0.4 to 0.5 (99aa8d9) + bump surefire.version from 3.2.5 to 3.3.0 (b64f8fb) + bump org.apache.maven.plugins:maven-help-plugin (235143b) + bump org.apache.maven.plugins:maven-javadoc-plugin (50ef887) + bump org.apache.maven.plugins:maven-enforcer-plugin (efd5449) OBS-URL: https://build.opensuse.org/package/show/Java:packages/sqlite-jdbc?expand=0&rev=50 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/sqlite-amalgamation-3460000.zip b/sqlite-amalgamation-3460000.zip new file mode 100644 index 0000000..153c0d6 --- /dev/null +++ b/sqlite-amalgamation-3460000.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:712a7d09d2a22652fb06a49af516e051979a3984adb067da86760e60ed51a7f5 +size 2763740 diff --git a/sqlite-jdbc-3.46.0.0.tar.gz b/sqlite-jdbc-3.46.0.0.tar.gz new file mode 100644 index 0000000..2650a8f --- /dev/null +++ b/sqlite-jdbc-3.46.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56420b364f228f9145a720e2cc27c2b587b4e7aa077e8086132a13de52338659 +size 17573873 diff --git a/sqlite-jdbc-3.46.0.1.tar.gz b/sqlite-jdbc-3.46.0.1.tar.gz new file mode 100644 index 0000000..af86788 --- /dev/null +++ b/sqlite-jdbc-3.46.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9a25366a5b421211bef474393fed4df2499a9710eecc13d4e72823767e74056 +size 18074703 diff --git a/sqlite-jdbc.changes b/sqlite-jdbc.changes new file mode 100644 index 0000000..f5c4f37 --- /dev/null +++ b/sqlite-jdbc.changes @@ -0,0 +1,830 @@ +------------------------------------------------------------------- +Wed Jul 31 12:32:25 UTC 2024 - Anton Shvetz + +- Update to v3.46.0.1 + * Features + ~ add riscv64 binaries (a4a5d48) + * Fixes + ~ jdbc + + generated columns with stored in SQLite are not marked as + generated (429bbe4), closes #1132 + ~ unscoped + + never return arch as aarch64 when running in a 32-bit JVM + (0c3db0b), closes #1127 + + throw java.lang.ExceptionInInitializerError when calling + SQLiteConfig.Pragma.values() (ec0a524), closes #1123 + * Build + ~ deps + + bump org.apache.maven.plugins:maven-javadoc-plugin + (c375a40) + + bump org.graalvm.sdk:nativeimage from 24.0.1 to 24.0.2 + (d50d5e6) + + bump org.codehaus.mojo:versions-maven-plugin (14e07d4) + + bump surefire.version from 3.3.0 to 3.3.1 (edac56b) + + bump org.codehaus.mojo:versions-maven-plugin (f411591) + + bump org.jreleaser:jreleaser-maven-plugin (2376d03) + + bump org.apache.maven.plugins:maven-jar-plugin (d5394ea) + + bump andymckay/cancel-action from 0.4 to 0.5 (99aa8d9) + + bump surefire.version from 3.2.5 to 3.3.0 (b64f8fb) + + bump org.apache.maven.plugins:maven-help-plugin (235143b) + + bump org.apache.maven.plugins:maven-javadoc-plugin + (50ef887) + + bump org.apache.maven.plugins:maven-enforcer-plugin + (efd5449) + + bump org.sonatype.plugins:nexus-staging-maven-plugin + (dbbf4e0) + ~ deps-dev + + bump org.assertj:assertj-core from 3.26.0 to 3.26.3 + (7293f78) + + bump org.junit.jupiter:junit-jupiter (b80a294) + + bump org.assertj:assertj-core from 3.25.3 to 3.26.0 + (6188b48) + * Documentation + ~ add riscv64 in the supported OS table (2b72c94) + ~ mention temporary databases (0035ec4) + +------------------------------------------------------------------- +Mon May 27 09:31:22 UTC 2024 - Anton Shvetz + +- Update to v3.46.0.0 + * Features + ~ sqlite + + upgrade to sqlite 3.46.0 (dfa37a1) + * Changes + ~ fix typos in comment (662fb09) + * Build + ~ deps + + bump org.jreleaser:jreleaser-maven-plugin (2ae0884) + + bump org.apache.maven.plugins:maven-gpg-plugin (88fa86f) + + bump org.apache.maven.plugins:maven-jar-plugin (7f3fd87) + + bump org.graalvm.sdk:nativeimage from 24.0.0 to 24.0.1 + (d9fd689) + + bump com.tngtech.archunit:archunit-junit5 from 1.2.1 to + 1.3.0 (9e4a9df) + ~ deps-dev + + bump org.mockito:mockito-core from 5.11.0 to 5.12.0 (ce10957) + ~ unscoped + + fix failing multi-arch (db057a8) + +------------------------------------------------------------------- +Tue Apr 16 06:49:32 UTC 2024 - Anton Shvetz + +- Update to v3.45.3.0 + * Features + ~ sqlite + + upgrade to sqlite 3.45.3 (f271cf9) + * Build + ~ deps + + bump org.graalvm.sdk:nativeimage from 23.1.2 to 24.0.0 + (09ca844) + + bump org.apache.maven.plugins:maven-jar-plugin (12316ca) + + bump org.apache.maven.plugins:maven-gpg-plugin (3420859) + + bump org.apache.maven.plugins:maven-source-plugin (14f27ec) + + bump org.apache.maven.plugins:maven-gpg-plugin (139e914) + + bump org.apache.maven.plugins:maven-compiler-plugin + (607d48c) + + bump org.apache.maven.plugins:maven-gpg-plugin (c556f08) + +------------------------------------------------------------------- +Wed Mar 13 09:11:38 UTC 2024 - Anton Shvetz + +- Update to v3.45.2.0 + * Features + ~ sqlite + + upgrade to sqlite 3.45.2 (c56fbf1) + * Perf + ~ CoreStatement uses optimize regex for generated key matches + (95b8efa) + * Build + ~ deps + + bump org.apache.maven.plugins:maven-gpg-plugin (3b83760) + + bump org.jreleaser:jreleaser-maven-plugin (9ccd1e7) + + bump org.graalvm.buildtools:native-maven-plugin (eca45e5) + + bump andymckay/cancel-action from 0.3 to 0.4 (b11f8be) + + bump org.graalvm.buildtools:native-maven-plugin (cdad828) + ~ deps-dev + + bump org.mockito:mockito-core from 5.10.0 to 5.11.0 + (07b38af) + + bump org.junit.jupiter:junit-jupiter (6c2e966) + + bump org.assertj:assertj-core from 3.25.2 to 3.25.3 + (daca050) + ~ unscoped + + use BC signer (c84d122) + * Documentation + ~ add gpg key to README (18c0bd4), closes #1049 + ~ adding try-with-resources to examples and demo. related #938 + (9a072d3), closes #938 + +------------------------------------------------------------------- +Wed Jan 31 03:55:26 UTC 2024 - Anton Shvetz + +- Update to v3.45.1.0 + * Features + ~ sqlite + + upgrade to sqlite 3.45.1 (8a47fb0) + * Fixes + ~ jdbc + + support CTE and REPLACE syntax with + Statement#getGeneratedKeys (2cf1b26) + * Build + ~ deps + + bump org.graalvm.sdk:nativeimage from 23.1.1 to 23.1.2 + (a84e560) + ~ deps-dev + + bump org.assertj:assertj-core from 3.25.1 to 3.25.2 + (2e336d9) + + bump org.mockito:mockito-core from 5.9.0 to 5.10.0 + (0eb6cb8) + +------------------------------------------------------------------- +Fri Jan 19 04:03:52 UTC 2024 - Anton Shvetz + +- Update to v3.45.0.0 + * Features + ~ jdbc + + reintroduce improved support for Statement#getGeneratedKeys + (f7d49f6) + ~ sqlite + + upgrade to sqlite 3.45.0 (961e6c1) + * Build + ~ build-native + + migrate upload/download to v4 syntax (02d0371) + ~ deps + + bump surefire.version from 3.2.3 to 3.2.5 (e37b720) + + bump org.apache.maven.plugins:maven-compiler-plugin + (5520295) + + bump org.jreleaser:jreleaser-maven-plugin (1cb9462) + + bump actions/download-artifact from 3 to 4 (47c2b52) + + bump org.apache.maven.plugins:maven-compiler-plugin + (f094bff) + + bump surefire.version from 3.2.2 to 3.2.3 (585d0d0) + + bump actions/upload-artifact from 3 to 4 (d58b364) + + bump org.apache.maven.plugins:maven-javadoc-plugin + (1f57928) + + bump actions/setup-java from 3 to 4 (0874939) + ~ deps-dev + + bump org.mockito:mockito-core from 5.8.0 to 5.9.0 (93cd00c) + + bump org.assertj:assertj-core from 3.24.2 to 3.25.1 + (688fa0c) + + bump org.mockito:mockito-core from 5.7.0 to 5.8.0 (7d44a45) + + bump ch.qos.logback:logback-classic (16216ac) + + bump com.tngtech.archunit:archunit-junit5 (e8d6c7a) + ~ unscoped + + add 2024 folder for amalgamation download (2da5480) + +------------------------------------------------------------------- +Mon Nov 27 16:41:54 UTC 2023 - Anton Shvetz + +- Update to v3.44.1.0 + * Features + ~ sqlite + + upgrade to sqlite 3.44.1 (1eef6a5) + * Perf + ~ sqlite + + disable pagecache overflow stat (31b7659) + * Build + ~ deps + + bump Org.codehaus.mojo:versions-maven-plugin (baf1295) + + Bump org.jreleaser:jreleaser-maven-plugin (849d6eb) + ~ deps-dev + + bump org.junit-pioneer:junit-pioneer (f3333e7) + + bump org.mockito:mockito-core from 5.6.0 to 5.7.0 (8cd1fa1) + +------------------------------------------------------------------- +Mon Nov 13 01:44:27 UTC 2023 - Anton Shvetz + +- Update to v3.44.0.0 + * Features + ~ sqlite + + support serialize/deserialize sqlite APis (6823954) + + upgrade to sqlite 3.44.0 (fd222f3) + * Build + ~ deps + + bump surefire.version from 3.2.1 to 3.2.2 (4232352) + + bump org.apache.maven.plugins:maven-javadoc-plugin + (64b8ced) + ~ deps-dev + + bump com.tngtech.archunit:archunit-junit5 (3094fb0) + + bump org.junit.jupiter:junit-jupiter (9500426) + + downgrade logback to 1.2.12 (2d76795) + +------------------------------------------------------------------- +Wed Nov 1 05:52:08 UTC 2023 - Anton Shvetz + +- Update to v3.43.2.2 + * Fixes + ~ avoid double precision in getBigDecimal (8880c33), closes + #1002 + * Build + ~ deps + + bump org.graalvm.sdk:nativeimage from 23.1.0 to 23.1.1 + (4dba62c) + + bump surefire.version from 3.1.2 to 3.2.1 (958b4f6) + + bump org.graalvm.buildtools:native-maven-plugin (98093e1) + ~ jreleaser + + add owner into config (a106632) + ~ unscoped + + add build step necessary for jreleaser when not pushing to + maven central (36116ca) + +------------------------------------------------------------------- +Thu Oct 19 09:37:32 UTC 2023 - Anton Shvetz + +- Update to v3.43.2.1 + * Fixes + ~ downgrade SLF4J to 1.7 (874a926), closes #990 + * Documentation + ~ update Sample in README (459fb04), closes #991 +- Update to v3.43.2.0 + * Features + ~ upgrade to sqlite 3.43.2 (a434c78) + ~ add slf44-api to replace use of standard streams (21c77a4), + closes #802 + ~ upgrade to sqlite 3.43.1 (7b40a6a) + * Fixes + ~ native-image + + do not initialize logging framework at build-time (d8f762c) + ~ unscoped + + add missing module requirement for slf4j (32082c0) + + add SONAME to Android binaries (f6a3aef), closes #960 + * Perf + ~ remove use of DriverManager.println (75ce563), closes #984 + * Changes + ~ spotless apply (77339ed) + ~ replace generic exceptions (6d563d4) + * Build + ~ deps + + bump org.codehaus.mojo:versions-maven-plugin (ebdda17) + + bump org.apache.maven.plugins:maven-javadoc-plugin + (5e37532) + + bump org.apache.maven.plugins:maven-enforcer-plugin + (b3188dc) + + bump actions/checkout from 3 to 4 (3eaabec) + + bump org.jreleaser:jreleaser-maven-plugin (07d420d) + ~ deps-dev + + bump org.mockito:mockito-core from 5.5.0 to 5.6.0 (54aa6ab) + + bump org.junit-pioneer:junit-pioneer (b363636) + ~ makefile + + add slf4j dependency (1663cfe) + ~ unscoped + + update native-image testing to GraalVM 21 (1229f00) + + fix native configuration for slf4j (89dbda1) + + MultipleClassLoaderTest fails on Windows (d4f4dc2) +- Do not package native libraries for Windows and Android into jar + +------------------------------------------------------------------- +Sat Sep 9 14:50:34 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + +------------------------------------------------------------------- +Thu Aug 31 06:33:17 UTC 2023 - Anton Shvetz + +- Update to v3.43.0.0 + * Features + ~ upgrade to sqlite 3.43.0 (6e02ee7) + * Fixes + ~ jdbc + + remove support for Statement#getGeneratedKeys: + getGeneratedKeys is not supported anymore (712a8a5), closes + #329 + * Changes + ~ remove the deprecated SQLiteJDBCLoader isPureJavaMode and + getPureJavaFlag: methods are removed (e52c44f) + ~ remove the deprecated TransactionMode.DEFFERED: no more + backward compatibility when using the deprecated enum value + (8967d75) + * Build + ~ deps + + bump org.graalvm.buildtools:native-maven-plugin (a89a42a) + + bump org.apache.maven.plugins:maven-enforcer-plugin + (5488061) + ~ deps-dev + + bump org.mockito:mockito-core from 5.4.0 to 5.5.0 (fffd224) + ~ unscoped + + remove conditions over native or java mode (c4ddd1e) +- Update to v3.42.0.1 + * Fixes + ~ jdbc + + PreparedStatement#executeQuery should not return null + (1eacd68), closes #914 + + add fallback to LocalDateTime.parse in ResultSet#getObject + (d76c933) + + ResultSet#getObject could throw a NPE (ea165fa), closes + #915 + + check parameters presence in getParameterType (76b560d), + closes #911 + ~ native-image + + make sure the parent directory exists before exporting + (bfa7510) + ~ unscoped + + use dylib extension instead of jnilib for MacOS library + names (78defd0) + + correct the exception message when backup fails (3ffef4d) + * Changes + ~ fix typos (8e999fe) + + Build + ~ deps + + bump org.graalvm.buildtools:native-maven-plugin (168c998) + + bump jreleaser-maven-plugin from 1.6.0 to 1.7.0 (0bccb7c) + + bump native-maven-plugin from 0.9.22 to 0.9.23 (3be5102) + + bump surefire.version from 3.1.0 to 3.1.2 (b2f968f) + + bump versions-maven-plugin from 2.15.0 to 2.16.0 (6c3430d) + + bump maven-source-plugin from 3.2.1 to 3.3.0 (774c104) + + bump maven-bundle-plugin from 5.1.8 to 5.1.9 (e41c5e6) + ~ deps-dev + + bump ch.qos.logback:logback-classic (d370eea) + + bump com.tngtech.archunit:archunit-junit5 (30b71aa) + + bump org.junit.jupiter:junit-jupiter (14e5eb8) + + bump ch.qos.logback:logback-classic from 1.4.8 to 1.4.9 + (85f8319) + + bump mockito-core from 5.3.1 to 5.4.0 (3d28792) + + bump logback-classic from 1.4.7 to 1.4.8 (1738823) + + unscoped + + update to GraalVM 23 (840ce0e) + + fix version update in README (3054957) + * Documentation + ~ add project status in README (cae28b1) + +------------------------------------------------------------------- +Mon May 22 12:15:50 UTC 2023 - Anton Shvetz + +- Update to v3.42.0.0 + * Features + ~ sqlite + + update to sqlite 3.42.0 (9a3e755) + * Build + ~ fix version update in README (6419a81) + +------------------------------------------------------------------- +Fri May 19 12:59:49 UTC 2023 - Anton Shvetz + +- Update to v3.41.2.2 + * Features + ~ jdbc + + add support for LocalDate, LocalTime, LocalDateTime in + ResultSet#getObject (1d2ff63) + + implement PreparedStatement getParameterType and + getParameterTypeName (bdb3d8a) + ~ native-image + + resource optimization and configuration to export native + lib (6f42683) + * Fixes + ~ use random UUID for external resources (edb4b8a) + * Build + ~ deps + + bump native-maven-plugin from 0.9.21 to 0.9.22 (48e8ebe) + + bump graal-sdk from 22.3.0 to 22.3.2 (128d9b2) + + bump surefire.version from 3.0.0 to 3.1.0 (658e907) + + bump maven-gpg-plugin from 3.0.1 to 3.1.0 (f149f9f) + + bump jreleaser-maven-plugin from 1.5.1 to 1.6.0 (d028636) + + bump native-maven-plugin from 0.9.20 to 0.9.21 (08b5e35) + + bump maven-enforcer-plugin from 3.2.1 to 3.3.0 (3b3af82) + + bump maven-compiler-plugin from 3.10.1 to 3.11.0 (52b7701) + + bump versions-maven-plugin from 2.13.0 to 2.15.0 (a0e0191) + + bump maven-help-plugin from 3.3.0 to 3.4.0 (739a27c) + ~ deps-dev + + bump junit-jupiter from 5.9.2 to 5.9.3 (e64e348) + + bump mockito-core from 5.3.0 to 5.3.1 (6e94e6b) + + bump logback-classic from 1.4.6 to 1.4.7 (5a4f485) + + bump mockito-core from 5.2.0 to 5.3.0 (d0adb0f) + + bump junit-pioneer from 2.0.0 to 2.0.1 (2b00983) + + bump junit-jupiter from 5.9.1 to 5.9.2 (c917e81) + + bump logback-classic from 1.4.5 to 1.4.6 (eab4939) + ~ unscoped + + replace jdk 19 with 20 (0c5a645) + + replace asciidoc variables during release (0053e60) + + run spotless:check during maven verify phase (043efd7) + * Documentation + + use markdown for SECURITY.md because Github doesn't support + Asciidoc (00e9c3f) + + convert markdown to asciidoc (fb0f263) +- Exclude code which depends on GraalVM. + +------------------------------------------------------------------- +Fri Mar 24 09:38:55 UTC 2023 - Anton Shvetz + +- Update to v3.41.2.1 + * Features + ~ sqlite + bump sqlite to 3.41.2 (8cdaf59) + * Build + ~ jreleaser + categorize scopes in changelog (e3e5ae7) + +------------------------------------------------------------------- +Tue Mar 21 09:28:52 UTC 2023 - Anton Shvetz + +- Update to v3.41.0.1 + * Features + ~ jdbc: remove length/dimension in DatabaseMetaData#getColumns + TYPE_NAME (b09e093) + ~ sqlite: add support for legacy_alter_table flag (26df15f), + closes #481 + ~ add SQLiteDataSource #setBusyTimeout (12f2113) + * Fixes + ~ jdbc: return DatabaseMetaData#getColumns DATA_TYPE as int + instead of String (b7c40c3), closes #859 + ~ database from jar resource no longer keeps the jar + file-descriptor open (38c25af) + ~ keep SQLiteConfig cached busyTimeout more consistent with + busy_timeout pragma (8be7243) + * Build + ~ build(deps-dev): bump mockito-core from 4.8.1 to 5.2.0 + (1874299) + ~ deps: bump native-maven-plugin from 0.9.19 to 0.9.20 + (a99ac0c) + ~ build(deps-dev): bump assertj-core from 3.23.1 to 3.24.2 + (12d1f2c) + ~ deps: bump jreleaser-maven-plugin from 1.4.0 to 1.5.1 + (5fba437) + ~ deps: bump surefire.version from 3.0.0-M7 to 3.0.0 (15db506) + ~ build(deps-dev): bump junit-pioneer from 1.7.1 to 2.0.0 + (db56d15) + ~ deps: bump maven-javadoc-plugin from 3.4.1 to 3.5.0 (7085bf4) + ~ build(deps-dev): bump archunit-junit5 from 1.0.0 to 1.0.1 + (bfe7c1b) + ~ build(deps-dev): bump logback-classic from 1.3.4 to 1.4.5 + (276f682) + ~ deps: bump maven-enforcer-plugin from 3.1.0 to 3.2.1 + (f67c97a) + ~ dependabot: enable updates for all deps (8a2a5b1) + ~ jreleaser: add missing perf labeler (c2bfaa4) + +------------------------------------------------------------------- +Thu Feb 23 08:19:26 UTC 2023 - Anton Shvetz + +- Update to v3.41.0.0 + * Features + ~ bump sqlite to 3.41.0 (a1c3625) + * Fixes + ~ jdbc: DatabaseMetaData#getColumns now returns SCOPE_CATALOG + column instead of SCOPE_CATLOG (4429515), closes #837 + * Build + ~ use junit-jupiter in POM to pull all dependencies + transitively (7863376), closes #838 + +------------------------------------------------------------------- +Thu Feb 2 09:34:13 UTC 2023 - Anton Shvetz + +- Update to v3.40.1.0 + * Features + ~ update SQLite to 3.40.1 (4ba7c8c) + ~ allow correct recognition of android os if running termux + (89ceb0d) + * Fixes + ~ jdbc: DatabaseMetaData#getPrimaryKeys and getExportedKeys + should return an empty ResultSet for sqlite_schema (0dc6ad9), + closes #831 + ~ jdbc: DatabaseMetaData#getColumns should also retrieve + columns from SYSTEM TABLE types (473f528) + ~ DatabaseMetaData#getTypeInfo's result should be ordered by + DATA_TYPE (05bb929), closes #832 + ~ native: fixes and improvements for backup/restore (b13c908) + ~ jdbc: DatabaseMetaData#getImportedKeys reports empty FK_NAME + when created using quotes (ba69b2e), closes #506 + * Changes + ~ replace mention of sqlite_master with sqlite_schema (e68bc05) + ~ use temp directory instead of ./target (f97c0a0) + * Build + ~ release depends on test_graalvm (9f521a4) + ~ refine GraalVM native-image configuration and fix native test + execution (e437b3f) + ~ hide bot names from release contributors (5d1a280) + ~ replace java 18 with java 19 (4c80ee7) + ~ use temp directory instead of ./target (e14c3b8), closes #825 + ~ try to fix build native for PRs (f7bd3cd) + ~ try to fix build native for PRs (b23de9e) + ~ try to fix build native for PRs (5aa6a30) + ~ add 2023 url for amalgamation download (e3b6f8c) + ~ deps: bump JReleaser to 1.4.0 (0db312f) + ~ add test for unixepoch (3904e83) + * Documentation + ~ use https for links to www.sqlite.org (7ac8de8) + ~ update README badge for CI (832d26f) + ~ changelog shows breaking change description (5ad78ba), closes + #814 + +------------------------------------------------------------------- +Tue Nov 22 03:19:44 UTC 2022 - Anton Shvetz + +- Update to v3.40.0.0 + * Features + ~ rotating_light enable new math functions (0f41f46) + ~ upgrade SQLite to 3.40.0 (5e73a5c) + * Build + ~ disable DriverManager.setLogWriter (dd878d9) + * Documentation + ~ fix CI badge link (e11aecf) + +------------------------------------------------------------------- +Thu Nov 17 15:58:27 UTC 2022 - Anton Shvetz + +- Update to v3.39.4.1 + * Fixes + ~ jdbc: don't check if ResultSet is open in markCol (6d6f756) + ~ jdbc: throw SQLException instead of IllegalStateException + (4bfb174) + ~ jdbc: properly handle updateCount for PreparedStatement + (6a910b9) + ~ jdbc: don't close ResultSet when last row is passed (a21229d) + ~ jdbc: properly reset Statement between reuse (f497c43) + * Build + ~ fix boolean conditions, once more (f11b824) + ~ fix boolean conditions (857ed4c) + ~ print event inputs (83dbe02) + ~ add failing tests for PreparedStatement getMetaData before + execution (6c95a88) + ~ add failing tests for PreparedStatement getMoreResults and + getUpdateCount (98f00d3) + ~ polish (87c4601) + ~ replace deprecated set-output usage (7ee209c) + ~ add a release flag on CI workflow dispatch (f9e5e7f) + ~ add failing tests when getting ResultSet metadata past last + row (64771ef) + ~ add failing tests when reusing statements (267e80b) + ~ deps: bump andymckay/cancel-action from 0.2 to 0.3 (67b5899) + ~ fix attach-javadoc failing with release profile (9d3e2ca) + ~ change jreleaser's changelog format (4896a15) + ~ multi-release JAR with module-info.java (5bf7566) + * Documentation + ~ update release process (d91948e) + +------------------------------------------------------------------- +Mon Nov 7 11:06:55 UTC 2022 - Anton Shvetz + +- Update to v3.39.4.0 + * Features + ~ 8bcba01 jdbc: implement ResultSet#getObject with requested + type + ~ 9e9d144 allow override of detected architecture + ~ 7f03781 update SQLite to 3.39.4 + ~ fcb321e jdbc: DatabaseMetaData.getTypeInfo() returns more + accurate values + ~ be935e1 jdbc: add support for + DatabaseMetaData#getSearchStringEscape + * Fixes + ~ f178b4e jdbc: ResultSet#isNullable() now checks for + nullability instead of primary key + ~ fe8f8d0 jdbc: simplify ResultSet#getBigDecimal + ~ e8ba9dc jdbc: ResultSet#getBigDecimal could return 0 instead + of null in some conditions + ~ 58858f7 jdbc: Statement#getUpdateCount could return incorrect + result when used concurrently + ~ 8361efa jdbc: incorrect SQL could be generated in + DatabaseMetaData#getImportedKeys + ~ c8e86ae jdbc: DatabaseMetaData.getTables() shows all types if + no type is provided + ~ da570ba jdbc: DatabaseMetaData.getTables() returns + sqlite_schema as SYSTEM TABLE + ~ 8c78a66 jdbc: add missing description for DriverPropertyInfo + * Changes + ~ 22720f1 use SQLFeatureNotSupportedException when possible + * Build + ~ 3a115b0 bump nexus-staging-maven-plugin from 1.6.8 to 1.6.13 + ~ accc542 bump jreleaser-maven-plugin from 1.1.0 to 1.3.1 + ~ cd9a36a bump maven-gpg-plugin from 1.6 to 3.0.1 + ~ 574da41 bump maven-javadoc-plugin from 3.2.0 to 3.4.1 + ~ 47bf67d bump maven-bundle-plugin from 2.4.0 to 5.1.8 + ~ 507c718 bump maven-jar-plugin from 3.2.0 to 3.3.0 + ~ 5a3c89e bump maven-compiler-plugin from 3.1 to 3.10.1 + ~ f13f53d bump maven-help-plugin from 3.2.0 to 3.3.0 + ~ efcde7c bump spotless-maven-plugin from 2.12.3 to 2.27.2 + ~ fd60f9b bump mockito-core from 4.8.0 to 4.8.1 + ~ eaae213 add maven-enforcer-plugin + ~ 4238573 add versions-maven-plugin + ~ ee7a5a9 disable test_graalvm + ~ 5565528 exclude architecture tests from native + ~ af1ae47 add test architecture tests + ~ 9a19b8a add architecture tests + ~ bad80f2 deps: bump JUnit Pioneer from 1.4.2 to 1.7.1 + ~ ec066ac deps: bump JUnit from 5.7.2 to 5.9.1 + ~ c61c028 jdbc: add numeric types tests for ResultSet + ~ 8c5cd18 typo in workflow descriptions [skip ci] + * Documentation + ~ 7912b6b document usage for Android applications +- Add build dependency on + mvn(org.apache.maven.plugins:maven-enforcer-plugin) + +------------------------------------------------------------------- +Fri Sep 9 10:58:08 UTC 2022 - Anton Shvetz + +- Update to v3.39.3.0 + * Features + ~ 1cab301 [jdbc] support Statement.execute methods with + autoGeneratedKeys parameter + ~ 954dd4c [jdbc] ResultSetMetaData.getColumnClassName returns + more accurate type + * Fixes + ~ f4eaac4 [native] JRE crash on connection close with + CommitListener and auto commit disabled + ~ 7c3f7de [jdbc] Statement.setEscapeProcessing should not throw + unsupported exception + ~ e14fcd0 [jdbc] throw SQLFeatureNotSupportedException instead + of SQLException for unsupported features + ~ 09d4db2 [jdbc] DatabaseMetaData.supportsFullOuterJoins + returns true for SQLite 3.39+ + ~ bbb7d2c [jdbc] incorrect DatabaseMetaData JDBC version + major/minor + ~ bc5174b [jdbc] getDate, getTime, and getTimestamp crash on + empty text + ~ 1c84e06 [jdbc] ResultSetMetaData.getColumnType now returns + BIGINT if the value is large + ~ b7396a1 [jdbc] detect TIMESTAMP stored in SQLITE_TEXT + * Build + ~ eec8880 [native] update SQLite to 3.39.3 + ~ 6117c94 fix build-native directory when downloading native + libraries + ~ 628a38e [native] update dockcross windows x86/x64 images + ~ 90550cc [native] update dockcross images, fixes issue when + running on Mac M1 + ~ 0bfe4f0 replace junit jupiter assumptions with assertJ + ~ 12263cd test with external amalgamation + ~ c408b8f add graalvm argument following assertj migration + ~ f3ac947 migrate to assertJ + ~ 487f225 remove old travis files + ~ ea3c662 fix missing condition for build-native workflow + * Documentation + ~ 4b5d0a6 mention support of Linux musl 32bits + * -------- + ~ 0ede2be [jdbc] support for read-only transactions, fix + timeout handling + +------------------------------------------------------------------- +Wed Aug 31 08:22:21 UTC 2022 - Anton Shvetz + +- Update to v3.39.2.1 + * Features + ~ 0795636 add support for Linux musl x86 32bits + ~ 4102c1d support JDBC 4.2 large methods + ~ fc72417 enable DBSTAT Virtual Table + * Fixes + ~ 5387c7a use directory stream for temp dir cleanup + ~ 9979ba5 compile armv5 with soft float and without vfp + ~ 99cac10 empty result set should not be returned as closed + ~ 7e171d4 various correctness, memory leak and race condition + fixes + ~ 9517b3a minor bug fixes and code cleanup + ~ 896054b getImportedKeys should not fail if referenced table + does not exist + ~ 05c45bb return generated columns in + DatabaseMetaData.getColumns + ~ 19cb96d getClob() should return null if the data is null + * Changes + ~ b619cfa use java.nio for file operations + ~ 0a194de comments as javadoc + ~ 1749e12 apply IntelliJ suggestions + ~ 3bf5ada use try-with-resource and assertThrows + ~ 49bf4e7 apply IntelliJ suggestions + * Build + ~ 6dd5a50 [native] rename alpine-linux64 target to linux-musl64 + ~ f4e478d build native libraries by workflow_dispatch or PR + comment + ~ 3fb1a21 apply IntelliJ suggestions + ~ f8e39f4 [native] sign Mac 64 binary + ~ 22b5f87 [native] add dockerfile for rcodesign + ~ 63c6c4a [native] build Mac arm64 with Docker + ~ cf8fe36 ignore dependabot for push events, will run on + pull_request anyway + ~ 0770e1d change distribution to temurin for consistency + ~ 1926c63 add dependabot + ~ 97cc99d cleanup invalid compile option + ~ a96917e conditionally run MathFunctionsTest depending on + compilation options + ~ 3e191e9 skip DBMetaDataTest.version if not compiled by us + ~ e48422c extract function to retrieve compile options + ~ 2022752 don't run deploy job on forks + ~ 97f8faf run CI on branches + ~ f0be678 add math functions test + ~ bcf889f publish jar file as release asset + ~ 3c84e2d force push tags for release commits [skip ci] + * Documentation + ~ d5cbe62 document how to load specific native library + ~ c77bbd1 add contribution section in README.md + ~ 4b05f4a build instructions for external amalgamation archive + ~ a4b954e remove provided scope for Maven Shade hint + ~ aa14ab6 remove outdated javadoc comment about unsupported + aggregate functions + ~ c84a077 update documentation + * -------- + ~ 329fe0a [deps] bump actions/setup-java from 2 to 3 (#770) + Bumps actions/setup-java from 2 to 3. + ~ c2412cf properly add JDBC_EXTENSIONS pragma (#761) + Instead of relying of changing ifdefs use the variable + declaration as anchor + ~ fd53f17 return correct values for column data type details + (#758) + provide valid COLUMN_SIZE and DECIMAL_DIGITS values for + columns queried using + +------------------------------------------------------------------- +Thu Aug 4 04:27:30 UTC 2022 - Anton Shvetz + +- Update to v3.39.2.0 + * Changes: + + Build + ~ 63e0467 create the release commit only after successful + push to Maven Central + ~ 5aaeb8c attach javadoc when creating the jar in release + profile + ~ 7310a45 add missing project url in pom.xml + ~ 13d2369 automatic release via workflow_dispatch + ~ 6537808 add jreleaser plugin + ~ 9f9ce09 remove maven-release-plugin and adjust version + number + ~ 10ab71c add test for #720 + ~ c7b54a2 expand multiarch test to arm64/alpine and + ppc64/ubuntu + ~ 50c0458 simplify matrix on test job using include instead + of exclude + ~ 972f1db run mvn with --batch-mode --no-transfer-progress + ~ 7fc747f use actions/checkout@v3 + ~ 8409e5c display more information during OSInfoTest + ~ 062440a build on jdk 17 (#747) + + Documentation + ~ 5c03f58 update list of supported platforms in README.md + ~ d23711e remove bitbucket links + ~ 766a51f syntax highlighting in README.md + + -------- + ~ 481b803 fix memory leak when calling + Connection.getMetaData() (#757) + ~ bb84601 show numeric code instead of UNKNOWN_ERROR (#689) + ~ 085700f compile OSInfo on the fly if needed by make (#715) + Removed outdated version of OSInfo.class + ~ 67159a5 add snapshot badge to README.md + ~ 5da0039 Publish snapshots to OSSRH automatically from CI + ~ 6c4f373 Use setUseCaches instead of setDefaultUseCaches + (#755) + Use of setDefaultUseCaches impacts all URLClassLoaders and + HttpURLConnections, which can lead to erratic behavior of + non-sqlite components running on a system since the + variable is static. + ~ e1d282c Wrap Statement Pointers to prevent use after free + race + ~ 6ee09e1 add ppc64el/ppc64le mapping + + Closes: #450 + ~ 49facf5 Update changelog for 3.35.0.1 through 3.36.0.3 + (#702) + ~ e737a19 Musl check improvements + ~ Fix older linux compatibility with MUSL check + ~ 14d5903 org.sqlite.SQLiteConfig.setDatePrecision(String) + throws unnecessary S… (#751) + ~ a6d63ee add native binary for Linux aarch64 with musl + (#704) + ~ f55b2aa Upgrade to 3.39.2 (#746) + ~ Update dockcross scripts + ~ ada2b14 detect musl by checking /proc/self/map_files (#675) + ~ detect musl by checking /proc/self/map_files + ~ 15ecb1b Use more specific types instead of String when + fetching JDBC3ResultSet.getBigDecimal (#666) + ~ c57be93 Add native libs for Android arm64, x86, x86_64 via + dockcross (#662) + ~ cleanup OSInfo.java with IDE suggestions + ~ 1481bf2 Fix file descriptor (handle) leak when opening + database fails (#665) + ~ 1716215 Update Eclipse settings to use Java 8 (#664) + ~ 7ac4c87 Switch to Temurin JDK builds as AdoptJDK has been + discontinued (#660) + ~ 4958df0 update CI badge on README.md (#661) + ~ 674288c Add CI tests for aarch64 and armv7 (#658) + ~ multiarch test + ~ 9c03d9c migrate to setup-java@v2 with built-in maven cache + (#657) + ~ 0ecb95b Update cross prefix following recent dockcross + updates (#655) + ~ simplify the cross prefix, as the binaries are available in + the PATH + ~ 3d04d7d Code formatting via Spotless with google java + format (#653) + ~ add spotless with google java format + ~ ec79c49 Makefile: remove -it/-ti flags from docker calls + (#654) + These control whether to run docker in interactive mode and + attach the tty, + ~ f5889a4 Next snapshot: +- Remove plugin: org.sonatype.plugins:nexus-staging-maven-plugin + +------------------------------------------------------------------- +Tue Sep 7 14:33:29 UTC 2021 - Anton Shvetz + +- Update to v3.36.0.3 + * Changes: + + Fixes for GraalVM + + Internal update: Migrate to JUnit5. Add CI with GraalVM +- Change architecture to noarch for javadoc subpackage + +------------------------------------------------------------------- +Sun Jun 27 06:54:12 UTC 2021 - Anton Shvetz + +- Update to v3.36.0 + +------------------------------------------------------------------- +Thu Dec 10 23:06:51 UTC 2020 - Anton Shvetz + +- Update to v3.34.0 + +------------------------------------------------------------------- +Wed Dec 9 01:05:26 UTC 2020 - Anton Shvetz + +- Update to v3.32.3.3 +- Initial commit with v3.32.3.2 diff --git a/sqlite-jdbc.spec b/sqlite-jdbc.spec new file mode 100644 index 0000000..4c8af9a --- /dev/null +++ b/sqlite-jdbc.spec @@ -0,0 +1,100 @@ +# +# spec file for package sqlite-jdbc +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{!?make_build:%global make_build make %{?_smp_mflags}} +%global version 3.46.0.1 +%global amalgamation_version 3460000 +%global debug_package %{nil} +Name: sqlite-jdbc +Version: %{version} +Release: 0 +Summary: SQLite JDBC Driver +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://github.com/xerial/%{name} +Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: https://sqlite.org/2024/sqlite-amalgamation-%{amalgamation_version}.zip +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 +BuildRequires: maven-local +BuildRequires: unzip +BuildRequires: xmvn +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin) +BuildRequires: mvn(org.hamcrest:hamcrest-all) +BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api) +BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine) +BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) + +%description +SQLite JDBC is a library for accessing and creating SQLite database files in +Java. + +Our SQLiteJDBC library requires no configuration since native libraries for +major OSs, including Windows, Mac OS X, Linux etc., are assembled into a single +JAR (Java Archive) file. The usage is quite simple; download our sqlite-jdbc +library, then append the library (JAR file) to your class path. + +%package javadoc +Summary: API documentation for %{name} +BuildArch: noarch + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q + +find src/main/resources \ + \( -name \*.so -or -name \*.dylib -or -name \*.dll \) \ + -delete + +%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin +%pom_remove_plugin com.diffplug.spotless:spotless-maven-plugin +%pom_remove_dep org.graalvm.sdk:nativeimage + +sed -i -e '/org\.graalvm\.nativeimage/ d' src/main/java9/module-info.java +rm src/main/java9/org/sqlite/nativeimage/SqliteJdbcFeature.java + +dos2unix SQLiteJDBC.wiki +mkdir -p target/classpath +cp %{SOURCE1} target/sqlite-$(sed -e 's/^version=//' VERSION)-amal.zip + +ln -s %{_javadir}/slf4j/slf4j-api.jar target/classpath/ + +%{mvn_file} : %{name} + +%build +%make_build native +%{mvn_build} -f -- \ + -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) + +%install +%mvn_install +%fdupes %{buildroot}%{_javadocdir}/%{name} + +%files -f .mfiles +%license LICENSE* NOTICE +%doc CHANGELOG README.adoc {USAGE,SECURITY}.md SQLiteJDBC.wiki + +%files javadoc -f .mfiles-javadoc +%license LICENSE* NOTICE + +%changelog