0.7.1

  • Adds server-side support for slap_inspect 0.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_yjs 0.6.2 and slap_cluster, slap_streams, slap_snapshot_log, slap_kv and slap_files 0.6.1.

0.7.0

  • Add the Slap module to start the selected Streams, KV, Files and Yjs services under one supervisor.
  • Breaking change: remove Slap.Server, the slap application callback and Slap.ServerSupervisor. To serve HTTP, add bandit as a dependency and supervise Slap and your listener directly. See the migration instructions.
  • Breaking change: remove the slap.server Mix task from the Hex package. Run examples/server.exs with elixir to try the HTTP APIs. The task remains in the checkout for tests and benchmarks.
  • Breaking change: the Slap module applies :path, :shards and :child_options from config :slap_streams, Slap.Streams.Cluster and config :slap_kv, Slap.KV.Cluster when omitted from streams: or kv:. Slap.Server previously overrode these values. Before upgrading, remove any values there that Slap should not use, or set those keys in streams: and kv:; see the migration instructions.
  • Replace the library examples guide with Livebook notebooks, and add an architecture guide.

0.6.0

  • Uses slap_slatedb 0.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_streams 0.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 the slap_slatedb changelog.
  • Breaking change: the Streams options :max_fork_copy_bytes and :fork_copy_grace are replaced by :max_fork_depth and :creation_grace; see the slap_streams changelog.
  • Breaking change: y_ex 0.13 returns Yjs buffer values as %Yex.Buffer{data: bytes}. See the slap_yjs changelog.
  • Services refuse to start if the configured shard count differs from the count used to create the store; see the slap_cluster changelog.
  • 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 through kv: [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_slatedb to 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_yjs changelog for the ownership requirements and multi-node limitation.
  • Updates slap_cluster, slap_streams, slap_snapshot_log, slap_yjs, slap_kv, and slap_files dependencies to 0.4.0.

0.3.0

  • Requires Erlang/OTP 26.2 or later through the new slap_yjs dependency.
  • Service :settings now merge with the cluster defaults. flush_interval remains 10 ms unless explicitly set.
  • Adds slap_snapshot_log, slap_yjs, and slap_files as dependencies. Installing slap installs all seven server libraries. The standalone HTTP server continues to serve Streams and KV.

0.2.0

  • Uses slap_slatedb 0.2.0, which upgrades SlateDB from 0.16 to 0.17. Databases written by 0.1.0 open unchanged.
  • slap.server runs without a Mix project, via Mix.install.

0.1.0

Initial release of slap.