@arbidocs/cli 0.4.63 → 0.4.65
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 +35 -0
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.4.65
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.64...HEAD)
|
|
6
|
+
|
|
7
|
+
### 🚀 Enhancements
|
|
8
|
+
|
|
9
|
+
- **annotations:** Markup saved on the server, shown by default ([#1492](https://github.com/arbicity/ARBI-frontend/pull/1492))
|
|
10
|
+
|
|
11
|
+
## v0.4.64
|
|
12
|
+
|
|
13
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.63...HEAD)
|
|
14
|
+
|
|
15
|
+
### 🩹 Fixes
|
|
16
|
+
|
|
17
|
+
- **versions:** Show the reason for each version in the versions list (persona qa-collaborator I01) ([f62c2ad45](https://github.com/arbicity/ARBI-frontend/commit/f62c2ad45))
|
|
18
|
+
- **versions:** Compare with an older version names its version (persona qa-collaborator I02) ([3c30682b1](https://github.com/arbicity/ARBI-frontend/commit/3c30682b1))
|
|
19
|
+
- **documents:** Explain why a signed copy has no Sign action (persona qa-collaborator I08) ([94671d26f](https://github.com/arbicity/ARBI-frontend/commit/94671d26f))
|
|
20
|
+
- **docx:** Show the Save control in the Word editor ribbon (persona qa-files I06 missing save) ([2fb7d6e5e](https://github.com/arbicity/ARBI-frontend/commit/2fb7d6e5e))
|
|
21
|
+
- **versions:** Keep the current badge on the current version (persona qa-owner I03) ([1ee473cd1](https://github.com/arbicity/ARBI-frontend/commit/1ee473cd1))
|
|
22
|
+
- **viewer:** Clear the signing prompt once the Sign dialog takes over (persona qa-owner I02) ([e0fa63ad9](https://github.com/arbicity/ARBI-frontend/commit/e0fa63ad9))
|
|
23
|
+
- **versions:** Keep the open version visible and across pop-out ([3709fc1e7](https://github.com/arbicity/ARBI-frontend/commit/3709fc1e7))
|
|
24
|
+
- **viewer:** Open dialogs and menus in the popped-out window ([e2da255bd](https://github.com/arbicity/ARBI-frontend/commit/e2da255bd))
|
|
25
|
+
|
|
26
|
+
### 💅 Refactors
|
|
27
|
+
|
|
28
|
+
- ⚠️ One document id per document; versions inside it ([6a40e78bc](https://github.com/arbicity/ARBI-frontend/commit/6a40e78bc))
|
|
29
|
+
|
|
30
|
+
### ✅ Tests
|
|
31
|
+
|
|
32
|
+
- Await the offline notice in the chunk-reload test ([4a40e0c44](https://github.com/arbicity/ARBI-frontend/commit/4a40e0c44))
|
|
33
|
+
|
|
34
|
+
#### ⚠️ Breaking Changes
|
|
35
|
+
|
|
36
|
+
- ⚠️ One document id per document; versions inside it ([6a40e78bc](https://github.com/arbicity/ARBI-frontend/commit/6a40e78bc))
|
|
37
|
+
|
|
3
38
|
## v0.4.63
|
|
4
39
|
|
|
5
40
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.62...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.65";
|
|
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.65") 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.65"} \u2192 ${latest}). Updating...`);
|
|
3754
3754
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3755
|
-
showChangelog("0.4.
|
|
3755
|
+
showChangelog("0.4.65", 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.65"} \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.65") 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.65"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3796
3796
|
);
|
|
3797
3797
|
markNagShown(cached.latest);
|
|
3798
3798
|
} catch {
|
|
@@ -6031,7 +6031,7 @@ function registerDocsCommand(program2) {
|
|
|
6031
6031
|
}
|
|
6032
6032
|
})()
|
|
6033
6033
|
);
|
|
6034
|
-
doc.command("versions <id>").description("List every version of a document
|
|
6034
|
+
doc.command("versions <id>").description("List every version of a document, oldest first").option("--json", "Output as JSON").action(
|
|
6035
6035
|
(id, opts) => runAction(async () => {
|
|
6036
6036
|
const { arbi } = await resolveWorkspace();
|
|
6037
6037
|
const versions = await sdk.documents.listVersions(arbi, id);
|
|
@@ -6042,7 +6042,7 @@ function registerDocsCommand(program2) {
|
|
|
6042
6042
|
for (const v of versions) {
|
|
6043
6043
|
const marker = v.is_current ? chalk2__default.default.green(" (current)") : "";
|
|
6044
6044
|
console.log(
|
|
6045
|
-
`v${v.
|
|
6045
|
+
`v${v.n} ${v.reason.padEnd(6)} ${v.created_at ?? ""} ${v.file_name ?? ""}${marker}`
|
|
6046
6046
|
);
|
|
6047
6047
|
}
|
|
6048
6048
|
})()
|
|
@@ -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.65").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
11002
11002
|
registerConfigCommand(program);
|
|
11003
11003
|
registerLoginCommand(program);
|
|
11004
11004
|
registerRegisterCommand(program);
|