Skip to content

Releases: Gladium-AI/neo-notion-cli

v0.1.2

22 Mar 18:33

Choose a tag to compare

v0.1.2

Bug fix

  • Fix: file-uploads send MIME type bug — Go's multipart.CreateFormFile hardcodes Content-Type: application/octet-stream in the multipart part header. Notion rejects uploads when this doesn't match the content_type declared at creation time. Now uses CreatePart with the correct MIME type auto-detected from the file extension (e.g. .txttext/plain, .pngimage/png). Added --content-type flag to override detection when needed.

Verified end-to-end

notion file-uploads create --filename test.txt --content-type text/plain
notion file-uploads send --file-upload-id <id> --file test.txt
# status: "uploaded" ✓

v0.1.1

20 Mar 10:40

Choose a tag to compare

v0.1.1

Bug fix

  • Fix: data source properties dropped by double normalizationdata-sources get was only showing select/multi_select properties, silently dropping all others (title, url, date, rich_text, etc.). Root cause: Normalize() was called twice in the output pipeline. On the second pass, already-flattened property type strings failed a map type assertion and were discarded.

v0.1.0

18 Mar 16:55

Choose a tag to compare

neo-notion-cli v0.1.0

First release. Agent-first Notion API CLI with normalized, context-efficient output.

Highlights

  • Full Notion API coverage (v2026-03-11) — 37+ commands across 10 resource groups: pages, databases, data sources, blocks, comments, file uploads, users, search, OAuth, webhooks
  • Normalization layer — default output compresses verbose API responses ~3.5x by flattening properties, stripping metadata noise, and simplifying list envelopes
  • --full / --raw — escape hatch for the complete API response when you need it
  • --select — jq-like field extraction operating on normalized output
  • notion auth login — interactive token setup for internal integrations, or --oauth for the full browser flow
  • Retryable HTTP client — exponential backoff with rate-limit / Retry-After handling
  • Cross-platform — static binaries for linux/amd64, linux/arm64, darwin/amd64, darwin/arm64

Install

# Download a binary from this release, or:
go install github.com/paoloanzn/neo-notion-cli@v0.1.0

Quick start

notion auth login
notion users me
notion search --query "My Page"
notion data-sources query --data-source-id <id> --page-size 10