Releases: aehrc/sof-mssql
Releases · aehrc/sof-mssql
v2.0.0
New Features
Type tag support:
- Added
tagarray toViewDefinitionColumnfor type hints - Two tag types supported:
tsql/type- Direct T-SQL type specification (e.g.,DATE,VARCHAR(50))ansi/type- ANSI/ISO SQL standard types, auto-converted to T-SQL (e.g.,INTEGER→INT,BOOLEAN→BIT)
- Type precedence:
tsql/type>ansi/type> FHIR defaults
Example:
{
"name": "birthDate",
"path": "birthDate",
"tag": [{ "name": "tsql/type", "value": "DATE" }]
}Improvements
- Enhanced SQL injection protection with comprehensive validation
- Better identifier validation for resource types and column names
Breaking Changes
- Temporal types (
date,datetime,instant,time) now useVARCHARinstead of native SQL types to preserve FHIR semantics (partial dates, timezone precision) decimalnow usesVARCHAR(MAX)instead ofDECIMAL(18,6)to support arbitrary precisionid,uuid,oidnow useVARCHARwith size constraints instead ofNVARCHAR(MAX)
v1.0.1
Fixed problem with missing production dependency for load script.
v1.0.0
v1.0.0