Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 21:45
· 24 commits to main since this release

TinyStore 0.3.0

What's new, with code in every language: https://tinyshed.org/tinystore/docs/releases/v0.3.0

bun add @tinyshed/tinystore@0.3.0
npm install @tinyshed/tinystore@0.3.0
pip install tinyshed-tinystore==0.3.0

Built for linux-x64, linux-arm64, linux-x64-musl, linux-arm64-musl, darwin-arm64, darwin-x64, win32-x64. Each archive holds the
tinystore executable in bin/, and in lib/ the core's library and the Node addon; the Go
SDK fetches its platform's at the first open. SHA256SUMS checks them all.

Changes since v0.2.0

Changed names

  • cli: read and aggregate metrics a page at a time, --limit a page and --after the next, which the JSON's last line gives
  • sdk: read and aggregate metrics a page at a time over the wire, in Bun, Node, Python, Go and async Rust, a page walked on by its next
  • metrics: aggregate a page at a time with limit and after, each page ending between whole buckets of a group
  • metrics: read a range a page at a time with limit and after, each page stopping before a bound and its next going on from there

Features

  • web: colour tinystore commands in shell blocks by their help, and read a typed command word by word in an explain block
  • cli: print every command's help as JSON with help --all --json, each word a command takes with what it stands for
  • cli: let tinystore mcp write with the tools --write names, a tool an operation, each marked for its host to ask
  • cli: explain a config as the store keeps it, and update and reset its live settings from a shell
  • cli: run a command while it holds a key with lock hold, and keep a quiet subscription open on unix
  • cli: offer on tab what a misspelt word is a typo of when nothing starts with it
  • cli: complete commands, flags and a store's names on tab in bash, zsh, fish and powershell, print every command with help --all, and list a store's names in status --json
  • cli: publish to and subscribe to a channel from a shell, and let sql --write go through the server that holds the store
  • cli: put, get, list and delete a set's files from a shell with tinystore files
  • cli: add, list and cancel a queue's jobs from a shell with tinystore jobs
  • cli: set and delete a bucket's key from a shell with kv set and kv delete, through the server that holds the store
  • cli: follow a stream of prometheus text with metrics ingest -f, and send a text past one message in pieces
  • cli: append events from a shell, one given in words or another program's output on stdin, and list a stream beside its holder
  • cli: name, read, aggregate and delete metrics from a shell, a table for a person and a line of JSON a sample for a script
  • cli: write a Prometheus text from a shell with metrics ingest, through the server that holds the store or a sidecar it starts

Fixes

  • web: lay the explain out compactly on a phone, the command once over its words and each meaning on one line
  • cli: stop a command whose lease was lost with a term before a kill, so that a script can end what it started
  • wire: end the subscriptions, follows, tails and watches of a client that closed its side, rather than draining them for ten seconds
  • cli: write a private child's frames through a file on its stdout, which on windows under node now and then left an answer half sent
  • web: keep a playing scene inside a tour's step, off the line between its numbers
  • cli: end a command quietly with exit 0 when its reader closes the pipe, as head does, rather than panic

Full history: v0.2.0...v0.3.0.