You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35-2
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ This is the changelog between releases of PHPWord. Releases are listed in revers
4
4
5
5
## 0.9.2 - Not yet released
6
6
7
+
This release marked heavy refactorings on internal code structure with the creation of some abstract classes to reduce code duplication. `Element` subnamespace is introduced in this release to replace `Section`.
8
+
7
9
### Features
8
10
9
11
- Image: Get image dimensions without EXIF extension - @andrew-kzooGH-184
@@ -17,16 +19,47 @@ This is the changelog between releases of PHPWord. Releases are listed in revers
17
19
- Template: Ability to find & replace variables in headers & footers - @dgudgeonGH-190
18
20
- Template: Ability to clone & delete block of text using `cloneBlock` and `deleteBlock` - @diego-vieiraGH-191
19
21
- TOC: Ability to have two or more TOC in one document and to set min and max depth for TOC - @PyrewebGH-189
22
+
- Table: Ability to add footnote in table cell - @ivanlaninGH-187
23
+
- Footnote: Ability to add image in footnote - @ivanlaninGH-187
24
+
- ListItem: Ability to add list item in header/footer - @ivanlaninGH-187
25
+
- CheckBox: Ability to add checkbox in header/footer - @ivanlaninGH-187
26
+
- Link: Ability to add link in header/footer - @ivanlaninGH-187
27
+
- Object: Ability to add object in header, footer, textrun, and footnote - @ivanlaninGH-187
28
+
- Media: Add `Media::reset()` to reset all media data - @juziGH-19
29
+
- Style: Add `Style::reset()` to reset all styles
30
+
- Footnote: Add `Footnote::reset()` to reset all footnotes
31
+
- TOC: Add `TOC::reset()` to reset all TOC
20
32
21
33
### Bugfixes
22
34
23
35
- Footnote: Footnote content doesn't show footnote reference number - @ivanlaninGH-170
24
36
37
+
### Deprecated
38
+
39
+
-`createTextRun` replaced by `addTextRun`
40
+
-`createFootnote` replaced by `addFootnote`
41
+
-`createHeader` replaced by `addHeader`
42
+
-`createFooter` replaced by `addFooter`
43
+
-`createSection` replaced by `addSection`
44
+
-`Element\Footnote::getReferenceId` replaced by `Element\AbstractElement::getRelationId`
45
+
-`Element\Footnote::setReferenceId` replaced by `Element\AbstractElement::setRelationId`
46
+
-`Footnote::addFootnoteLinkElement` replaced by `Media::addElement`
47
+
-`Footnote::getFootnoteLinkElements` replaced by `Media::getElements`
- Writer: Refactor writer classes and create a new `Write\AbstractWriter` abstract class - @ivanlaninGH-160
54
+
- General: Refactor folders: `Element` and `Exception` - @ivanlaninGH-187
55
+
- General: Remove legacy `HashTable` and `Shared\ZipStreamWrapper` and all related properties/methods - @ivanlaninGH-187
56
+
- Element: New `AbstractElement` abstract class - @ivanlaninGH-187
57
+
- Media: Refactor media class to use one method for all docPart (section, header, footer, footnote) - @ivanlaninGH-187
58
+
- General: Remove underscore prefix from all private properties name - @ivanlaninGH-187
59
+
- General: Move Section `Settings` to `Style\Section` - @ivanlaninGH-187
60
+
- General: Give `Abstract` prefix and `Interface` suffix for all abstract classes and interfaces as per [PHP-FIG recommendation](https://github.com/php-fig/fig-standards/blob/master/bylaws/002-psr-naming-conventions.md) - @ivanlaninGH-187
61
+
- Style: New `Style\AbstractStyle` abstract class - @ivanlaninGH-187
62
+
- Writer: New 'ODText\Base` class - @ivanlaninGH-187
0 commit comments