You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,18 @@ The `Unreleased` section name is replaced by the expected version of next releas
16
16
-`Equinox.CosmosStore`: Group metrics by Category; split out `Tip` activity [#453](https://github.com/jet/equinox/pull/453)
17
17
-`Equinox.CosmosStore`: Support Ingesting unfolds [#460](https://github.com/jet/equinox/pull/460)
18
18
-`Equinox.CosmosStore.EventsContext.Sync`: Support syncing of unfolds [#460](https://github.com/jet/equinox/pull/460)
19
+
-`eqx`: `-Q` flag omits timestamps from console output logging [#459](https://github.com/jet/equinox/pull/459)
20
+
-`eqx destroy`: Support for deleting the items (documents) underlying a category/stream/arbitrary `WHERE` clause [#473](https://github.com/jet/equinox/pull/473)
21
+
-`eqx top`: Support for analyzing space usage for event and view containers by category and/or stream [#473](https://github.com/jet/equinox/pull/473)
19
22
-`eqx dump`, `eqx query`: `-sl` Support for specifying streams to dump via a [CosmosDB `LIKE` expression](https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/query/keywords#like)[#473](https://github.com/jet/equinox/pull/473)
-`eqx destroy`: Support for deleting the items(documents) underlying a category/stream/arbitrary `WHERE` clause [#473](https://github.com/jet/equinox/pull/473)
22
24
-`eqx stats`: `-O`, `-N` flags extract oldest and newest `_ts` within a store [#459](https://github.com/jet/equinox/pull/459)
23
-
-`eqx stats`: `-U` flag to count streams with unfolds and total number thereof; `-I` alias relabel Documents as Items[#464](https://github.com/jet/equinox/pull/464)
25
+
-`eqx stats`: `-U` flag to count streams with unfolds and total number thereof [#464](https://github.com/jet/equinox/pull/464)
24
26
-`eqx stats`: `-I` flag; relabel Documents as Items, retaining existing `-D` flag [#464](https://github.com/jet/equinox/pull/464)
25
-
-`eqx top`: Support for analyzing space usage for event and view containers by category and/or stream [#473](https://github.com/jet/equinox/pull/473)
26
-
-`eqx`: `-Q` flag omits timestamps from console output logging [#459](https://github.com/jet/equinox/pull/459)
27
27
28
28
### Changed
29
29
30
+
-`Equinox.*Store`,`Equinox.*Store.Prometheus`: Pin `Equinox` dependencies to `[4.0.0, 5.0.0)`][#448](https://github.com/jet/equinox/pull/448)
30
31
-`Equinox.CosmosStore`: Update `System.Text.Json` dep to `6.0.10` per [CVE-2024-43485](https://github.com/advisories/GHSA-8g4q-xg66-9fp4)[#470](https://github.com/jet/equinox/pull/470)
31
32
-`Equinox.CosmosStore`: Minimum `Microsoft.Azure.Cosmos` requirement updated to `3.43.1` to avail of integrated `System.Text.Json` support [#467](https://github.com/jet/equinox/pull/467)
# > Querying Default: SELECT c.p, c._etag, c.u[0].d FROM c WHERE c.p LIKE "$Us%" AND EXISTS (SELECT VALUE u FROM u IN c.u WHERE u.c = "Snapshotted") {}
393
+
# > Querying Default: SELECT c.p, c.u[0].D, c.u[0].d, c._etag FROM c WHERE c.p LIKE "$Us%" AND EXISTS (SELECT VALUE u FROM u IN c.u WHERE u.c = "Snapshotted") {}
394
394
# > Page 7166s, 7166u, 0e 320.58RU 3.9s {}
395
395
# > Page 1608s, 1608u, 0e 68.59RU 0.9s {}
396
396
# > TOTALS 1c, 8774s, 389.17RU 4.7s {}
@@ -403,7 +403,7 @@ While Equinox is implemented in F#, and F# is a great fit for writing event-sour
403
403
404
404
# add criteria filtering based on an Uncompressed Unfold
# > Querying Default: SELECT c.p, c._etag, c.u[0].d FROM c WHERE c.p LIKE "$User-%" AND EXISTS (SELECT VALUE u FROM u IN c.u WHERE u.c = "EmailIndex" AND u.d.email = "[email protected]") {}
406
+
# > Querying Default: SELECT c.p, c.u[0].D, c.u[0].d, c._etag FROM c WHERE c.p LIKE "$User-%" AND EXISTS (SELECT VALUE u FROM u IN c.u WHERE u.c = "EmailIndex" AND u.d.email = "[email protected]") {}
407
407
# > Page 0s, 0u, 0e 2.8RU 0.7s {}
408
408
# > TOTALS 0c, 0s, 2.80RU 0.7s {} # 👈 only 2.8RU if nothing is returned
let inlinemiB x = Equinox.CosmosStore.Linq.Internal.miB x
16
18
17
19
let [<Literal>]appName="equinox-tool"
18
20
@@ -118,7 +120,7 @@ and [<NoComparison; NoEquality; RequireSubcommand>] StatsParameters =
118
120
| Events ->"Count the number of Events in the store."
119
121
| Unfolds ->"Count the number of Unfolds in the store."
120
122
| Streams ->"Count the number of Streams in the store."
121
-
| Items ->"Count the number of Items(Documents) in the store."
123
+
| Items ->"Count the number of Items (documents) in the store."
122
124
| Oldest ->"Oldest document, based on the _ts field"
123
125
| Newest ->"Newest document, based on the _ts field"
124
126
| Parallel ->"Run in Parallel (CAREFUL! can overwhelm RU allocations)."
@@ -144,17 +146,17 @@ and [<NoComparison; NoEquality; RequireSubcommand>] QueryParameters =
144
146
| CategoryLike _->"Specify category name to match against `p` as a Cosmos LIKE expression (with `%` as wildcard, e.g. `$UserServices-%`)."
145
147
| UnfoldName _->"Specify unfold Name to match against `u.c`, e.g. `Snapshotted`"
146
148
| UnfoldCriteria _->"Specify constraints on Unfold (reference unfold fields via `u.d.`, top level fields via `c.`), e.g. `u.d.name = \"TenantName1\"`."
147
-
| Mode _->"default: `_etag` plus snapwithStream (_etag, p, u[0].d). <- Default for normal queries\n"+
148
-
"snaponly: Only read `u[0].d`\n"+
149
-
"snapwithstream: Read `u[0].d` and `p` (stream name), but not `_etag`.\n"+
149
+
| Mode _->"snaponly: Only read `u[0].d+D`\n"+
150
+
"snapwithstream: As per `snaponly`, but add `p` (stream name)`.\n"+
151
+
"default: As per `snapwithstream`, but add `_etag`\n"+
150
152
"readonly: Only read `u`nfolds, not `_etag`.\n"+
151
153
"readwithstream: Read `u`nfolds and `p` (stream name), but not `_etag`.\n"+
152
-
"raw: Read all Items(documents) in full. <- Default when Output File specified\n"
154
+
"raw: Read Items(documents) in full. <- Default when Output File specified"
153
155
| File _->"Export full retrieved JSON to file. NOTE this switches the default mode to `Raw`"
154
156
| Pretty ->"Render the JSON indented over multiple lines"
155
157
| Console ->"Also emit the JSON to the console. Default: Gather statistics (but only write to a File if specified)"
156
158
| Cosmos _->"Parameters for CosmosDB."
157
-
and [<RequireQualifiedAccess>]Mode=Default|SnapOnly|SnapWithStream| ReadOnly | ReadWithStream | Raw
159
+
and [<RequireQualifiedAccess>]Mode=SnapOnly|SnapWithStream|Default| ReadOnly | ReadWithStream | Raw
0 commit comments