@arbidocs/cli 0.4.60 → 0.4.62
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 +25 -0
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.4.62
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.60...HEAD)
|
|
6
|
+
|
|
7
|
+
### 🚀 Enhancements
|
|
8
|
+
|
|
9
|
+
- ⚠️ Drop memory wp_type from SDK and CLI ([9bad23c94](https://github.com/arbicity/ARBI-frontend/commit/9bad23c94))
|
|
10
|
+
- **annotations:** Frozen copies are separate documents; redaction log ([449da5d0d](https://github.com/arbicity/ARBI-frontend/commit/449da5d0d))
|
|
11
|
+
- **annotations:** Production reorder, index page, PDF versions and save to workspace ([fb7849a52](https://github.com/arbicity/ARBI-frontend/commit/fb7849a52))
|
|
12
|
+
- **documents:** Versions for every document, email from the viewer, signature details ([579a9961e](https://github.com/arbicity/ARBI-frontend/commit/579a9961e))
|
|
13
|
+
|
|
14
|
+
### 🩹 Fixes
|
|
15
|
+
|
|
16
|
+
- **annotations:** Save a frozen copy as a new version with version_of ([7e39c3647](https://github.com/arbicity/ARBI-frontend/commit/7e39c3647))
|
|
17
|
+
- **documents:** A new version replaces the old one in the files list straight away ([6442b7f8d](https://github.com/arbicity/ARBI-frontend/commit/6442b7f8d))
|
|
18
|
+
- **documents:** Signing still saves the signed copy as a new version ([c4def9b1e](https://github.com/arbicity/ARBI-frontend/commit/c4def9b1e))
|
|
19
|
+
|
|
20
|
+
### 🏡 Chore
|
|
21
|
+
|
|
22
|
+
- Update OpenAPI schema ([1c92153e7](https://github.com/arbicity/ARBI-frontend/commit/1c92153e7))
|
|
23
|
+
|
|
24
|
+
#### ⚠️ Breaking Changes
|
|
25
|
+
|
|
26
|
+
- ⚠️ Drop memory wp_type from SDK and CLI ([9bad23c94](https://github.com/arbicity/ARBI-frontend/commit/9bad23c94))
|
|
27
|
+
|
|
3
28
|
## v0.4.60
|
|
4
29
|
|
|
5
30
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.59...HEAD)
|
package/dist/index.js
CHANGED
|
@@ -3694,7 +3694,7 @@ function getLatestVersion(skipCache = false) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
function getCurrentVersion() {
|
|
3697
|
-
return "0.4.
|
|
3697
|
+
return "0.4.62";
|
|
3698
3698
|
}
|
|
3699
3699
|
function readChangelog(fromVersion, toVersion) {
|
|
3700
3700
|
try {
|
|
@@ -3747,17 +3747,17 @@ function showChangelog(fromVersion, toVersion) {
|
|
|
3747
3747
|
async function checkForUpdates(autoUpdate) {
|
|
3748
3748
|
try {
|
|
3749
3749
|
const latest = getLatestVersion();
|
|
3750
|
-
if (!latest || latest === "0.4.
|
|
3750
|
+
if (!latest || latest === "0.4.62") return;
|
|
3751
3751
|
if (autoUpdate) {
|
|
3752
3752
|
warn(`
|
|
3753
|
-
Your arbi version is out of date (${"0.4.
|
|
3753
|
+
Your arbi version is out of date (${"0.4.62"} \u2192 ${latest}). Updating...`);
|
|
3754
3754
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3755
|
-
showChangelog("0.4.
|
|
3755
|
+
showChangelog("0.4.62", latest);
|
|
3756
3756
|
console.log(`Updated to ${latest}.`);
|
|
3757
3757
|
} else {
|
|
3758
3758
|
warn(
|
|
3759
3759
|
`
|
|
3760
|
-
Your arbi version is out of date (${"0.4.
|
|
3760
|
+
Your arbi version is out of date (${"0.4.62"} \u2192 ${latest}).
|
|
3761
3761
|
Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
|
|
3762
3762
|
);
|
|
3763
3763
|
}
|
|
@@ -3789,10 +3789,10 @@ function markNagShown(latest) {
|
|
|
3789
3789
|
function hintUpdateOnError() {
|
|
3790
3790
|
try {
|
|
3791
3791
|
const cached = readCache();
|
|
3792
|
-
if (!cached || cached.latest === "0.4.
|
|
3792
|
+
if (!cached || cached.latest === "0.4.62") return;
|
|
3793
3793
|
if (!shouldShowNag(cached.latest)) return;
|
|
3794
3794
|
warn(
|
|
3795
|
-
`Your arbi version is out of date (${"0.4.
|
|
3795
|
+
`Your arbi version is out of date (${"0.4.62"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3796
3796
|
);
|
|
3797
3797
|
markNagShown(cached.latest);
|
|
3798
3798
|
} catch {
|
|
@@ -6803,7 +6803,7 @@ function registerUploadCommand(program2) {
|
|
|
6803
6803
|
"Upload via the direct-to-MinIO flow (SecretBox on the client, presigned PUT)"
|
|
6804
6804
|
).option("--folder <name>", "Backend folder for plain-file uploads (direct upload only)").option(
|
|
6805
6805
|
"--wp-type <type>",
|
|
6806
|
-
"Work product type: source (default), skill,
|
|
6806
|
+
"Work product type: source (default), skill, artifact, webpage. Use --wp-type skill with --folder skills/<slug> to upload a SKILL.md."
|
|
6807
6807
|
).option(
|
|
6808
6808
|
"--version-of <docId>",
|
|
6809
6809
|
"Upload a single file as the next version of this document (it becomes the current version)"
|
|
@@ -10998,7 +10998,7 @@ console.info = (...args) => {
|
|
|
10998
10998
|
_origInfo(...args);
|
|
10999
10999
|
};
|
|
11000
11000
|
var program = new commander.Command();
|
|
11001
|
-
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.
|
|
11001
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.62").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
11002
11002
|
registerConfigCommand(program);
|
|
11003
11003
|
registerLoginCommand(program);
|
|
11004
11004
|
registerRegisterCommand(program);
|