Repository navigation
v0.11.0
TinyStore 0.11.0
What's new, with code in every language: https://tinyshed.org/tinystore/docs/releases/v0.11.0
bun add @tinyshed/tinystore@0.11.0
npm install @tinyshed/tinystore@0.11.0
pip install tinyshed-tinystore==0.11.0Built 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.10.0
Changed names
- search: count what a search finds with total, exactly to 10,000 and past it at least, under its where and whatever its page, in rust, over the wire and in every sdk
- records: take a list, { not } and { prefix } in a where, a list one of its values, in rust, over the wire and in every sdk
- jobs: free a failed job's id, so that the next add starts a new job in its place with the last error shown, in rust and every sdk
Features
- records: delete the events a query finds with what was kept only for them, holes in block 5 that move no cursor, in rust, over the wire and in every sdk
- search: read a table index's new table or key beside it while the old rows answer and take writes, then switch it in, in place of the refusal
- metrics: take 100,000 samples and 32 MiB in one ingest, one write, sent in pieces past one message, in rust, over the wire and in every sdk
- metrics: add max_series, the sets of labels an instrument holds, and say its first overflow once in every sdk's own lines
- metrics: add fill, every bucket of the range an empty one without a value, and a calendar bucket's local date, in rust, over the wire and in every sdk
- metrics: let a read see what the program's instruments counted before it, with no flush, in rust and every sdk
- search: drop a table's index whose table a migration dropped, say how to change an index without a new name, and tell other vector dimensions to open another name
- search: key a table's index by several columns, each hit's id their values as a JSON array, and refuse a table without a key in no language's syntax, in rust, over the wire and in every sdk
- search: keep a table index's search to the values a statement of its database gives, read in the search's snapshot, in rust, over the wire and in every sdk
- records: fill an aggregate's empty spans and give a calendar's rows their local date, in rust, over the wire and in every sdk
- records: add largest, the events of a field's largest numbers first, and read message as a key of top and by, in rust, over the wire and in every sdk
- jobs: give a job a term, a ttl from its last write that an upsert renews or an expiresAt, past which it never starts and its repeat ends, in rust, over the wire and in every sdk
- jobs: add upsert, which adds a job or brings the one there to the call where it differs, its time, attempts and steps kept, in rust, over the wire and in every sdk
- jobs: give a job a dedupe and a keep of its own, a dedupe by a local calendar day, week or month, and a keep of zero that keeps a failed job not at all, in rust, over the wire and in every sdk
- jobs: add runNow, which runs a schedule once as soon as a worker is free and keeps its later times, and keep a run missed while down when the deploy changed its repeat, in rust, over the wire and in every sdk
- store: open a test's store in a directory its close removes, openTemp in a testing entry for bun and node and python, tinystoretest.Open in go, testing::open_temp in rust, and run an embedded store on a test's clock
- sql: upsert a list of rows in one statement, all or none, in rust and every sdk, and refuse an upsert without update as invalid in bun rather than a TypeError
- store: let the command line write to an embedded store opened with cli, through an endpoint of the user's alone, in rust, over the wire and in every sdk
- channels: add subscribers, how many subscriptions a publish on a branch now would reach in every process, in rust, over the wire and in every sdk
- locks: say how long a hold waited on its lease and permit, count who waits and holds now among the store's own metrics, and label a lost lease by its lock
- js: export ms and spelled from the package's root, the parser the store's own calls use, and keep one keepSpelled for what a stream or a metric keeps
- kv: add count, the keys of a branch as all walks them, in rust, over the wire and in every sdk, and hint at status --names
Fixes
- metrics: give each group once, whole, in a walk of an aggregate's pages, and show a total for a range and by merging a timer's series
- metrics: refuse a query field the sdk does not know by name, and say a query of no condition gives neither a name nor a label
- search: name the bound a filter passed, 101 values past 100, and gather a list's documents once rather than join them value by value
- records: refuse a query field the bun and python sdks do not know, naming it, rather than drop it
- sql: read rows past one answer inside a transaction over the wire, in parts a client of 0.11 joins, and refuse an older client in words that keep the read inside
- js: write an Error's causes and an Error inside a field as their stacks, and refuse a logger whose stream is not text
Full history: v0.10.0...v0.11.0.