0.7.1
- Adds server-side support for
slap_inspect0.2.0: KV and Files partition listings, snapshot log and Yjs document listings, and backward message paging. - Yjs content inspection now infers map and text roots and reports root type mismatches.
- Raises the minimum dependency versions to
slap_yjs0.6.2 andslap_cluster,slap_streams,slap_snapshot_log,slap_kvandslap_files0.6.1.
0.7.0
- Add the
Slapmodule to start the selected Streams, KV, Files and Yjs services under one supervisor. - Breaking change: remove
Slap.Server, theslapapplication callback andSlap.ServerSupervisor. To serve HTTP, addbanditas a dependency and superviseSlapand your listener directly. See the migration instructions. - Breaking change: remove the
slap.serverMix task from the Hex package. Runexamples/server.exswithelixirto try the HTTP APIs. The task remains in the checkout for tests and benchmarks. - Breaking change: the
Slapmodule applies:path,:shardsand:child_optionsfromconfig :slap_streams, Slap.Streams.Clusterandconfig :slap_kv, Slap.KV.Clusterwhen omitted fromstreams:orkv:.Slap.Serverpreviously overrode these values. Before upgrading, remove any values there thatSlapshould not use, or set those keys instreams:andkv:; see the migration instructions. - Replace the library examples guide with Livebook notebooks, and add an architecture guide.
0.6.0
- Uses
slap_slatedb0.4.0, which upgrades SlateDB from 0.17 to 0.18. Rollback to SlateDB 0.17 is not guaranteed; see the upgrade precautions.
0.5.1
- Add guides for the kitchen sink demo, library examples, standalone server, and development tools, included in the Hex package and HexDocs. Move the shared package overview into a guide.
- Distinguish package and monorepo GitHub links in package metadata.
0.5.0
- Breaking change: if using an existing Streams store written by
slap_streams0.4.0 or earlier, perform the offline metadata upgrade before starting a cluster with this release. Stop all nodes using that store, take a backup, and follow the upgrade instructions. - If using local storage (
{:local, directory}), writes now share one exclusive OS lock per store root. Before starting this release, stop all processes running older Slap versions that access the same store; older versions do not take this lock. Writes to local object storage now sync to disk; see theslap_slatedbchangelog. - Breaking change: the Streams options
:max_fork_copy_bytesand:fork_copy_graceare replaced by:max_fork_depthand:creation_grace; see theslap_streamschangelog. - Breaking change: y_ex 0.13 returns Yjs buffer values as
%Yex.Buffer{data: bytes}. See theslap_yjschangelog. - Services refuse to start if the configured shard count differs from the
count used to create the store; see the
slap_clusterchangelog. - KV writes and linearizable reads now have default limits on requests waiting
for durability. The KV HTTP API returns 503 (
overloaded) if other pending requests leave too little capacity, or 413 (request_too_large) if the request exceeds a byte limit by itself. Configure these limits throughkv: [child_options: ...]; see Limits on pending work. - Serves atomic JSON KV batches at
POST /v1/kv/{partition}. - Adds server-side support for Slap Inspect across all services. Install the inspector separately.
- Adds a kitchen sink demo (
examples/kitchen_sink.exs) that runs every service with in-memory sample data and prints Slap Inspect commands. - Updates the six server libraries previously at 0.4.0 to 0.5.0 and
slap_slatedbto 0.3.0.
0.4.0
- Breaking change: local Yjs awareness publishers must subscribe and claim
their client IDs before submitting awareness messages. See the
slap_yjschangelog for the ownership requirements and multi-node limitation. - Updates
slap_cluster,slap_streams,slap_snapshot_log,slap_yjs,slap_kv, andslap_filesdependencies to 0.4.0.
0.3.0
- Requires Erlang/OTP 26.2 or later through the new
slap_yjsdependency. - Service
:settingsnow merge with the cluster defaults.flush_intervalremains 10 ms unless explicitly set. - Adds
slap_snapshot_log,slap_yjs, andslap_filesas dependencies. Installingslapinstalls all seven server libraries. The standalone HTTP server continues to serve Streams and KV.
0.2.0
- Uses
slap_slatedb0.2.0, which upgrades SlateDB from 0.16 to 0.17. Databases written by 0.1.0 open unchanged. slap.serverruns without a Mix project, viaMix.install.
0.1.0
Initial release of slap.