This file contains all the notable changes done to the Ballerina SQL package through the releases.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix strand hanging when strand count exceeds BALLERINA_SQL_MAX_POOL_SIZE
- Fix stored procedure call having output parameter failing with result set closed error
- Fix stored procedure call having output parameter failing in PostgreSQL
- Fix stored procedure call having output parameter failing in OracleDB
- Support for 2201.10.0 distribution
- Make maximum sql pool size configurable
- Support for 2201.9.0 distribution
- Support for Cursor based result set retrieval in procedure calls
- Support for Java17
- Add GraalVM support
- Improve documentation regard
sql:Column
annotation - Handle null error messages from underlying drivers
- Make
sql:Client
isolated
- Improve API docs based on Best practices
- Fix SQL compiler plugins failure when the diagnostic code is null
- Updated API Docs
- Fix unable to set unlimited lifetime (0) to ballerina.sql.maxConnectionLifeTime
- Improve error message on client connection failure
- Fix sql:queryConcat not working for empty query
- Fix error not being thrown when mandatory fields are not fetched
- Improve API documentation
- Accept escaped backtick as insertions in parameterised query
- Add support for handling union types in queryRow()
- Validate connection pool configurations
- Change queryRow return type to anydata
- Make OutParameter get function parameter optional
- Add support for queryRow
- Add support for async operation
- Implement array types for call procedure
- Add support for passing time:Date and time:TimeOfDay types directly into parameterized queries
- Add support for passing time:UTC type directly into parameterized queries
- Add support for passing time:Civil type directly into parameterized queries
- Add support for retrieving time:Utc type
- Introduce util function to concatenate queries
- Introduce arrayFlattenQuery() function to add IN operator values by using concatenate queries function
- Add support for retrieving time:Civil, time:Date and Time:TimeOfDay types as values using queryRow
- Add functionality to map multiple fields in the return query result to a single typed record field
- Remove support for string parameter in SQL APIs
- Improve Errors
- Add completion type as nil in SQL query return stream type
- Fix type cast error for query api containing database error
- Fix null pointer exception being thrown when calling stored procedure without specifying return types
- Add DB connection active status check in native code level
- Remove sending
lastInsertId
inExecutionResult
for remote call function
- Introduced
ArrayValueType
type andTypedValue
object to configure the types of an SQL array - Newly introduce TimeWithTimezoneOutParameter and TimestampWithTimezoneOutParameter for using TimeWithTimeZone Type OutParameter