Skip to content

Releases: aehrc/sof-mssql

v2.0.0

12 Oct 02:37
v2.0.0
ee8eeea

Choose a tag to compare

New Features

Type tag support:

  • Added tag array to ViewDefinitionColumn for 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., INTEGERINT, BOOLEANBIT)
  • 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

⚠️ Default column type mappings have changed significantly:

  • Temporal types (date, datetime, instant, time) now use VARCHAR instead of native SQL types to preserve FHIR semantics (partial dates, timezone precision)
  • decimal now uses VARCHAR(MAX) instead of DECIMAL(18,6) to support arbitrary precision
  • id, uuid, oid now use VARCHAR with size constraints instead of NVARCHAR(MAX)

v1.0.1

10 Oct 09:06
v1.0.1
b6667cd

Choose a tag to compare

Fixed problem with missing production dependency for load script.

v1.0.0

08 Oct 07:11
v1.0.0
4778431

Choose a tag to compare

v1.0.0