revise 3.1.6 → 3.1.7

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/cli.js +2 -2
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.1.7
4
+
5
+ Released with `@reviseio/editor` 3.1.7, the editor's first release in
6
+ lockstep with revise: one version and one build for all three packages. A
7
+ Y.Doc or .docx moves between the editor and revise unchanged.
8
+
9
+ ### Changed
10
+
11
+ - **`remove_blocks` takes up to 200 ids** (was 50). Past the limit it removes
12
+ nothing and says how to proceed: pass a search's `search_result_id` to
13
+ remove every match, or send the ids in batches.
14
+
15
+ ### Fixed
16
+
17
+ - **Page numbers next to an existing header or footer.** `set_page_layout`
18
+ with a page-number position, or a preset that numbers pages (APA puts them
19
+ top right), used to report success while a hand-authored header or footer
20
+ kept the number from appearing. The number now goes into that header's or
21
+ footer's empty zone at the requested side, in the authored text's font. When
22
+ the zone already holds text or the header already shows a page number, the
23
+ result says so and lists the headers and footers instead of claiming the
24
+ layout changed.
25
+ - **A `replace` whose `find` and `replace` are identical** fails with an error
26
+ that says so, instead of the generic "no changes detected".
27
+
3
28
  ## 3.1.6
4
29
 
5
30
  ### Changed
package/cli.js CHANGED
@@ -876,8 +876,8 @@ var ui = PLAIN;
876
876
  var uiErr = PLAIN;
877
877
  function producer() {
878
878
  return {
879
- version: true ? "3.1.6" : "dev",
880
- build: true ? "5ab8efea2" : null
879
+ version: true ? "3.1.7" : "dev",
880
+ build: true ? "e75a6f834" : null
881
881
  };
882
882
  }
883
883
  var warnings = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "revise",
3
- "version": "3.1.6",
4
- "reviseBuild": "5ab8efea2",
3
+ "version": "3.1.7",
4
+ "reviseBuild": "e75a6f834",
5
5
  "description": "Read, edit, and redline Word documents from the command line or TypeScript, with tracked changes, comments, and tools for AI agents.",
6
6
  "keywords": [
7
7
  "docx",
@@ -55,7 +55,7 @@
55
55
  ],
56
56
  "sideEffects": false,
57
57
  "dependencies": {
58
- "@reviseio/engine": "3.1.6",
58
+ "@reviseio/engine": "3.1.7",
59
59
  "jszip": "^3.10.1",
60
60
  "yjs": "^13.6.27"
61
61
  },