From bf8f301dedb1445877fa88a29e010318421f0621 Mon Sep 17 00:00:00 2001 From: Bill Ballou Date: Wed, 14 Jan 2026 17:57:33 -0500 Subject: [PATCH] chore: bump version to 1.4.1 and update changelog Document the reference column filter support feature. --- CHANGELOG.md | 24 ++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dedea9c..bdc848b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.1] - 2026-01-14 + +### Added + +#### Reference Column Filter Support +- **Filter normalization**: `get_records` now automatically normalizes filter values to array format +- Fixes 400 errors when filtering on `Ref:*` (reference/foreign key) columns +- Single values are wrapped in arrays before sending to Grist API + +#### Usage +```python +# Before: Failed with 400 Bad Request +get_records(document="accounting", table="TransactionLines", filter={"Transaction": 44}) + +# After: Works - filter normalized to {"Transaction": [44]} +get_records(document="accounting", table="TransactionLines", filter={"Transaction": 44}) + +# Multiple values also supported +get_records(document="accounting", table="TransactionLines", filter={"Transaction": [44, 45, 46]}) +``` + +### Fixed +- Shell script shebangs updated to `#!/usr/bin/env bash` for portability across environments + ## [1.4.0] - 2026-01-12 ### Added diff --git a/pyproject.toml b/pyproject.toml index c035e3b..0eb86a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "grist-mcp" -version = "1.4.0" +version = "1.4.1" description = "MCP server for AI agents to interact with Grist documents" requires-python = ">=3.14" dependencies = [