Releases: tink3rlabs/magic
Releases · tink3rlabs/magic
v0.14.0
0.14.0 (2026-03-09)
Feature
- add validateSortKey to guard against ORDER BY injection (9553c71)
- add sorting to sql adapter (01d5930)
Bug Fixes
- validate sortKey in DynamoDB List and Search to prevent PartiQL injection (20b4213)
- warn on cursor field extraction failure, remove redundant else branch (7c5e43a)
- validate sortKey in SQL executePaginatedQuery to prevent injection (19aa630)
- validate sortKey in CosmosDB executePaginatedQuery to prevent injection (aaadc54)
- allow underscore-prefixed sort keys, add edge case tests (23a2923)
Code Refactoring
- more explicit error msgs on failure to list/search (08c344b)
- style: use snake_case log keys in cursor extraction warnings (8d88b8f)
- deduplicate extractParams and extractSortDirection as package-level functions (cd12a77)
- use SortingDirection type in cosmosdb adapter (fb20b7d)
- use switch and maps.Equal in sql sorting helpers (9093b04)
- use SortingDirection type in sql adapter (bf4a93c)
- use maps.Copy and flatParams in sql extractParams (42fde11)
- add SortingDirection type and SortDirectionKey constant (441e491)
Chores
v0.13.0
0.13.0 (2026-02-15)
Feature
- RequireRole function now accepts multiple roles (#143) (c97ebf3)
- added multi-provider jwt validation middleware (c853bec)
Bug Fixes
- fixed MQL parsing issue with . and / chars (7cd95a7)
Chores
- deps: bump github.com/aws/aws-sdk-go-v2/config (c002981)
- deps: bump github.com/go-chi/chi/v5 from 5.2.3 to 5.2.5 (ec8c5c0)
- deps: bump github.com/Azure/azure-sdk-for-go/sdk/azcore (4c34b8f)
- deps: bump github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue (2259fc8)
- deps: bump github.com/aws/aws-sdk-go-v2/credentials (3056c8f)
- deps: bump github.com/aws/aws-sdk-go-v2/service/sns (3b26aee)
cicd
- fixed issue with goproxy and linting issues (4ac2042)
v0.12.3
v0.12.2
v0.12.1
v0.12.0
0.12.0 (2025-12-28)
Feature
- Introduce CassandraAdapter (921b1a5)
Bug Fixes
- CassandraAdapter CI (a56f8f1)
- add cassandra example (34f40d5)
- switch could use tagged switch in mql/parser (baff02d)
Chores
- upgrade go to 1.25.3 (d636900)
- deps: bump github.com/aws/aws-sdk-go-v2/config (b799c39)
- deps: bump github.com/go-chi/chi/v5 from 5.2.2 to 5.2.3 (f167531)
- deps: bump github.com/auth0/go-jwt-middleware/v2 (2c1a1b3)
- deps: bump github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue (1117d6d)
- deps: bump github.com/Azure/azure-sdk-for-go/sdk/data/azcosmos (406a0ea)
- deps: bump github.com/aws/aws-sdk-go-v2/credentials (8b6afd7)
v0.11.2
v0.11.1
0.11.1 (2025-12-11)
Bug Fixes
- typos in validation error (4ed7b8c)
Chores
- deps: bump github.com/aws/aws-sdk-go-v2/service/dynamodb (c28e968)
- deps: bump github.com/aws/aws-sdk-go-v2/service/sns (0a1ab10)
- deps: bump github.com/Azure/azure-sdk-for-go/sdk/azidentity (3e829a9)
- deps: bump github.com/Azure/azure-sdk-for-go/sdk/azcore (9e4d010)
- deps: bump gorm.io/gorm from 1.30.3 to 1.31.1 (ff95bd3)
- deps: bump github.com/aws/aws-sdk-go-v2/config (006ca2a)