@crvouga/mockingbird-service-stripe 3.10.3 → 3.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Changelog — @crvouga/mockingbird-service-stripe
2
2
 
3
+ ## 3.10.5 (2026-11-03)
4
+
5
+ ### Fixes and improvements
6
+
7
+ - generate formatted strings within small length bounds ([f99d6ec](https://github.com/crvouga/mockingbird/commit/f99d6ec248a44e2ac1f6b917ccc4af0698b5fd83))
8
+ - honor minProperties and maxProperties on generated objects ([2df388c](https://github.com/crvouga/mockingbird/commit/2df388c90f242eb55249ecd37f27cb7bdc8d7f59))
9
+ - apply oneOf/anyOf siblings and keep oneOf values in one branch ([4ba8381](https://github.com/crvouga/mockingbird/commit/4ba83815e759a75be200a10cc2230073509eb54b))
10
+ - merge nested allOf and repeated properties instead of replacing them ([d6e805a](https://github.com/crvouga/mockingbird/commit/d6e805a3dbca74f662ac2a8209bf45076e2d2eca))
11
+ - rewrite mounted HTML for any media type case, formaction, srcset and meta refresh ([c70f512](https://github.com/crvouga/mockingbird/commit/c70f5126a340da0217d0217fb9652daf465e1ecb))
12
+ - show a placeholder for an audit event without a time ([2b2611b](https://github.com/crvouga/mockingbird/commit/2b2611b1af75fc48ec91e07ba15b96372946695f))
13
+ - generate integers that honor every bound and any multipleOf ([e3ed193](https://github.com/crvouga/mockingbird/commit/e3ed193a76e9e8f87fd9561440e5dedcd5e79c4f))
14
+ - attach the snapshot download link and revoke its URL later ([a106903](https://github.com/crvouga/mockingbird/commit/a106903abe9d7d5def7f2857e2d7644c4ebcdae2))
15
+ - generate numbers that honor multipleOf and exclusive bounds ([ae2c963](https://github.com/crvouga/mockingbird/commit/ae2c963aa46988f862d5b80e5204c57e27a4204c))
16
+ - stop the page-hide save inheriting the last write's result as `force` ([551c2dc](https://github.com/crvouga/mockingbird/commit/551c2dcd3615f82e70e0cd0b8a11c82a663d18b6))
17
+ - keep the record id in the State table's id column ([2fc9bee](https://github.com/crvouga/mockingbird/commit/2fc9beeba6dd8bfe129993a4ff53fbd2925bf569))
18
+ - prune idempotency keys after 24 hours on the mock clock ([094c8b1](https://github.com/crvouga/mockingbird/commit/094c8b124211ae02901c26eb96cca410434b855a))
19
+ - drop the previous emulator's manifest when switching emulators ([7ed4666](https://github.com/crvouga/mockingbird/commit/7ed46661288662a3789dbe013f1a195905b217e4))
20
+ - reject a migration list that repeats an id, naming it ([47721d9](https://github.com/crvouga/mockingbird/commit/47721d96a29f4b5184322d19c1b10750086e8da4))
21
+ - save and replay a 500 the endpoint produced under an Idempotency-Key ([789bbcc](https://github.com/crvouga/mockingbird/commit/789bbcccb792cddaf27f4f6db6d2fcf2da1d07fe))
22
+ - reserve the manual admin view id ([3d4da92](https://github.com/crvouga/mockingbird/commit/3d4da926182ce609fba44e0fd58abcbb253eee2c))
23
+
24
+ ### Dependencies
25
+
26
+ - `@crvouga/mockingbird-service-sqlite`
27
+
28
+ ## 3.10.4 (2026-11-02)
29
+
30
+ ### Fixes and improvements
31
+
32
+ - compare the admin key in constant time ([2a43141](https://github.com/crvouga/mockingbird/commit/2a43141f50dab41e698c3bbce0c69bf65b40e24e))
33
+
3
34
  ## 3.10.3 (2026-11-02)
4
35
 
5
36
  ### Fixes and improvements
package/README.md CHANGED
@@ -342,6 +342,11 @@ with different parameters is 400 `idempotency_error`; a concurrent request on an
342
342
  (any `parameter_*` error, such as an unknown or missing parameter) is not saved, so the corrected
343
343
  request can be retried under the same key; an error raised once the endpoint ran (a decline,
344
344
  `resource_missing`) is saved and replayed.
345
+ A key is pruned once it is 24 hours old on the mock clock (Stripe keeps keys "at least 24
346
+ hours"), so reusing it after `POST /__admin/clock {"advance": "24h"}` runs a new request.
347
+ As Stripe does, every response the endpoint produced is saved, a 500 included. A fault injected
348
+ with `POST /__admin/faults` (such as the `api_error` preset) answers before the API runs, like a
349
+ failure at Stripe's edge, so it is not saved: once the fault clears, a retry under the same key runs.
345
350
 
346
351
  ### Fault presets
347
352