@fedify/postgres 1.8.0-dev.933 → 1.8.0-dev.936
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 +5 -74
- package/deno.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
[![JSR][JSR badge]][JSR]
|
|
7
7
|
[![npm][npm badge]][npm]
|
|
8
|
-
[![GitHub Actions][GitHub Actions badge]][GitHub Actions]
|
|
9
8
|
|
|
10
9
|
This package provides [Fedify]'s [`KvStore`] and [`MessageQueue`]
|
|
11
10
|
implementations for PostgreSQL:
|
|
@@ -30,8 +29,6 @@ const federation = createFederation({
|
|
|
30
29
|
[JSR badge]: https://jsr.io/badges/@fedify/postgres
|
|
31
30
|
[npm]: https://www.npmjs.com/package/@fedify/postgres
|
|
32
31
|
[npm badge]: https://img.shields.io/npm/v/@fedify/postgres?logo=npm
|
|
33
|
-
[GitHub Actions]: https://github.com/fedify-dev/postgres/actions/workflows/main.yaml
|
|
34
|
-
[GitHub Actions badge]: https://github.com/fedify-dev/postgres/actions/workflows/main.yaml/badge.svg
|
|
35
32
|
[Fedify]: https://fedify.dev/
|
|
36
33
|
[`KvStore`]: https://jsr.io/@fedify/fedify/doc/federation/~/KvStore
|
|
37
34
|
[`MessageQueue`]: https://jsr.io/@fedify/fedify/doc/federation/~/MessageQueue
|
|
@@ -42,76 +39,10 @@ const federation = createFederation({
|
|
|
42
39
|
Installation
|
|
43
40
|
------------
|
|
44
41
|
|
|
45
|
-
### Deno
|
|
46
|
-
|
|
47
|
-
~~~~ sh
|
|
48
|
-
deno add @fedify/postgres
|
|
49
|
-
~~~~
|
|
50
|
-
|
|
51
|
-
### Node.js
|
|
52
|
-
|
|
53
|
-
~~~~ sh
|
|
54
|
-
npm install @fedify/postgres
|
|
55
|
-
~~~~
|
|
56
|
-
|
|
57
|
-
### Bun
|
|
58
|
-
|
|
59
42
|
~~~~ sh
|
|
60
|
-
|
|
43
|
+
deno add jsr:@fedify/postgres # Deno
|
|
44
|
+
npm add @fedify/postgres # npm
|
|
45
|
+
pnpm add @fedify/postgres # pnpm
|
|
46
|
+
yarn add @fedify/postgres # Yarn
|
|
47
|
+
bun add @fedify/postgres # Bun
|
|
61
48
|
~~~~
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
Changelog
|
|
65
|
-
---------
|
|
66
|
-
|
|
67
|
-
### Version 0.4.0
|
|
68
|
-
|
|
69
|
-
To be released.
|
|
70
|
-
|
|
71
|
-
### Version 0.3.0
|
|
72
|
-
|
|
73
|
-
Released on March 28, 2025.
|
|
74
|
-
|
|
75
|
-
- Added `PostgresMessageQueue.enqueueMany()` method for efficiently enqueuing
|
|
76
|
-
multiple messages at once.
|
|
77
|
-
|
|
78
|
-
- Updated *@js-temporal/polyfill* to 0.5.0 for Node.js and Bun. On Deno,
|
|
79
|
-
there is no change because the polyfill is not used.
|
|
80
|
-
|
|
81
|
-
- Added some logging using [LogTape] for the sake of debugging. The following
|
|
82
|
-
categories are used:
|
|
83
|
-
|
|
84
|
-
- `["fedify", "postgres", "kv"]`
|
|
85
|
-
- `["fedify", "postgres", "mq"]`
|
|
86
|
-
|
|
87
|
-
[LogTape]: https://logtape.org/
|
|
88
|
-
|
|
89
|
-
### Version 0.2.2
|
|
90
|
-
|
|
91
|
-
Released on November 18, 2024.
|
|
92
|
-
|
|
93
|
-
- Fixed a bug where binding parameters have not been properly escaped with
|
|
94
|
-
some settings of Postgres.js.
|
|
95
|
-
|
|
96
|
-
### Version 0.2.1
|
|
97
|
-
|
|
98
|
-
Released on November 3, 2024.
|
|
99
|
-
|
|
100
|
-
- Fixed a bug where some scalar values have failed to be stored in the
|
|
101
|
-
database.
|
|
102
|
-
|
|
103
|
-
### Version 0.2.0
|
|
104
|
-
|
|
105
|
-
Released on November 3, 2024.
|
|
106
|
-
|
|
107
|
-
- Fixed a bug where JSON values are double-quoted in the database. Since it's
|
|
108
|
-
a breaking change data-wise, the default values of the following options
|
|
109
|
-
are also changed:
|
|
110
|
-
|
|
111
|
-
- `PostgresKvStoreOptions.tableName` defaults to `"fedify_kv_v2"`.
|
|
112
|
-
- `PostgresMessageQueueOptions.tableName` defaults to
|
|
113
|
-
`"fedify_message_v2"`.
|
|
114
|
-
|
|
115
|
-
### Version 0.1.0
|
|
116
|
-
|
|
117
|
-
Initial release. Released on September 26, 2024.
|
package/deno.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/postgres",
|
|
3
|
-
"version": "1.8.0-dev.
|
|
3
|
+
"version": "1.8.0-dev.936+bb1d6663",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./mod.ts",
|
|
@@ -19,4 +19,4 @@
|
|
|
19
19
|
"check": "deno fmt --check && deno lint && deno check *.ts",
|
|
20
20
|
"test": "deno test --allow-net --allow-env"
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/postgres",
|
|
3
|
-
"version": "1.8.0-dev.
|
|
3
|
+
"version": "1.8.0-dev.936+bb1d6663",
|
|
4
4
|
"description": "PostgreSQL drivers for Fedify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fedify",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"postgres": "^3.4.7",
|
|
54
|
-
"@fedify/fedify": "1.8.0-dev.
|
|
54
|
+
"@fedify/fedify": "1.8.0-dev.936+bb1d6663"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@std/async": "npm:@jsr/std__async@^1.0.13",
|