Repository navigation
Comparing changes
Open a pull request
base repository: jasync-sql/jasync-sql
base: 2.2.4
head repository: jasync-sql/jasync-sql
compare: 2.2.5
- 10 commits
- 26 files changed
- 7 contributors
Commits on Nov 8, 2023
-
Add query to InsufficientParametersException (#418)
* added query to InsufficientParametersException * added assertions for message to existing tests --------- Co-authored-by: kenneth-tiller <kenneth.tiller@finn.no>
Configuration menu - View commit details
-
Copy full SHA for 83029e5 - Browse repository at this point
Copy the full SHA 83029e5View commit details
Commits on Dec 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a92229e - Browse repository at this point
Copy the full SHA a92229eView commit details
Commits on Feb 9, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 600b782 - Browse repository at this point
Copy the full SHA 600b782View commit details -
Configuration menu - View commit details
-
Copy full SHA for d72b3b4 - Browse repository at this point
Copy the full SHA d72b3b4View commit details
Commits on May 27, 2025
-
Add Boolean Conversion Support to JasyncRow (#431)
Description This PR adds support for boolean type conversion in the JasyncRow class. Previously, the class supported conversions for various data types but did not explicitly handle boolean values. With these changes, the class can now properly convert various input data types (Numbers, Strings, Booleans) to Boolean values. This enhancement is particularly important for MySQL databases, which represent boolean values as TINYINT(1) where 0 means false and any non-zero value (typically 1) means true. Our implementation correctly handles this MySQL-specific behavior by treating any non-zero numeric value as true. Changes Made Extended the get method in JasyncRow to handle boolean conversions with the following mapping: Numbers: 0 → false, non-zero → true (aligned with MySQL's TINYINT(1) representation of booleans) Strings: Using Kotlin's built-in Boolean parsing Boolean values: Preserved as-is Added proper handling for primitive boolean type Added comprehensive test cases in JasyncRowTest to validate all conversion scenarios Testing Created a dedicated test class JasyncRowTest with a test method testBooleanConversion that verifies: Boolean to Boolean conversion Number to Boolean conversion (0 → false, non-zero → true) String to Boolean conversion ("true" → true, "false" → false) Accessing Boolean values by index Tests pass successfully, confirming the implementation works as expected Related Issue #430 Additional Notes This change enables more flexible type handling in the database access layer, making it easier to work with boolean values returned from MySQL queries. Since MySQL stores boolean values as TINYINT(1), this implementation ensures a seamless conversion between the database representation and the application-level Boolean type, improving type safety and code readability.Configuration menu - View commit details
-
Copy full SHA for 4fe7c77 - Browse repository at this point
Copy the full SHA 4fe7c77View commit details
Commits on Nov 6, 2026
-
ci: replace greetings workflow with issue and PR templates
Remove .github/workflows/greetings.yml, which fails with HTTP 403 on Dependabot and fork PRs due to read-only GITHUB_TOKEN permissions on pull_request events. Add .github/ISSUE_TEMPLATE/ and .github/PULL_REQUEST_TEMPLATE.md so contributors see Wiki and Stack Overflow links before submitting.
Configuration menu - View commit details
-
Copy full SHA for 511a0d6 - Browse repository at this point
Copy the full SHA 511a0d6View commit details -
build: bump Testcontainers from 1.17.6 to 1.21.4 for Docker 29+ compa…
…tibility (#442) GitHub Actions ubuntu-latest and modern Docker 29+ daemons enforce minimum Docker API v1.44, causing Testcontainers 1.17.6 (docker-java v1.32) to fail initialization.
Configuration menu - View commit details
-
Copy full SHA for e5f7818 - Browse repository at this point
Copy the full SHA e5f7818View commit details -
mysql: track the auth plugin and seed from an authentication switch r…
…equest (#440) MySQLConnection stored the authentication method and seed from the initial handshake only. When the server's default plugin differs from the account's plugin (e.g. the handshake advertises mysql_native_password but the account uses caching_sha2_password), the server answers with an authentication switch request. switchAuthentication() answered it but did not record the new plugin and seed, so a following AuthMoreData packet asking for full authentication was checked against the stale plugin and failed with: AuthMoreDataMessage is only supported for 'caching_sha2_password' method It also scrambled the password with the stale seed on the RSA path. Record the plugin and seed from the switch request before answering it. Tests: AuthenticationSpec gets a case against a real server whose default plugin is mysql_native_password; AuthenticationSwitchSpec covers the packet flows against an in-process fake server without Docker. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for e9e901f - Browse repository at this point
Copy the full SHA e9e901fView commit details -
build: bump Netty to 4.1.140.Final and configure Sonatype Central Por…
…tal (#443) Upgrade Netty from 4.1.93.Final to 4.1.140.Final to resolve Netty 4.1.x CVEs, and configure io.github.gradle-nexus.publish-plugin 1.3.0 (JDK 8 compatible) against the Sonatype Central Portal OSSRH Staging API.
Configuration menu - View commit details
-
Copy full SHA for 9fb487e - Browse repository at this point
Copy the full SHA 9fb487eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ca5e86 - Browse repository at this point
Copy the full SHA 3ca5e86View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.2.4...2.2.5