UNPKG

2.88 kBMarkdownView Raw
1# Release notes
2
3All notable changes to this project will be documented in this file. This
4project adheres to [Semantic Versioning](http://semver.org/).
5
6### 0.15.4, 0.15.5
7
8* Fix normalization of non lines inside code container.
9
10### 0.15.3
11
12* Reduce the likelihood of Maximum call stack exceeded, by avoiding
13 `change.withoutNormalization`.
14
15### 0.15.2
16
17* Small monkey patch to support the GitBook's fork of Slate.
18
19### 0.15.1
20
21* Fix and improve orphan lines normalization.
22
23### 0.15.0
24
25* Upgrade to be compatible with Slate > 0.33.x
26* Use the new schema definition for improved performance
27
28### 0.14.0
29
30* Upgrade to be compatible with Slate > 0.32.x
31
32### 0.13.3
33
34* Normalize multiline texts in code to be split into the appropriate number of
35 code lines.
36
37### 0.13.2
38
39* Add `getIndent` option to customize the indent unit used.
40* Fix Ctrl shortcuts on Windows/Linux
41
42### 0.13.1
43
44* Properly declare `immutable` as a peer dependency (already a peer dependency
45 of slate)
46
47### 0.13.0
48
49* Upgrade to be compatible with Slate > 0.29.x
50
51### 0.12.0
52
53* Upgrade to be compatible with Slate > 0.27.x
54
55### 0.11.0
56
57* Upgrade to be compatable with Slate after the `expose-transform` branch went
58 in.
59* change all instances of `transform` to `change`
60* change the namespace of `plugin.transforms` to `plugin.changes`
61
62### 0.10.4
63
64* Added `onExit(transform: Transform): ?Transform` option
65
66### 0.10.2
67
68* Upgrade to slate^0.19.7
69
70### 0.10.1
71
72* Added `isInCodeBlock` utils
73* Added `wrapCodeBlock` and `wrapCodeBlockByKey` transforms
74* Added `unwrapCodeBlock` and `unwrapCodeBlockByKey` transforms
75
76### 0.10.0
77
78* Added: Backspace in empty code container will convert it to default
79 `exitBlockType`
80
81### 0.9.2
82
83* Fix case-insensitive slate require
84
85### 0.9.1
86
87* Export utils.deserializeCode that deserialize a text into a code block
88
89### 0.9.0
90
91* _Breaking change_ Renamed option `shiftEnterBlockType` to `exitBlockType`.
92* Shift+Enter shortcut is now assigned to Mod+Enter, as before.
93
94### 0.8.2
95
96* Fixed onPaste
97
98### 0.8.1
99
100* Removed unused dependency
101
102### 0.8.0
103
104* _Breaking change_ : Changed the structure of code blocks. A code block is now
105 made of a container, and a list of lines.
106 * Removed option `onlyIn`
107 * Add option `containerType`
108 * Add option `lineType`
109* Added option `shiftEnterBlockType` to determine the default block type when
110 exiting a code block.
111* Added support for multi-lines Tab and Shift+Tab
112
113### 0.7.0
114
115* Add option `selectAll`
116
117### 0.6.2
118
119* Update slate peed dependency to prevent NPM warnings when used with `0.15.x`
120
121### 0.6.1
122
123* Move slate to `peerDependencies`
124
125### 0.6.0
126
127* Adapt for Slate 0.15
128
129### 0.5.0
130
131* Pressing <kbd>Ctrl+A / Cmd+A</kbd> in a code block, select only the text in
132 the block
133
134### 0.4.0
135
136* Add schema to normalize code blocks
137
138### 0.3.0
139
140* Pressing <kbd>Tab</kbd> with a extended selection will indent all lines in the
141 selection