Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jasync-sql/jasync-sql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.2.4
Choose a base ref
...
head repository: jasync-sql/jasync-sql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.2.5
Choose a head ref
  • 10 commits
  • 26 files changed
  • 7 contributors

Commits on Nov 8, 2023

  1. 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>
    kennethtiller and kenneth-tiller authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    83029e5 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2024

  1. Update README.md

    oshai authored Dec 24, 2024
    Configuration menu
    Copy the full SHA
    a92229e View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2025

  1. update spring version to 3

    GanziDaeyong authored and oshai committed Feb 9, 2025
    Configuration menu
    Copy the full SHA
    600b782 View commit details
    Browse the repository at this point in the history
  2. put password again, fix style in sql

    GanziDaeyong authored and oshai committed Feb 9, 2025
    Configuration menu
    Copy the full SHA
    d72b3b4 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2025

  1. 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.
    Sung-Heon authored May 27, 2025
    Configuration menu
    Copy the full SHA
    4fe7c77 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2026

  1. 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.
    oshai committed Nov 6, 2026
    Configuration menu
    Copy the full SHA
    511a0d6 View commit details
    Browse the repository at this point in the history
  2. 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.
    oshai authored Nov 6, 2026
    Configuration menu
    Copy the full SHA
    e5f7818 View commit details
    Browse the repository at this point in the history
  3. 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>
    kibo-andynunes and claude authored Nov 6, 2026
    Configuration menu
    Copy the full SHA
    e9e901f View commit details
    Browse the repository at this point in the history
  4. 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.
    oshai authored Nov 6, 2026
    Configuration menu
    Copy the full SHA
    9fb487e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ca5e86 View commit details
    Browse the repository at this point in the history
Loading