pg-introspection 1.0.0-rc.4 → 1.0.0
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/README.md +2 -3
- package/package.json +1 -13
- package/CHANGELOG.md +0 -259
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# pg-introspection
|
|
2
2
|
|
|
3
3
|
[](https://github.com/sponsors/benjie)
|
|
4
|
-
[](https://patreon.com/benjie)
|
|
5
4
|
[](http://discord.gg/graphile)
|
|
6
|
-
[](https://bsky.app/profile/graphile.org)
|
|
6
|
+
[](https://fosstodon.org/@graphile)
|
|
7
7
|
|
|
8
8
|
A strongly-typed PostgreSQL introspection library for PostgreSQL built
|
|
9
9
|
automatically from the
|
|
@@ -24,7 +24,6 @@ via sponsorship.
|
|
|
24
24
|
And please give some love to our featured sponsors 🤩:
|
|
25
25
|
|
|
26
26
|
<table><tr>
|
|
27
|
-
<td align="center"><a href="https://www.the-guild.dev/"><img src="https://graphile.org/images/sponsors/theguild.png" width="90" height="90" alt="The Guild" /><br />The Guild</a> *</td>
|
|
28
27
|
<td align="center"><a href="https://gosteelhead.com/"><img src="https://graphile.org/images/sponsors/steelhead.svg" width="90" height="90" alt="Steelhead" /><br />Steelhead</a> *</td>
|
|
29
28
|
</tr></table>
|
|
30
29
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pg-introspection",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Strongly typed PostgreSQL introspection library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "node --experimental-strip-types --test",
|
|
9
|
-
"prepack": "tsc -b"
|
|
10
|
-
},
|
|
11
7
|
"repository": {
|
|
12
8
|
"type": "git",
|
|
13
9
|
"url": "git+https://github.com/graphile/crystal.git"
|
|
@@ -30,14 +26,6 @@
|
|
|
30
26
|
"url": "https://github.com/graphile/crystal/issues"
|
|
31
27
|
},
|
|
32
28
|
"homepage": "https://github.com/graphile/crystal/tree/main/utils/pg-introspection",
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/debug": "^4.1.12",
|
|
35
|
-
"@types/jest": "^30.0.0",
|
|
36
|
-
"@types/node": "^22.19.1",
|
|
37
|
-
"jest": "^30.2.0",
|
|
38
|
-
"ts-node": "^10.9.2",
|
|
39
|
-
"typescript": "^5.9.3"
|
|
40
|
-
},
|
|
41
29
|
"dependencies": {
|
|
42
30
|
"tslib": "^2.8.1"
|
|
43
31
|
},
|
package/CHANGELOG.md
DELETED
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
# pg-introspection
|
|
2
|
-
|
|
3
|
-
## 1.0.0-rc.4
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- [#2910](https://github.com/graphile/crystal/pull/2910)
|
|
8
|
-
[`9eb3829`](https://github.com/graphile/crystal/commit/9eb3829ea337041e4585e0cfeb63b44e87d7d14f)
|
|
9
|
-
Thanks [@benjie](https://github.com/benjie)! - Use consistent type export
|
|
10
|
-
syntax
|
|
11
|
-
|
|
12
|
-
- [`a3722d6`](https://github.com/graphile/crystal/commit/a3722d613bc6fb9e32f167aae9a31eaa422ceef1)
|
|
13
|
-
Thanks [@benjie](https://github.com/benjie)! - Refactor to enable TypeScript
|
|
14
|
-
options rewriteRelativeImportExtensions and erasableSyntaxOnly (including
|
|
15
|
-
using .ts extensions in source code)
|
|
16
|
-
|
|
17
|
-
- [#2922](https://github.com/graphile/crystal/pull/2922)
|
|
18
|
-
[`e1fcecc`](https://github.com/graphile/crystal/commit/e1fcecc4fee203e7f41fdd46fa87fdf8ef466a2e)
|
|
19
|
-
Thanks [@benjaie](https://github.com/benjaie)! - Get description and tags from
|
|
20
|
-
an index (shortcut).
|
|
21
|
-
|
|
22
|
-
## 1.0.0-rc.3
|
|
23
|
-
|
|
24
|
-
### Patch Changes
|
|
25
|
-
|
|
26
|
-
- [#2873](https://github.com/graphile/crystal/pull/2873)
|
|
27
|
-
[`0772086`](https://github.com/graphile/crystal/commit/0772086411a55d56b4e345cff1eef133eee31b36)
|
|
28
|
-
Thanks [@benjie](https://github.com/benjie)! - Update TypeScript configuration
|
|
29
|
-
to support Node 22 minimum
|
|
30
|
-
|
|
31
|
-
- [#2888](https://github.com/graphile/crystal/pull/2888)
|
|
32
|
-
[`1a56db2`](https://github.com/graphile/crystal/commit/1a56db2f53bc455a3d3ba6555a2cd777b27b271c)
|
|
33
|
-
Thanks [@benjaie](https://github.com/benjaie)! - Node v22+ is required for
|
|
34
|
-
this module.
|
|
35
|
-
|
|
36
|
-
- [#2856](https://github.com/graphile/crystal/pull/2856)
|
|
37
|
-
[`db3d7cb`](https://github.com/graphile/crystal/commit/db3d7cbf9f0c696906142f54be15e26cedc703e3)
|
|
38
|
-
Thanks [@benjie](https://github.com/benjie)! - Update introspection for PG18
|
|
39
|
-
|
|
40
|
-
## 1.0.0-rc.2
|
|
41
|
-
|
|
42
|
-
### Patch Changes
|
|
43
|
-
|
|
44
|
-
- [#2829](https://github.com/graphile/crystal/pull/2829)
|
|
45
|
-
[`a82e6fa`](https://github.com/graphile/crystal/commit/a82e6fae099f7e9d62fb3fc1ee173368cdabca27)
|
|
46
|
-
Thanks [@benjie](https://github.com/benjie)! - Update dependency ranges.
|
|
47
|
-
|
|
48
|
-
## 1.0.0-rc.1
|
|
49
|
-
|
|
50
|
-
### Patch Changes
|
|
51
|
-
|
|
52
|
-
- [`8a5a7c5`](https://github.com/graphile/crystal/commit/8a5a7c536fc4b9b702600c5cc3d413724670c327)
|
|
53
|
-
Thanks [@benjie](https://github.com/benjie)! - Bump to release candidate
|
|
54
|
-
|
|
55
|
-
## 0.0.1-beta.13
|
|
56
|
-
|
|
57
|
-
### Patch Changes
|
|
58
|
-
|
|
59
|
-
- [#2725](https://github.com/graphile/crystal/pull/2725)
|
|
60
|
-
[`1ec7ee5`](https://github.com/graphile/crystal/commit/1ec7ee55ed08f09e8a8721510778fd76b300c44b)
|
|
61
|
-
Thanks [@benjie](https://github.com/benjie)! - Make it easier to get parent
|
|
62
|
-
and child from PgInherits
|
|
63
|
-
|
|
64
|
-
## 0.0.1-beta.12
|
|
65
|
-
|
|
66
|
-
### Patch Changes
|
|
67
|
-
|
|
68
|
-
- [#2587](https://github.com/graphile/crystal/pull/2587)
|
|
69
|
-
[`6abfd4f`](https://github.com/graphile/crystal/commit/6abfd4fcad7633da3c50b2d3ea82979a3a27e317)
|
|
70
|
-
Thanks [@ttfkam](https://github.com/ttfkam)! - Refactor ACL parsing for
|
|
71
|
-
marginal performance gain (thanks @ttfkam!)
|
|
72
|
-
|
|
73
|
-
- [#2587](https://github.com/graphile/crystal/pull/2587)
|
|
74
|
-
[`9aa2637`](https://github.com/graphile/crystal/commit/9aa26374758e8489515a70a334c7ea4d345c6369)
|
|
75
|
-
Thanks [@ttfkam](https://github.com/ttfkam)! - Fix parsing and serialization
|
|
76
|
-
of awkward role identifiers, and fix order of permissions to match Postgres'
|
|
77
|
-
order.
|
|
78
|
-
|
|
79
|
-
## 0.0.1-beta.11
|
|
80
|
-
|
|
81
|
-
### Patch Changes
|
|
82
|
-
|
|
83
|
-
- [#2482](https://github.com/graphile/crystal/pull/2482)
|
|
84
|
-
[`459e1869a2ec58925b2bac5458af487c52a8ca37`](https://github.com/graphile/crystal/commit/459e1869a2ec58925b2bac5458af487c52a8ca37)
|
|
85
|
-
Thanks [@benjie](https://github.com/benjie)! - Minimum version of Node.js
|
|
86
|
-
bumped to Node 22 (the latest LTS).
|
|
87
|
-
|
|
88
|
-
## 0.0.1-beta.10
|
|
89
|
-
|
|
90
|
-
### Patch Changes
|
|
91
|
-
|
|
92
|
-
- [#2256](https://github.com/graphile/crystal/pull/2256)
|
|
93
|
-
[`dc5746594`](https://github.com/graphile/crystal/commit/dc5746594d7870a13296f405f4327f89d17dac1e)
|
|
94
|
-
Thanks [@benjie](https://github.com/benjie)! - Add support for introspecting
|
|
95
|
-
RLS policies.
|
|
96
|
-
|
|
97
|
-
## 0.0.1-beta.9
|
|
98
|
-
|
|
99
|
-
### Patch Changes
|
|
100
|
-
|
|
101
|
-
- [#2202](https://github.com/graphile/crystal/pull/2202)
|
|
102
|
-
[`2efadc0f8`](https://github.com/graphile/crystal/commit/2efadc0f80c3a0c172fb94c770afecc5447e832b)
|
|
103
|
-
Thanks [@benjie](https://github.com/benjie)! - Postgres v17 support
|
|
104
|
-
|
|
105
|
-
## 0.0.1-beta.8
|
|
106
|
-
|
|
107
|
-
### Patch Changes
|
|
108
|
-
|
|
109
|
-
- [#1962](https://github.com/graphile/crystal/pull/1962)
|
|
110
|
-
[`7606a5b87`](https://github.com/graphile/crystal/commit/7606a5b87aed747fad4eb11744ef7b01cfa3b879)
|
|
111
|
-
Thanks [@DanielFGray](https://github.com/DanielFGray)! - Export PgEntity type
|
|
112
|
-
in pg-introspection
|
|
113
|
-
|
|
114
|
-
## 0.0.1-beta.7
|
|
115
|
-
|
|
116
|
-
### Patch Changes
|
|
117
|
-
|
|
118
|
-
- [#1943](https://github.com/graphile/crystal/pull/1943)
|
|
119
|
-
[`46d8289b4`](https://github.com/graphile/crystal/commit/46d8289b44ab10aea1ff3d2915184650d6896b81)
|
|
120
|
-
Thanks [@benjie](https://github.com/benjie)! - `pg-introspection` now exports
|
|
121
|
-
`reservedWords` which are a list of reserved keywords in PostgreSQL (in
|
|
122
|
-
uppercase; though SQL is case insensitive).
|
|
123
|
-
|
|
124
|
-
## 0.0.1-beta.6
|
|
125
|
-
|
|
126
|
-
### Patch Changes
|
|
127
|
-
|
|
128
|
-
- [#1927](https://github.com/graphile/crystal/pull/1927)
|
|
129
|
-
[`00d32d887`](https://github.com/graphile/crystal/commit/00d32d887a6ae01374a4fda1babab7c8f14832c0)
|
|
130
|
-
Thanks [@benjie](https://github.com/benjie)! - Excludes table constraints on
|
|
131
|
-
tables from extensions if configured to not include extensions.
|
|
132
|
-
|
|
133
|
-
- [#1927](https://github.com/graphile/crystal/pull/1927)
|
|
134
|
-
[`c62eee10b`](https://github.com/graphile/crystal/commit/c62eee10b445f9455bf2a0524ad2b828bdf4ffa6)
|
|
135
|
-
Thanks [@benjie](https://github.com/benjie)! - Add pg_am to pg-introspection
|
|
136
|
-
to enable determining index access method
|
|
137
|
-
|
|
138
|
-
## 0.0.1-beta.5
|
|
139
|
-
|
|
140
|
-
### Patch Changes
|
|
141
|
-
|
|
142
|
-
- [#1894](https://github.com/graphile/crystal/pull/1894)
|
|
143
|
-
[`7851d89ab`](https://github.com/graphile/crystal/commit/7851d89ab4216b0252583f0068a69900fa2ddc88)
|
|
144
|
-
Thanks [@benjie](https://github.com/benjie)! - Fix logic around RBAC
|
|
145
|
-
permissions for tables and sequences.
|
|
146
|
-
|
|
147
|
-
- [#1893](https://github.com/graphile/crystal/pull/1893)
|
|
148
|
-
[`470ee4000`](https://github.com/graphile/crystal/commit/470ee40008689de7cf6f206a9897abbe4891ff9b)
|
|
149
|
-
Thanks [@benjie](https://github.com/benjie)! - Import latest PG16 docs into
|
|
150
|
-
pg-introspection
|
|
151
|
-
|
|
152
|
-
## 0.0.1-beta.4
|
|
153
|
-
|
|
154
|
-
### Patch Changes
|
|
155
|
-
|
|
156
|
-
- [#1801](https://github.com/graphile/crystal/pull/1801)
|
|
157
|
-
[`2d447a6b4`](https://github.com/graphile/crystal/commit/2d447a6b45d7db2813bd957f412cd959e2185759)
|
|
158
|
-
Thanks [@benjie](https://github.com/benjie)! - Fix bug where the owner of a
|
|
159
|
-
database object wasn't seen as having any privileges.
|
|
160
|
-
|
|
161
|
-
## 0.0.1-beta.3
|
|
162
|
-
|
|
163
|
-
### Patch Changes
|
|
164
|
-
|
|
165
|
-
- [#514](https://github.com/graphile/crystal-pre-merge/pull/514)
|
|
166
|
-
[`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)
|
|
167
|
-
Thanks [@benjie](https://github.com/benjie)! - Update package.json repository
|
|
168
|
-
information
|
|
169
|
-
|
|
170
|
-
## 0.0.1-beta.2
|
|
171
|
-
|
|
172
|
-
### Patch Changes
|
|
173
|
-
|
|
174
|
-
- [#496](https://github.com/benjie/crystal/pull/496)
|
|
175
|
-
[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
|
|
176
|
-
Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
|
|
177
|
-
through major versions).
|
|
178
|
-
|
|
179
|
-
## 0.0.1-beta.1
|
|
180
|
-
|
|
181
|
-
### Patch Changes
|
|
182
|
-
|
|
183
|
-
- [`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)
|
|
184
|
-
Thanks [@benjie](https://github.com/benjie)! - Bump all packages to beta
|
|
185
|
-
|
|
186
|
-
## 0.0.1-alpha.4
|
|
187
|
-
|
|
188
|
-
### Patch Changes
|
|
189
|
-
|
|
190
|
-
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
191
|
-
[`bc14d488d`](https://github.com/benjie/crystal/commit/bc14d488d5385f350b6d377716e43c46a405dc57)
|
|
192
|
-
Thanks [@benjie](https://github.com/benjie)! - When sorting, specify a
|
|
193
|
-
concrete locale to localeCompare to ensure stable ordering across machines.
|
|
194
|
-
|
|
195
|
-
## 0.0.1-alpha.3
|
|
196
|
-
|
|
197
|
-
### Patch Changes
|
|
198
|
-
|
|
199
|
-
- [#386](https://github.com/benjie/crystal/pull/386)
|
|
200
|
-
[`8230fcaeb`](https://github.com/benjie/crystal/commit/8230fcaeb0286c905fc0dad4b7af2d94bac88a44)
|
|
201
|
-
Thanks [@benjie](https://github.com/benjie)! - If an issue occurs whilst
|
|
202
|
-
retrieving attributes for a constraint, we now log an error and return an
|
|
203
|
-
empty array.
|
|
204
|
-
|
|
205
|
-
## 0.0.1-alpha.2
|
|
206
|
-
|
|
207
|
-
### Patch Changes
|
|
208
|
-
|
|
209
|
-
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
|
|
210
|
-
Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
|
|
211
|
-
TypeScript/tslib
|
|
212
|
-
|
|
213
|
-
## 0.0.1-alpha.1
|
|
214
|
-
|
|
215
|
-
### Patch Changes
|
|
216
|
-
|
|
217
|
-
- [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
|
|
218
|
-
Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
|
|
219
|
-
https://postgraphile.org/news/2023-04-26-version-5-alpha
|
|
220
|
-
|
|
221
|
-
## 0.0.1-1.1
|
|
222
|
-
|
|
223
|
-
### Patch Changes
|
|
224
|
-
|
|
225
|
-
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
226
|
-
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
227
|
-
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
228
|
-
|
|
229
|
-
## 0.0.1-0.3
|
|
230
|
-
|
|
231
|
-
### Patch Changes
|
|
232
|
-
|
|
233
|
-
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
234
|
-
|
|
235
|
-
## 0.0.1-0.2
|
|
236
|
-
|
|
237
|
-
### Patch Changes
|
|
238
|
-
|
|
239
|
-
- [`677c8f5fc`](undefined) - Create new getTags() introspection helper and use
|
|
240
|
-
it. Rename GraphileBuild.GraphileBuildSchemaOptions to
|
|
241
|
-
GraphileBuild.SchemaOptions. Fix a couple minor inflection bugs. Add some
|
|
242
|
-
missing descriptions. Fix the initial inflection types to not leak
|
|
243
|
-
implementation details. Fix inflectors to use ResolvedPreset rather than
|
|
244
|
-
Preset.
|
|
245
|
-
|
|
246
|
-
## 0.0.1-0.1
|
|
247
|
-
|
|
248
|
-
### Patch Changes
|
|
249
|
-
|
|
250
|
-
- [`9b296ba54`](undefined) - More secure, more compatible, and lots of fixes
|
|
251
|
-
across the monorepo
|
|
252
|
-
|
|
253
|
-
## 0.0.1-0.0
|
|
254
|
-
|
|
255
|
-
### Patch Changes
|
|
256
|
-
|
|
257
|
-
- [#125](https://github.com/benjie/crystal/pull/125)
|
|
258
|
-
[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
|
|
259
|
-
Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
|