@geonosis/search 0.3.0 → 0.3.3
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 +79 -0
- package/package.json +4 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# @geonosis/search
|
|
2
|
+
|
|
3
|
+
## 0.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d15a654: **A bump names what the floors it crossed changed, and runs the tier it left behind (#268).** The
|
|
8
|
+
`BY HAND` block was driven by the doctor's required-option FAILs alone, so `--floors latest` across
|
|
9
|
+
a floor minor that changed `sessionDb`'s key printed nothing and the consumer's own tests found it.
|
|
10
|
+
`update` now reads each bumped floor's own `CHANGELOG.md` out of what the install unpacked, for the
|
|
11
|
+
versions crossed, and prints every change its author named — and says so by name when a floor ships
|
|
12
|
+
no changelog to read (measured: `npm pack --dry-run --json` over a floor carries `dist`,
|
|
13
|
+
`package.json`, `README.md` and `LICENSE`; CHANGELOG is not on npm's always-included list, so the
|
|
14
|
+
floors name it in `files` now). A seventh ritual step runs the tier this tree calls `fast` in
|
|
15
|
+
`geonosis.json` after the frozen install: a bump cannot report PASS over a tree it has just
|
|
16
|
+
reddened, and a repo that declares no tier is told so rather than passed over.
|
|
17
|
+
- Updated dependencies [d15a654]
|
|
18
|
+
- Updated dependencies [d15a654]
|
|
19
|
+
- @geonosis/db@0.5.1
|
|
20
|
+
- @geonosis/conformance@0.2.1
|
|
21
|
+
|
|
22
|
+
## 0.3.2
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [5bc2eed]
|
|
27
|
+
- Updated dependencies [ccf04d8]
|
|
28
|
+
- @geonosis/db@0.5.0
|
|
29
|
+
|
|
30
|
+
## 0.3.1
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [9d76504]
|
|
35
|
+
- @geonosis/db@0.4.0
|
|
36
|
+
|
|
37
|
+
## 0.3.0
|
|
38
|
+
|
|
39
|
+
### Minor Changes
|
|
40
|
+
|
|
41
|
+
- 1e57a7f: **The table name is an option, and the migrations say which squawk findings they accept (#244).**
|
|
42
|
+
`search_index` was compiled into the DDL and the provider, so a consumer whose schema already held
|
|
43
|
+
one had to drop theirs. `SearchIndexSettings.table` and `PgFtsOptions.table` name it — default
|
|
44
|
+
`search_index`, and every identifier the DDL builds is derived from it (the primary key, the GIN
|
|
45
|
+
index, the `recent` index), so two of these live in one schema. The shipped `.sql` files carry
|
|
46
|
+
`{{table}}` beside the session tokens, and a name that could close the quotes it is written inside
|
|
47
|
+
is refused. The whole conformance exam runs a second time, on real Postgres 17 and 18, against a
|
|
48
|
+
table this package does not name. Every statement squawk 2.63.0 reports on now ships with the
|
|
49
|
+
finding accepted in squawk's own syntax and the reason on the line above it — measured: 8 findings
|
|
50
|
+
across four rules before, 0 after, rendered or tokenised. `ban-drop-table` was never one of them.
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- 5c32252: **A query with no term in it is refused, not answered with every row (#243).** `?!?` — or a box
|
|
55
|
+
somebody hit the space bar in — carries no letter or digit, so `pgFtsSearchIndex` built a read with
|
|
56
|
+
no match predicate at all and answered with the whole index, ordered and paged: a full scan wearing
|
|
57
|
+
the shape of a search, and the more rows a tenant has the worse it gets. `readSearchQuery` now
|
|
58
|
+
refuses it by `SearchRefusal`, so every provider that reads its query through the contract is fixed
|
|
59
|
+
at once, and the provider's read can no longer lose its predicate. `carriesATerm(terms)` asks the
|
|
60
|
+
same question before the call, for a caller who would rather disable a button than catch. The case
|
|
61
|
+
is in `vocabularyConformance`, so an implementation that answers it is caught by the exam.
|
|
62
|
+
- Updated dependencies [91e1b2d]
|
|
63
|
+
- Updated dependencies [cb21027]
|
|
64
|
+
- @geonosis/db@0.3.0
|
|
65
|
+
|
|
66
|
+
## 0.2.0
|
|
67
|
+
|
|
68
|
+
### Minor Changes
|
|
69
|
+
|
|
70
|
+
- 13ca75b: **Every conformance case that can name its refusal now names it (#213).** `assertRefuses` takes the class or a phrase of the refusal, and five cases were still passing nothing: an index that refused an undeclared filter, value or ordering with any error at all passed the search exam, and a journal that refused a held idempotency key with a raw uniqueness violation passed two of the three cases about it. The search cases require `SearchRefusal` and the journal cases `IdempotencyKeyHeldError` — the classes both contracts already export for exactly this. A subject that refuses with something else now fails, naming what it threw.
|
|
71
|
+
|
|
72
|
+
## 0.1.1
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [bb5e84b]
|
|
77
|
+
- Updated dependencies [54fba77]
|
|
78
|
+
- @geonosis/conformance@0.2.0
|
|
79
|
+
- @geonosis/db@0.2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geonosis/search",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"description": "Full-text search as a domain: an index whose write path derives its own searchable projection, queries answered only inside a declared vocabulary with keyset cursors, and a Postgres provider that runs over an injected executor and ships its DDL as migrations.",
|
|
6
6
|
"keywords": [
|
|
@@ -34,12 +34,13 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
|
+
"CHANGELOG.md",
|
|
37
38
|
"dist",
|
|
38
39
|
"migrations"
|
|
39
40
|
],
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@geonosis/conformance": "^0.2.
|
|
42
|
-
"@geonosis/db": "^0.
|
|
42
|
+
"@geonosis/conformance": "^0.2.1",
|
|
43
|
+
"@geonosis/db": "^0.5.1"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@types/pg": "^8.15.5",
|