@arbidocs/cli 0.4.62 → 0.4.64

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 CHANGED
@@ -1,5 +1,49 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.4.64
4
+
5
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.63...HEAD)
6
+
7
+ ### 🩹 Fixes
8
+
9
+ - **versions:** Show the reason for each version in the versions list (persona qa-collaborator I01) ([f62c2ad45](https://github.com/arbicity/ARBI-frontend/commit/f62c2ad45))
10
+ - **versions:** Compare with an older version names its version (persona qa-collaborator I02) ([3c30682b1](https://github.com/arbicity/ARBI-frontend/commit/3c30682b1))
11
+ - **documents:** Explain why a signed copy has no Sign action (persona qa-collaborator I08) ([94671d26f](https://github.com/arbicity/ARBI-frontend/commit/94671d26f))
12
+ - **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))
13
+ - **versions:** Keep the current badge on the current version (persona qa-owner I03) ([1ee473cd1](https://github.com/arbicity/ARBI-frontend/commit/1ee473cd1))
14
+ - **viewer:** Clear the signing prompt once the Sign dialog takes over (persona qa-owner I02) ([e0fa63ad9](https://github.com/arbicity/ARBI-frontend/commit/e0fa63ad9))
15
+ - **versions:** Keep the open version visible and across pop-out ([3709fc1e7](https://github.com/arbicity/ARBI-frontend/commit/3709fc1e7))
16
+ - **viewer:** Open dialogs and menus in the popped-out window ([e2da255bd](https://github.com/arbicity/ARBI-frontend/commit/e2da255bd))
17
+
18
+ ### 💅 Refactors
19
+
20
+ - ⚠️ One document id per document; versions inside it ([6a40e78bc](https://github.com/arbicity/ARBI-frontend/commit/6a40e78bc))
21
+
22
+ ### ✅ Tests
23
+
24
+ - Await the offline notice in the chunk-reload test ([4a40e0c44](https://github.com/arbicity/ARBI-frontend/commit/4a40e0c44))
25
+
26
+ #### ⚠️ Breaking Changes
27
+
28
+ - ⚠️ One document id per document; versions inside it ([6a40e78bc](https://github.com/arbicity/ARBI-frontend/commit/6a40e78bc))
29
+
30
+ ## v0.4.63
31
+
32
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.62...HEAD)
33
+
34
+ ### 🚀 Enhancements
35
+
36
+ - **mail:** Offline mailbox with encrypted local store and outbox ([04942536e](https://github.com/arbicity/ARBI-frontend/commit/04942536e))
37
+ - **workspace:** One export/copy/move dialog for every entity type ([4bfec3d39](https://github.com/arbicity/ARBI-frontend/commit/4bfec3d39))
38
+
39
+ ### 🩹 Fixes
40
+
41
+ - **mail:** Tell a dropped connection from other failures in the offline mail paths ([b7bc031af](https://github.com/arbicity/ARBI-frontend/commit/b7bc031af))
42
+
43
+ ### ✅ Tests
44
+
45
+ - **e2e:** Re-unlock native mail before checking the server in offline mail tests ([e451374fc](https://github.com/arbicity/ARBI-frontend/commit/e451374fc))
46
+
3
47
  ## v0.4.62
4
48
 
5
49
  [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.60...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.62";
3697
+ return "0.4.64";
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.62") return;
3750
+ if (!latest || latest === "0.4.64") return;
3751
3751
  if (autoUpdate) {
3752
3752
  warn(`
3753
- Your arbi version is out of date (${"0.4.62"} \u2192 ${latest}). Updating...`);
3753
+ Your arbi version is out of date (${"0.4.64"} \u2192 ${latest}). Updating...`);
3754
3754
  child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
3755
- showChangelog("0.4.62", latest);
3755
+ showChangelog("0.4.64", 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.62"} \u2192 ${latest}).
3760
+ Your arbi version is out of date (${"0.4.64"} \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.62") return;
3792
+ if (!cached || cached.latest === "0.4.64") return;
3793
3793
  if (!shouldShowNag(cached.latest)) return;
3794
3794
  warn(
3795
- `Your arbi version is out of date (${"0.4.62"} \u2192 ${cached.latest}). Run "arbi update".`
3795
+ `Your arbi version is out of date (${"0.4.64"} \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 (any version id), oldest first").option("--json", "Output as JSON").action(
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.version_number} ${v.external_id} ${v.created_at} ${v.file_name ?? ""}${marker}`
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.62").showHelpAfterError(true).showSuggestionAfterError(true);
11001
+ program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.64").showHelpAfterError(true).showSuggestionAfterError(true);
11002
11002
  registerConfigCommand(program);
11003
11003
  registerLoginCommand(program);
11004
11004
  registerRegisterCommand(program);