Releases: mozilla-services/syncstorage-rs
Releases · mozilla-services/syncstorage-rs
0.22.3
0.22.2
0.22.1
Chore
- capture sentry backtraces (#2166) (f0497396)
- remove HTTP status metric from syncstorage-rs (#2163) (19847721)
- build and push "directly" instead of using mozilla-it/deploy-actions (#2149) (36e5683a)
- upgrade Python for all utils and refactor (#2127) (6b09e994)
- bump rustls-webpki per RUSTSEC-2026-0049 (#2150) (db5834db)
- resolve aws-lc-rs vuln (#2148) (cd18eae5)
Features
- also push a latest tag to ent GAR (#2182) (5513da89)
- single workflow and actions optimizations (#2140) (cf1d30ff)
- (re-)enable timestamp+offset based pagination optimization (#2145) (c1d53b60)
- add logging for acct webhook handler (#2147) (ecb6bd05)
- mozcloud-publish: updated mozcloud-publish workflow to trigger on tokenserver-preview labels and consolidated checks into a job that is required by all build jobs (#2135) (685075e7)
Refactor
Doc
0.22.0
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
- adapt PoolState to usage of deadpool everywhere (#2128) (019bf46a)
- add FxA event webhook endpoint (#2108) (efa8c4b7)
- normalize use of
chronofor time and datetime operations (#2125) (cdd0c3da) - log when initializing a nodes table entry (#2104) (f2e18e2d)
- push postgres dockers to enterprise gar (#2100) (2823c2e8)
- upsert the first storage node record with env var (#2087) (0f759c6f)
- log when Sentry is not configured (#2073) (66d9d11e)
- postgres node type (#2076) (50a739b5)
- stick w/ Continuous Delivery style image tags (#2044) (9ac27a37)
- optimize postgres get_or_create_collection_id (#2028) (935b468c)
- migrate docker hub push to github actions (#2016) (efb70a1f)
- migrate to GitHub Actions for Spanner build and tests (#2015) (25c852a3)
- optimize post_bsos w/ MERGE INTO (eff8f805)
- migrate code checks to github actions (#2005) (3cca75a9)
- kill long removed...
0.21.1
0.21.0
Refactor
- move tokenserver's Db to async-trait (#1799) (9d799a45)
- apply &mut self to syncstorage-mysql (38b4db40)
- switch syncstorage Db methods to &mut self (38cb38fb)
- switch tokenserver Db methods to &mut self (614e3902)
Bug Fixes
- kill unnecessary transactions (savepoints) (#1782) (9381bc68)
- Revert "fix: mysql: Call set_timestamp in lock_for_write_sync." (dfe21646)
- mysql: Replace the user_id%10 in batch_id with a global counter. (2a1268ed)
- mysql: Call set_timestamp in lock_for_write_sync. (d4511cc7)
- Fix usage of Mockito for >0.30.0. (3e37e42d)
- Fix misspelled cfg(test) in tokenserver-auth. (82dd4235)
Test
Chore
- more poetry usage (#1798) (ffade2f8)
- bump tracing-subscriber per RUSTSEC-2025-0055 (d89a05e7)
- Bump validator to 0.19.0. (c924fae7)
- Update Cargo.lock. (dc4e8015)
- Upgrade Diesel to 2.x. (b9507e36)
Features
0.20.1
0.20.0
0.19.1
0.19.0
Refactor
- python imports (#1730) (77254b4a)
- convert db extract calls to async (#1715) (4ddf5b41)
- sync sentry cleanup grpc errors (#1716) (b0c8ac50)
- remove user migration utils (#1710) (f01c21fe)
- move stream code into its own module (a51c0144)
- remove purge_ttl.rs (#1702) (31c3b866)
- quiet dbg calls (#1701) (0e3f7d16)
Bug Fixes
Breaking Changes
Chore
- require minimum mysql 8 (#1717) (69005091, breaks #)
- strip actix-web features (#1713) (dd546f02)
- remove extraneous dependencies (#1700) (0768d497)
Features
- use poetry for dependency management (#1706) (f8715d4e)
- spanner scripts parse gcp project (#1714) (d716ac5d)