Skip to content

Commit d9467ab

Browse files
committed
release: Revchiver v0.7.0
1 parent da7e431 commit d9467ab

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

packages/revchiver/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# v6.0.0 (2023-01-14)
1+
# v0.7.0 (2025-01-11)
2+
3+
- BREAKING: Revchiver now requires Node v18 or later and Revolt.JS v7.
4+
- BREAKING: `archiveChannel()` now takes 3 parameters and requries a `Client` object as its first parameter.
5+
- The package should now be smaller.
6+
7+
# v0.6.0 (2023-01-14)
28

39
- BREAKING: You must now import functions from the package itself - replace any imports from `revchiver/dist` with imports from `revchiver`.
410
- Reactions are now archived.

packages/revchiver/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22

33
Archiving library for Revolt.
44

5+
## Requirements
6+
7+
Revchiver requires Node 18 or later and Revolt.JS v7.
8+
59
## Usage
610

711
Basic example - **make sure to pass Revolt.JS messages to the function**:
812

913
```ts
1014
import { archiveChannel } from "revchiver";
1115

16+
const client = "<insert revolt.js client object here>";
1217
const msg = "<insert revolt.js message object here>";
1318
const ignoredMsgs = ["array", "of", "message", "objects"];
1419

15-
const data = await archiveChannel(msg, ignoredMsgs);
20+
const data = await archiveChannel(client, msg, ignoredMsgs);
1621
```

packages/revchiver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "revchiver",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "Archiving library for Revolt.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)