Skip to content

Releases: tink3rlabs/magic

v0.14.0

09 Mar 11:45

Choose a tag to compare

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

  • docs: document sortKey and SortDirectionKey on StorageAdapter interface (e6d9326)
  • docs: add godoc to executePaginatedQuery in SQL and CosmosDB adapters (5d0fcfc)
  • test: restore sqlAdapterInstance singleton after TestListRejectsMaliciousSortKey (cb5ebe3)

v0.13.0

15 Feb 14:04

Choose a tag to compare

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

30 Jan 23:00

Choose a tag to compare

0.12.3 (2026-01-30)

Bug Fixes

  • leadership to respect sqlite (4ad0d69)
  • migrations to respect sqlite (5b58046)

v0.12.2

01 Jan 15:03
5971679

Choose a tag to compare

0.12.2 (2026-01-01)

Bug Fixes

  • revert cassandra adapter due to breaking changes (#131) (5971679)

v0.12.1

30 Dec 14:21
c248164

Choose a tag to compare

0.12.1 (2025-12-30)

Bug Fixes

  • reference cassandra service in tests (aebfe5c)

v0.12.0

28 Dec 07:38
94e55ef

Choose a tag to compare

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

11 Dec 23:33

Choose a tag to compare

0.11.2 (2025-12-11)

Bug Fixes

  • sql query binding building (7a6b3bf)

v0.11.1

11 Dec 23:30

Choose a tag to compare

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)

v0.11.0

30 Oct 19:37
e2fe216

Choose a tag to compare

0.11.0 (2025-10-30)

Feature

Chores

  • deps: bump github.com/aws/aws-sdk-go-v2/config (aaf3e1d)
  • deps: bump github.com/aws/aws-sdk-go-v2/credentials (e46c32e)
  • deps: bump github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue (ffe8232)

v0.10.0

29 Oct 13:16

Choose a tag to compare

0.10.0 (2025-10-29)

Feature

  • allow counting with filter (4de9f22)