2021-11-25 12:55:19 +02:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
2022-08-26 05:14:16 +03:00
|
|
|
|
2025-01-17 12:21:40 +02:00
|
|
|
<!--
|
|
|
|
- Support `TC`
|
2025-03-07 11:14:17 +02:00
|
|
|
- Support `dstrike`
|
|
|
|
- Update Add after for default toc styles #806
|
2025-01-29 05:08:57 +02:00
|
|
|
- Update `Level` styles.
|
2025-05-02 03:07:47 +03:00
|
|
|
- Support `titlePg`
|
2025-01-17 12:21:40 +02:00
|
|
|
-->
|
|
|
|
|
2024-04-26 12:33:16 +03:00
|
|
|
## @0.4.17 (26. Apr, 2024)
|
|
|
|
|
|
|
|
- Floating images cause docx generation to fail with error `should end: LastElementNameNotAvailable`
|
|
|
|
|
2024-04-24 13:38:22 +03:00
|
|
|
## @0.4.16 (24. Apr, 2024)
|
|
|
|
|
|
|
|
- Fixed a `framePr`
|
|
|
|
|
|
|
|
## @0.4.14 (12. Apr, 2024)
|
2024-04-11 18:58:01 +03:00
|
|
|
|
|
|
|
- Remove `dbg!`
|
|
|
|
- Support `caps`
|
|
|
|
|
2024-03-29 16:40:35 +02:00
|
|
|
## @0.4.13 (29. Mar, 2024)
|
|
|
|
|
|
|
|
- Support `tblppr`
|
|
|
|
- Support `tcMar`
|
|
|
|
- Support `textAlignment`
|
|
|
|
- Support `adjustRightInd`
|
|
|
|
- Support `framePr`
|
|
|
|
- Support `pageNumType`
|
|
|
|
|
2024-03-04 10:51:24 +02:00
|
|
|
## @0.4.11 (1. Mar, 2024)
|
|
|
|
|
|
|
|
- Fixed a `title_pg` condition when read.
|
|
|
|
- Parse `even_and_odd_headers`.
|
|
|
|
|
|
|
|
## @0.4.9 (1. Mar, 2024)
|
|
|
|
|
|
|
|
- Fixed a js header/footer types.
|
|
|
|
|
2024-02-19 11:11:07 +02:00
|
|
|
## @0.4.8 (19. Feb, 2024)
|
|
|
|
|
|
|
|
- Fixed a bug, image in header/footer is not stored in media when read.
|
|
|
|
- Fixed a bug, image in header/footer is broken.
|
|
|
|
|
2024-01-17 16:45:39 +02:00
|
|
|
## docx-wasm@0.0.278-rc27 (17. Jan, 2024)
|
|
|
|
|
|
|
|
- Support part of `pPrDefault`.
|
|
|
|
|
2023-11-30 18:58:53 +02:00
|
|
|
## docx-wasm@0.0.278-rc26 (1. Dec, 2023)
|
|
|
|
|
|
|
|
- read sectPr.type as `section_type`.
|
|
|
|
|
2023-08-21 17:41:03 +03:00
|
|
|
## docx-wasm@0.0.278-rc23 (21. Aug, 2023)
|
|
|
|
|
|
|
|
- escape author in del/ins.
|
|
|
|
|
2025-01-29 05:08:57 +02:00
|
|
|
## docx-wasm@0.0.278-rc19 (9. Aug, 20)
|
2023-08-10 12:09:52 +03:00
|
|
|
|
|
|
|
- use i32 for line instead of u32.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.278-rc18 (24. Jul, 2023)
|
|
|
|
|
|
|
|
- read caps.
|
|
|
|
|
2023-07-14 05:08:45 +03:00
|
|
|
## docx-wasm@0.0.278-rc16 (14. Jul, 2023)
|
|
|
|
|
|
|
|
- Improve read numbering types.
|
|
|
|
|
2023-07-14 04:38:42 +03:00
|
|
|
## docx-wasm@0.0.278-rc15 (23. Jun, 2023)
|
|
|
|
|
|
|
|
- Make docGrid Optional in sectionProperty
|
|
|
|
|
2023-06-23 13:09:27 +03:00
|
|
|
## docx-wasm@0.0.278-rc14 (23. Jun, 2023)
|
|
|
|
|
|
|
|
- Support character spacing in run property
|
|
|
|
|
2023-06-23 08:43:16 +03:00
|
|
|
## docx-wasm@0.0.278-rc10 (23. Jun, 2023)
|
2023-06-23 07:56:04 +03:00
|
|
|
|
|
|
|
- Support character space control function
|
|
|
|
|
2023-06-23 07:41:36 +03:00
|
|
|
## docx-rs@0.4.7 (23. Jun, 2023)
|
|
|
|
|
|
|
|
- Support character space control
|
|
|
|
- Fix widow_control behavior
|
|
|
|
- Support indent right for js
|
|
|
|
- [Breaking] make docGrid optional
|
|
|
|
- Support `<sym />`
|
|
|
|
- Fixed a bug, style.link is not output.
|
|
|
|
- Fixed a bug, escape style name.
|
|
|
|
- Support `link` in style.
|
|
|
|
- fix after contents in toc.
|
|
|
|
- Support outline_level in Paragraph and style.
|
|
|
|
- Support before/after contents in ToC.
|
|
|
|
- Support Toc from instrText.
|
|
|
|
- fix #584 Remove `%` from width.
|
|
|
|
- fixed a bug, `adjustLineHeightInTable` is not affected in js interface.
|
|
|
|
- fix lineRule ts type
|
|
|
|
|
|
|
|
## docx-wasm@0.0.278-rc8 (23. Jun, 2023)
|
|
|
|
|
|
|
|
- Support character space control
|
|
|
|
- Fix widow_control behavior
|
|
|
|
|
2023-06-16 07:43:26 +03:00
|
|
|
## docx-wasm@0.0.278-rc7 (19. Jun, 2023)
|
|
|
|
|
|
|
|
- Support indent right for js
|
|
|
|
|
2023-06-16 06:53:47 +03:00
|
|
|
## docx-wasm@0.0.278-rc6 (19. Jun, 2023)
|
|
|
|
|
|
|
|
- [Breaking] make docGrid optional
|
|
|
|
|
2023-06-16 06:32:08 +03:00
|
|
|
## docx-wasm@0.0.278-rc3 (19. May, 2023)
|
2023-05-26 02:17:02 +03:00
|
|
|
|
|
|
|
- Support `<sym />`
|
|
|
|
|
2023-04-11 16:28:36 +03:00
|
|
|
## docx-wasm@0.0.278-rc1 (11. Apr, 2023)
|
|
|
|
|
|
|
|
- Fixed a bug, style.link is not output.
|
|
|
|
|
2023-03-27 11:35:15 +03:00
|
|
|
## docx-wasm@0.0.278-rc0 (27. Mar, 2023)
|
|
|
|
|
|
|
|
- Fixed a bug, escape style name.
|
|
|
|
|
2022-12-20 05:01:08 +02:00
|
|
|
## docx-wasm@0.0.277-rc1 (20. Dec, 2022)
|
|
|
|
|
|
|
|
- Support `link` in style.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.277-rc0 (15. Dec, 2022)
|
|
|
|
|
|
|
|
- fix after contents in toc.
|
|
|
|
|
2022-12-13 16:05:37 +02:00
|
|
|
## docx-wasm@0.0.276 (13. Dec, 2022)
|
|
|
|
|
|
|
|
- Support outline_level in Paragraph and style.
|
|
|
|
|
2022-12-13 06:33:48 +02:00
|
|
|
## docx-wasm@0.0.276-rc39 (13. Dec, 2022)
|
|
|
|
|
|
|
|
- Support before/after contents in ToC.
|
|
|
|
- Support Toc from instrText.
|
|
|
|
|
2022-12-07 09:40:55 +02:00
|
|
|
## docx-wasm@0.0.276-rc38 (7. Dec, 2022)
|
|
|
|
|
|
|
|
- fix #584 Remove `%` from width.
|
2024-03-29 16:40:35 +02:00
|
|
|
|
2022-12-02 06:35:43 +02:00
|
|
|
## docx-wasm@0.0.276-rc37 (28. Nov, 2022)
|
|
|
|
|
|
|
|
- fixed a bug, `adjustLineHeightInTable` is not affected in js interface.
|
|
|
|
|
2022-11-16 04:42:33 +02:00
|
|
|
## docx-wasm@0.0.276-rc36 (16. Nov, 2022)
|
|
|
|
|
|
|
|
- fix lineRule ts type
|
|
|
|
|
2022-11-04 14:57:30 +02:00
|
|
|
## docx-wasm@0.0.276-rc34, docx-rs@0.4.6 (4. Nov, 2022)
|
|
|
|
|
|
|
|
- Support Pic alignment
|
|
|
|
- fix #554 Special characters are being carried across using HTML entities vs unicode
|
|
|
|
|
2022-11-02 06:58:58 +02:00
|
|
|
## docx-wasm@0.0.276-rc32 (1. Nov, 2022)
|
|
|
|
|
|
|
|
- Fix TableProperty json types.
|
|
|
|
|
2022-11-01 08:17:47 +02:00
|
|
|
## docx-wasm@0.0.276-rc31 (1. Nov, 2022)
|
|
|
|
|
|
|
|
- Support `specVanish`.
|
|
|
|
|
2022-11-01 07:57:27 +02:00
|
|
|
## docx-wasm@0.0.276-rc30 (1. Nov, 2022)
|
|
|
|
|
|
|
|
- Use `None` if heightRule not found instead of `auto`
|
|
|
|
|
|
|
|
## docx-wasm@0.0.276-rc29 (31. Oct, 2022)
|
2022-10-31 08:34:54 +02:00
|
|
|
|
|
|
|
- escape hyperlink url(export)
|
|
|
|
|
2022-10-31 08:17:14 +02:00
|
|
|
## docx-wasm@0.0.276-rc27, rc28 (26. Oct, 2022)
|
2022-10-26 10:39:36 +03:00
|
|
|
|
|
|
|
- improve js/json types
|
|
|
|
|
2022-10-14 12:49:20 +03:00
|
|
|
## docx-wasm@0.0.276-rc26 (14. Oct, 2022)
|
|
|
|
|
|
|
|
- Support text direction (#545)
|
|
|
|
- read `<sdt>`
|
|
|
|
|
2022-10-14 10:14:12 +03:00
|
|
|
## docx-rs@0.4.5 (14. Oct, 2022)
|
|
|
|
|
|
|
|
- Support text direction (#545)
|
|
|
|
|
2022-10-12 04:02:32 +03:00
|
|
|
## docx-rs@0.4.4 (27. Sep, 2022)
|
|
|
|
|
|
|
|
- Support rotate in pic
|
|
|
|
|
2022-10-14 12:49:20 +03:00
|
|
|
## docx-wasm@0.0.276-rc25 (21. Sep, 2022)
|
|
|
|
|
|
|
|
- [BugFix] Fixed a bug, hyperlink is broken with special characters.
|
|
|
|
|
2022-09-13 05:02:46 +03:00
|
|
|
## docx-wasm@0.0.276-rc20 (9. Sep, 2022)
|
|
|
|
|
|
|
|
- Support `sectionProperty` in pPr.
|
|
|
|
|
2022-09-27 07:50:36 +03:00
|
|
|
## docx-rs@0.4.3 (8. Sep, 2022)
|
|
|
|
|
|
|
|
- Support table style #531
|
|
|
|
|
2022-08-26 09:40:09 +03:00
|
|
|
## docx-wasm@0.0.276-rc12 (26. Aug, 2022)
|
|
|
|
|
|
|
|
- [BugFix] Fixed a bug, hRule is not read in reader.
|
|
|
|
|
2022-08-26 05:14:16 +03:00
|
|
|
## docx-wasm@0.0.276-rc11 (25. Aug, 2022)
|
|
|
|
|
|
|
|
- [Breaking] change table row `hightRule` to `auto` in reader.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.276-rc10 (25. Aug, 2022)
|
|
|
|
|
|
|
|
- Support `adjustLineHeightInTable` in document setting
|
|
|
|
|
2022-08-25 09:49:26 +03:00
|
|
|
## docx-rs@0.4.2 (25. Aug, 2022)
|
|
|
|
|
|
|
|
- [Breaking] Hyperlink interface.
|
|
|
|
- Support hyperlink reader.
|
|
|
|
- [Breaking] Remove default `TableCellMargin`. Please specify if needed.
|
|
|
|
- Support table cell margins reader.
|
|
|
|
- Support nested table reader.
|
|
|
|
- Add png image converter
|
|
|
|
- Add `imageData` in `Shape` reader.
|
|
|
|
- [BUGFIX] Fixed a bug, it is not able to read jpeg from js.
|
|
|
|
- [BUGFIX] Fixed a bug, it is not able to write images.
|
|
|
|
- [Breaking] Add `id` and `path` to `images` output.
|
|
|
|
- [BUGFIX] Use default `numPr` if numId not found to avoid panic.
|
|
|
|
- [Breaking] Use `self.based_on` and `self.next` in `style` instead of `Normal`.
|
|
|
|
- [Breaking] Use `i32` for `PageMargin` props instead of unsigned.
|
|
|
|
- support `columns` in document.
|
2021-11-25 12:55:19 +02:00
|
|
|
|
2022-08-09 09:32:17 +03:00
|
|
|
## docx-wasm@0.0.275 (8. Aug, 2022)
|
|
|
|
|
|
|
|
- re enable Hyperlink interface.
|
|
|
|
|
2022-07-06 04:50:10 +03:00
|
|
|
## docx-wasm@0.0.273 (6. Jul, 2022)
|
|
|
|
|
|
|
|
- [Breaking] Hyperlink interface.
|
|
|
|
- Support hyperlink reader.
|
|
|
|
|
2022-06-15 17:28:30 +03:00
|
|
|
## docx-wasm@0.0.271, @0.0.272 (15. Jun, 2022)
|
|
|
|
|
|
|
|
- [Breaking] Remove default `TableCellMargin`. Please specify if needed.
|
|
|
|
- Support table cell margins reader.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.269, @0.0.270 (14. Jun, 2022)
|
|
|
|
|
|
|
|
- Support nested table reader.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.268 (13. Jun, 2022)
|
|
|
|
|
|
|
|
- Add png image converter
|
|
|
|
|
|
|
|
## docx-wasm@0.0.264 (7. Jun, 2022)
|
2022-06-07 18:48:17 +03:00
|
|
|
|
|
|
|
- Add `imageData` in `Shape` reader.
|
|
|
|
|
2022-06-02 19:13:26 +03:00
|
|
|
## docx-wasm@0.0.262 (27. May, 2022)
|
|
|
|
|
|
|
|
- [BUGFIX] Fixed a bug, it is not able to read jpeg from js.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.261 (25. May, 2022)
|
|
|
|
|
|
|
|
- [BUGFIX] Fixed a bug, it is not able to write images.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.260 (23. May, 2022)
|
|
|
|
|
|
|
|
- [Breaking] Add `id` and `path` to `images` output.
|
|
|
|
|
2022-05-20 05:31:25 +03:00
|
|
|
## docx-wasm@0.0.259 (20. May, 2022)
|
|
|
|
|
|
|
|
- [BUGFIX] Use default `numPr` if numId not found to avoid panic.
|
|
|
|
|
2022-05-20 05:21:58 +03:00
|
|
|
## docx-wasm@0.0.258 (19. May, 2022)
|
|
|
|
|
|
|
|
- [Breaking] Use `self.based_on` and `self.next` in `style` instead of `Normal`.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.257 (18. May, 2022)
|
|
|
|
|
|
|
|
- [Breaking] Use `i32` for `PageMargin` props instead of unsigned.
|
|
|
|
|
2022-03-29 11:56:49 +03:00
|
|
|
## docx-rs@0.4.0, docx-wasm@0.0.252 (29. March, 2022)
|
|
|
|
|
|
|
|
- [Breaking] Change image size unit `px` to `emu`.
|
|
|
|
- [Breaking] fix `drawing` json types.
|
|
|
|
|
2022-03-29 05:08:37 +03:00
|
|
|
## docx-wasm@0.0.249 (25. March, 2022)
|
|
|
|
|
|
|
|
- Change `widthType` case to camelCase in JS.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.248 (24. March, 2022)
|
|
|
|
|
|
|
|
- Change `lineRule` case to camelCase in JS.
|
|
|
|
|
|
|
|
## docx-wasm@0.0.247 (16. March, 2022)
|
2022-03-16 05:54:17 +02:00
|
|
|
|
|
|
|
- Add js interface for `rStyle`.
|
|
|
|
|
2022-03-16 05:30:16 +02:00
|
|
|
## docx-wasm@0.0.246, docx-rs@0.3.4 (16. March, 2022)
|
|
|
|
|
|
|
|
- Support `rStyle`.
|
|
|
|
|
2022-03-15 10:32:15 +02:00
|
|
|
## docx-wasm@0.0.245, docx-rs@0.3.3 (15. March, 2022)
|
|
|
|
|
|
|
|
- Fixed a author of `del` in `ins`.
|
2022-03-16 05:30:16 +02:00
|
|
|
|
2022-02-04 11:37:04 +02:00
|
|
|
## docx-wasm@0.0.242 (4. February, 2022)
|
|
|
|
|
|
|
|
- Support `ins` in table row property
|
|
|
|
|
2022-01-27 07:06:46 +02:00
|
|
|
## docx-wasm@0.0.235 (25. January, 2022)
|
|
|
|
|
|
|
|
- Support `del` in table row property
|
|
|
|
|
2022-01-22 17:58:42 +02:00
|
|
|
## docx-wasm@0.0.232, 0.0.233, 0.0.234 (24. January, 2022)
|
|
|
|
|
|
|
|
- Fixed a level reader to read paragraphProperty and runProperty
|
|
|
|
|
2022-01-19 12:59:18 +02:00
|
|
|
## docx-wasm@0.0.231 (19. January, 2022)
|
|
|
|
|
|
|
|
- Fixed a pPr reader.
|
2024-03-29 16:40:35 +02:00
|
|
|
|
2022-01-19 07:09:38 +02:00
|
|
|
## docx-wasm@0.0.229 (19. January, 2022)
|
|
|
|
|
|
|
|
- Fixed a del/ins type in runProperty
|
|
|
|
|
2022-01-18 07:19:23 +02:00
|
|
|
## docx-wasm@0.0.228 (18. January, 2022)
|
|
|
|
|
|
|
|
- Fixed a bug, numPr reader panic when id is none.
|
|
|
|
|
2022-01-17 18:44:08 +02:00
|
|
|
## docx-wasm@0.0.226, 0.0.227 (17. January, 2022)
|
2022-01-17 08:34:43 +02:00
|
|
|
|
|
|
|
- Add `paragraphPropertyChange` api for JS.
|
|
|
|
|
2022-01-14 08:03:53 +02:00
|
|
|
## docx-wasm@0.0.222, 223, 224, 225 (14. January, 2022)
|
|
|
|
|
|
|
|
- Fixed a typo `window_control` -> `widow_control`
|
|
|
|
- Fixed a numPr reader.
|
|
|
|
|
2022-01-06 12:26:48 +02:00
|
|
|
## docx-wasm@0.0.219, 220, 221 (6. January, 2022)
|
2022-01-06 09:50:43 +02:00
|
|
|
|
|
|
|
- [Internal]Support runFonts reader.
|
|
|
|
|
2022-01-06 09:19:21 +02:00
|
|
|
## docx-wasm@0.0.218 (6. January, 2022)
|
|
|
|
|
|
|
|
- Support minimum ToC API for JS (see https://github.com/bokuweb/docx-rs/pull/394).
|
|
|
|
|
2021-12-21 08:47:29 +02:00
|
|
|
## docx-wasm@0.0.217 (21. December, 2021)
|
|
|
|
|
|
|
|
- Fix `strike` API for JS.
|
|
|
|
|
2021-12-21 04:58:54 +02:00
|
|
|
## docx-wasm@0.0.216 (21. December, 2021)
|
|
|
|
|
|
|
|
- Support `strike` for run.
|
|
|
|
|
|
|
|
## docx-rs@0.3.2 (9. December, 2021)
|
2021-12-09 12:50:28 +02:00
|
|
|
|
|
|
|
- Add `DataBinding` API. See docx-core/examples/data_binding.rs
|
|
|
|
- Add minimum `ToC` API. See docx-core/examples/dirty_toc.rs
|
|
|
|
|
2021-12-21 04:58:54 +02:00
|
|
|
## docx-wasm@0.0.215 (26. November, 2021)
|
2021-11-26 12:07:10 +02:00
|
|
|
|
|
|
|
- Add before/afterLines to LineSpacingJSON.
|
|
|
|
|
2021-12-21 04:58:54 +02:00
|
|
|
## docx-wasm@0.0.214 (26. November, 2021)
|
2021-11-26 12:00:13 +02:00
|
|
|
|
|
|
|
- Fixed a missed pkg.
|
|
|
|
|
2021-12-21 04:58:54 +02:00
|
|
|
## docx-rs@0.3.1/docx-wasm@0.0.212 (25. November, 2021)
|
2021-11-25 12:55:19 +02:00
|
|
|
|
2021-11-25 16:47:21 +02:00
|
|
|
- Fix #327. Disable header if empty. (https://github.com/bokuweb/docx-rs/pull/369)
|
2021-11-25 12:55:19 +02:00
|
|
|
|
2021-12-21 04:58:54 +02:00
|
|
|
## docx-rs@0.3.0/docx-wasm@0.0.211 (25. November, 2021)
|
2021-11-25 12:55:19 +02:00
|
|
|
|
|
|
|
- Improve lineSpacing interface (https://github.com/bokuweb/docx-rs/pull/367)
|