summaryrefslogtreecommitdiff
path: root/NEWS
blob: 127d56b1962b34d2d4661d2890f90e4cb9a8d9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 0.3.2

* Add support for footnotes

# 0.3.1

* Fix: all non-paragraph styles are treated as character styles when reading
  styles from a docx document.

# 0.3.0

* Rename the existing concept of a "style name" to "style ID" to correspond to
  the terminology used internally in docx files. Any document transforms that
  get or set the `styleName` property should use the `styleId` property instead.

* Allow paragraphs and runs to be matched by style name. For instance, to match
  a paragraph with the style name `Heading 1`:
  
    p[style-name='Heading 1']
    
* Use an array of raw strings rather than an array of style mappings when
  passing options to convertToHtml.

* Add support for node 0.11 (tested on node 0.11.13).

# 0.2.2

* Fix: exception when bad arguments are passed into unzip.openZip.

# 0.2.1

* Fix browserify support.

# 0.2.0

* Rename mammoth.style() to mammoth.styleMapping().

* Add support for document transforms.

* Append standard style map to custom style map unless explicitly excluded.