github mozilla-services/syncstorage-rs 0.22.0

14 hours ago

Test

  • molotov sync loadtests (#2052) (408a23fe)
  • rollback transaction in tests relying on Spanner emulator (#2045) (6c6c0ffd)
  • fix flake in test_users_with_the_same_batch_id_get_separate_data (#1981) (01edad76)

Breaking Changes

Bug Fixes

  • set new node's available = capacity (#2111) (33edb814)
  • imeplement security guidelines for github actions (#2096) (47fe53e4)
  • adjust tokenserver scripts per postgres (#2086) (7b765be5)
  • re-add tokenserver/spanner scripts to the final docker (#2083) (f2b71995)
  • get_storage_timestamp/lock_for_read should ignore PRETOUCH_DT (#2067) (0d780c74)
  • move version.json to the root (#2041) (e8a392b0)
  • correct the JWK env var examples/docs (#2022) (d26ca214)
  • preserve the uid ordering by sorting in reverse (#2017) (574f3552)
  • further downgrade mermaid, internal dep env problem (#1974) (a3ca41fe)
  • update workflow not use script (#1972) (38fce2f3)
  • point to tokenserver api (#1970) (d05cf818)
  • address reserve and custom collections (#1950) (8b15ac53)
  • preserve existing value on batch append if new value is null/empty (#1943) (424ab1e7)
  • ensure Postgres return types and Rust value types match (#1940) (a94d702c)
  • initializing the app once suffices (#1937) (afaafc57)
  • set collection id col to auto-incr and fix get_collection_id (#1929) (9bc614d7)
  • mariadb compatibility (b1ca7b32, closes #1753)
  • tokenserver: use actual postgres post_user in release build (d5de9b14)

Refactor

  • resolve vulns and upgrade (#1788) (88e7eb9c)
  • extract a PgDb::check_quota method (4b399232)
  • use u64 for DEFAULT_MAX_QUOTA_LIMIT (f8d63999)
  • divvy up the db module (30bb0556)
  • divvy up tokenserver-postgres's db module (eea08fb2)
  • tokenserver-postgres models/orm_models/schema -> db (65becde0)
  • divvy up tokenserver-mysql's db module (51e487d1)
  • tokenserver-mysql models/pool/migrations -> db (992b1908)
  • divvy up the db/batch impls into their own mods (7ecab8bb)
  • models/batch/schema/diesel_ext -> db (4145a469)
  • move syncstorage-mysql's error -> db-common (e8d89d7a)
  • separate batch calls into a BatchDb trait (01566137)
  • stream/support/BATCH_COMMIT.txt -> db (da27f9de)
  • String -> &str (21bcc42f)
  • divvy up the db impl into its own mod (84de3272)
  • models/batch -> db (80358fe6)
  • rmv last insert id, simplify queries, add check (#1841) (8e3f3670)
  • move syncstorage's Db to async-trait (#1830) (d32c669b)
  • kill SpannerDb's RefCell (#1826) (613f6ed3)
  • kill r2d2 references, share From (bcf425c6)
  • move shared tokenserver db into tokenserver-db-common (#1801) (40b21345)
  • db: return only a SyncTimestamp from post_bsos db fns (730d6b81)
  • metrics: make hostname in metrics optional (#1880) (9e0d3698)

Features

Chore

Doc

Don't miss a new syncstorage-rs release

NewReleases is sending notifications on new releases.