@thi.ng/hdom 8.2.32 → 9.0.3
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.
- package/CHANGELOG.md +187 -215
- package/README.md +28 -10
- package/default.d.ts +1 -1
- package/default.js +3 -3
- package/diff.d.ts +1 -1
- package/diff.js +3 -2
- package/dom.d.ts +1 -1
- package/dom.js +7 -3
- package/index.d.ts +9 -9
- package/index.js +9 -9
- package/logger.d.ts +1 -1
- package/logger.js +1 -1
- package/normalize.d.ts +1 -1
- package/normalize.js +7 -4
- package/package.json +62 -31
- package/render-once.d.ts +1 -1
- package/render-once.js +4 -4
- package/resolve.d.ts +3 -0
- package/{utils.js → resolve.js} +1 -1
- package/start.d.ts +1 -1
- package/start.js +4 -4
- package/lib/index.js +0 -632
- package/lib/index.js.map +0 -1
- package/lib/index.umd.js +0 -1
- package/lib/index.umd.js.map +0 -1
- package/utils.d.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [
|
|
6
|
+
## [9.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@9.0.2...@thi.ng/hdom@9.0.3) (2021-10-15)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @thi.ng/hdom
|
|
9
9
|
|
|
@@ -11,391 +11,363 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
## [9.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@9.0.1...@thi.ng/hdom@9.0.2) (2021-10-15)
|
|
15
15
|
|
|
16
|
+
**Note:** Version bump only for package @thi.ng/hdom
|
|
16
17
|
|
|
17
|
-
### Features
|
|
18
18
|
|
|
19
|
-
* **hdom:** add RDFa `prefix` attrib support, update xmlns imports ([f0e7460](https://github.com/thi-ng/umbrella/commit/f0e746006a2058a7ddae8413aeefc6451dd8401e))
|
|
20
|
-
* **hdom:** update deps, update xmlns import ([99fbae7](https://github.com/thi-ng/umbrella/commit/99fbae79cc3ae07fedf2e681c2882e96e62a375f))
|
|
21
19
|
|
|
22
20
|
|
|
23
21
|
|
|
22
|
+
## [9.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@9.0.0...@thi.ng/hdom@9.0.1) (2021-10-13)
|
|
24
23
|
|
|
24
|
+
**Note:** Version bump only for package @thi.ng/hdom
|
|
25
25
|
|
|
26
|
-
# [8.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.0.30...@thi.ng/hdom@8.1.0) (2020-06-28)
|
|
27
26
|
|
|
28
27
|
|
|
29
|
-
### Features
|
|
30
28
|
|
|
31
|
-
* **hdom:** add support `class` attrib object vals ([074985a](https://github.com/thi-ng/umbrella/commit/074985a02df8665e2d80fb74491534ee2897516c))
|
|
32
|
-
* **hdom:** add support for event listener strings ([db8d350](https://github.com/thi-ng/umbrella/commit/db8d35074fbfe620ffebf2c217eec5cd48e9341a))
|
|
33
29
|
|
|
30
|
+
# [9.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.2.32...@thi.ng/hdom@9.0.0) (2021-10-12)
|
|
34
31
|
|
|
35
32
|
|
|
33
|
+
### Build System
|
|
36
34
|
|
|
35
|
+
* major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
|
|
37
36
|
|
|
38
|
-
## [8.0.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.0.17...@thi.ng/hdom@8.0.18) (2020-04-06)
|
|
39
37
|
|
|
38
|
+
### BREAKING CHANGES
|
|
40
39
|
|
|
41
|
-
|
|
40
|
+
* discontinue CommonJS & UMD versions
|
|
42
41
|
|
|
43
|
-
|
|
42
|
+
- only ESM modules will be published from now on
|
|
43
|
+
- CJS obsolete due to ESM support in recent versions of node:
|
|
44
|
+
- i.e. launch NodeJS via:
|
|
45
|
+
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
46
|
+
- in the node REPL use `await import(...)` instead of `require()`
|
|
47
|
+
- UMD obsolete due to widespread browser support for ESM
|
|
44
48
|
|
|
49
|
+
Also:
|
|
50
|
+
- normalize/restructure/reorg all package.json files
|
|
51
|
+
- cleanup all build scripts, remove obsolete
|
|
52
|
+
- switch from mocha to @thi.ng/testament for all tests
|
|
45
53
|
|
|
46
54
|
|
|
47
55
|
|
|
48
56
|
|
|
49
|
-
## [8.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.0.6...@thi.ng/hdom@8.0.7) (2019-11-09)
|
|
50
57
|
|
|
51
|
-
### Bug Fixes
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
# [8.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.1.0...@thi.ng/hdom@8.2.0) (2020-07-02)
|
|
54
60
|
|
|
55
|
-
|
|
61
|
+
### Features
|
|
56
62
|
|
|
57
|
-
|
|
63
|
+
- **hdom:** add RDFa `prefix` attrib support, update xmlns imports ([f0e7460](https://github.com/thi-ng/umbrella/commit/f0e746006a2058a7ddae8413aeefc6451dd8401e))
|
|
64
|
+
- **hdom:** update deps, update xmlns import ([99fbae7](https://github.com/thi-ng/umbrella/commit/99fbae79cc3ae07fedf2e681c2882e96e62a375f))
|
|
58
65
|
|
|
59
|
-
|
|
66
|
+
# [8.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.0.30...@thi.ng/hdom@8.1.0) (2020-06-28)
|
|
60
67
|
|
|
61
|
-
|
|
68
|
+
### Features
|
|
62
69
|
|
|
63
|
-
|
|
70
|
+
- **hdom:** add support `class` attrib object vals ([074985a](https://github.com/thi-ng/umbrella/commit/074985a02df8665e2d80fb74491534ee2897516c))
|
|
71
|
+
- **hdom:** add support for event listener strings ([db8d350](https://github.com/thi-ng/umbrella/commit/db8d35074fbfe620ffebf2c217eec5cd48e9341a))
|
|
64
72
|
|
|
65
|
-
|
|
73
|
+
## [8.0.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.0.17...@thi.ng/hdom@8.0.18) (2020-04-06)
|
|
66
74
|
|
|
67
|
-
###
|
|
75
|
+
### Performance Improvements
|
|
68
76
|
|
|
69
|
-
|
|
77
|
+
- **hdom:** update event attrib checks ([ab54d3c](https://github.com/thi-ng/umbrella/commit/ab54d3cc670dc9b060984e28066d4a84dde64ec2))
|
|
70
78
|
|
|
71
|
-
|
|
79
|
+
## [8.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.0.6...@thi.ng/hdom@8.0.7) (2019-11-09)
|
|
72
80
|
|
|
73
|
-
|
|
81
|
+
### Bug Fixes
|
|
74
82
|
|
|
75
|
-
|
|
83
|
+
- **hdom:** fix [#72](https://github.com/thi-ng/umbrella/issues/72), update __skip diff handling & HDOMImplementation ([0071df3](https://github.com/thi-ng/umbrella/commit/0071df3c770d6f9de10301853cbd6ecb06df83fb))
|
|
76
84
|
|
|
77
|
-
|
|
85
|
+
## [8.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.0.5...@thi.ng/hdom@8.0.6) (2019-09-23)
|
|
78
86
|
|
|
79
|
-
|
|
87
|
+
### Bug Fixes
|
|
80
88
|
|
|
81
|
-
|
|
89
|
+
- **hdom:** fix [#133](https://github.com/thi-ng/umbrella/issues/133) boolean attrib handling, add more element properties ([c4bf94f](https://github.com/thi-ng/umbrella/commit/c4bf94f))
|
|
82
90
|
|
|
83
|
-
|
|
91
|
+
# [8.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.2.8...@thi.ng/hdom@8.0.0) (2019-07-07)
|
|
84
92
|
|
|
85
|
-
|
|
93
|
+
### Code Refactoring
|
|
86
94
|
|
|
87
|
-
|
|
95
|
+
- **hdom:** address TS strictNullChecks flag ([d83600a](https://github.com/thi-ng/umbrella/commit/d83600a))
|
|
88
96
|
|
|
89
|
-
###
|
|
97
|
+
### Features
|
|
90
98
|
|
|
91
|
-
|
|
99
|
+
- **hdom:** enable TS strict compiler flags (refactor) ([7f093b9](https://github.com/thi-ng/umbrella/commit/7f093b9))
|
|
92
100
|
|
|
93
|
-
|
|
101
|
+
### BREAKING CHANGES
|
|
94
102
|
|
|
95
|
-
|
|
103
|
+
- **hdom:** all HDOMImplementation methods now mandatory, update return types
|
|
96
104
|
|
|
97
|
-
|
|
105
|
+
## [7.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.2.4...@thi.ng/hdom@7.2.5) (2019-04-17)
|
|
98
106
|
|
|
99
|
-
|
|
107
|
+
### Bug Fixes
|
|
100
108
|
|
|
101
|
-
|
|
109
|
+
- **hdom:** update removeAttribs ([b17fb17](https://github.com/thi-ng/umbrella/commit/b17fb17))
|
|
102
110
|
|
|
103
|
-
|
|
111
|
+
## [7.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.2.3...@thi.ng/hdom@7.2.4) (2019-04-11)
|
|
104
112
|
|
|
105
|
-
###
|
|
113
|
+
### Performance Improvements
|
|
106
114
|
|
|
107
|
-
|
|
115
|
+
- **hdom:** minor update diffTree() ([f2efaa5](https://github.com/thi-ng/umbrella/commit/f2efaa5))
|
|
108
116
|
|
|
109
|
-
|
|
117
|
+
## [7.2.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.2.2...@thi.ng/hdom@7.2.3) (2019-04-05)
|
|
110
118
|
|
|
111
|
-
###
|
|
119
|
+
### Bug Fixes
|
|
112
120
|
|
|
113
|
-
|
|
121
|
+
- **hdom:** off-by-one error when updating child offsets after removal ([beef4e9](https://github.com/thi-ng/umbrella/commit/beef4e9))
|
|
114
122
|
|
|
115
|
-
|
|
123
|
+
# [7.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.1.4...@thi.ng/hdom@7.2.0) (2019-03-18)
|
|
116
124
|
|
|
117
|
-
|
|
125
|
+
### Features
|
|
118
126
|
|
|
119
|
-
-
|
|
120
|
-
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
121
|
-
- all imports MUST be updated to only refer to package level
|
|
122
|
-
(not individual files anymore). tree shaking in user land will get rid of
|
|
123
|
-
all unused imported symbols
|
|
127
|
+
- **hdom:** support more input el types in updateValueAttrib() ([8813344](https://github.com/thi-ng/umbrella/commit/8813344))
|
|
124
128
|
|
|
125
|
-
#
|
|
129
|
+
# [7.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.0.2...@thi.ng/hdom@7.1.0) (2019-02-10)
|
|
126
130
|
|
|
127
|
-
###
|
|
131
|
+
### Bug Fixes
|
|
128
132
|
|
|
129
|
-
|
|
133
|
+
- **hdom:** fix [#72](https://github.com/thi-ng/umbrella/issues/72), update normalizeElement() ([3ed4ea1](https://github.com/thi-ng/umbrella/commit/3ed4ea1))
|
|
130
134
|
|
|
131
|
-
|
|
135
|
+
### Features
|
|
132
136
|
|
|
133
|
-
|
|
137
|
+
- **hdom:** add scrollTop/Left property support in setAttrib() ([895da65](https://github.com/thi-ng/umbrella/commit/895da65))
|
|
134
138
|
|
|
135
|
-
|
|
139
|
+
# [7.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@6.1.0...@thi.ng/hdom@7.0.0) (2019-01-21)
|
|
136
140
|
|
|
137
|
-
|
|
141
|
+
### Build System
|
|
138
142
|
|
|
139
|
-
|
|
143
|
+
- update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
|
|
144
|
+
|
|
145
|
+
### BREAKING CHANGES
|
|
146
|
+
|
|
147
|
+
- enable multi-outputs (ES6 modules, CJS, UMD)
|
|
148
|
+
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
149
|
+
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols
|
|
150
|
+
|
|
151
|
+
# [6.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@6.0.4...@thi.ng/hdom@6.1.0) (2018-12-21)
|
|
152
|
+
|
|
153
|
+
### Features
|
|
154
|
+
|
|
155
|
+
- **hdom:** add support for event listener options, update readme ([6618c22](https://github.com/thi-ng/umbrella/commit/6618c22))
|
|
156
|
+
|
|
157
|
+
## [6.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@6.0.3...@thi.ng/hdom@6.0.4) (2018-12-21)
|
|
140
158
|
|
|
141
|
-
|
|
159
|
+
### Bug Fixes
|
|
142
160
|
|
|
143
|
-
|
|
161
|
+
- **hdom:** fix [#63](https://github.com/thi-ng/umbrella/issues/63) update removeChild() (IE11) ([9f48a76](https://github.com/thi-ng/umbrella/commit/9f48a76))
|
|
144
162
|
|
|
145
|
-
|
|
163
|
+
## [6.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@6.0.1...@thi.ng/hdom@6.0.2) (2018-12-16)
|
|
146
164
|
|
|
147
|
-
|
|
165
|
+
### Bug Fixes
|
|
166
|
+
|
|
167
|
+
- **hdom:** life cycle init / release handling ([6d85c62](https://github.com/thi-ng/umbrella/commit/6d85c62))
|
|
168
|
+
|
|
169
|
+
# [6.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@5.2.2...@thi.ng/hdom@6.0.0) (2018-12-13)
|
|
170
|
+
|
|
171
|
+
### Code Refactoring
|
|
172
|
+
|
|
173
|
+
- **hdom:** extend & simplify HDOMImplementation, update DEFAULT_IMPL ([6f2e8ee](https://github.com/thi-ng/umbrella/commit/6f2e8ee))
|
|
148
174
|
|
|
149
175
|
### Features
|
|
150
176
|
|
|
151
|
-
|
|
177
|
+
- **hdom:** add initial__skip ctrl attrib handling in diffTree() ([a4e6736](https://github.com/thi-ng/umbrella/commit/a4e6736))
|
|
152
178
|
|
|
153
179
|
### BREAKING CHANGES
|
|
154
180
|
|
|
155
|
-
|
|
181
|
+
- **hdom:** extend & simplify HDOMImplementation
|
|
156
182
|
|
|
157
183
|
- update args for HDOMImplementation methods
|
|
158
184
|
- add createElement(), createTextElement() & getElementById() methods
|
|
159
185
|
to HDOMImplementation
|
|
160
186
|
- rename createDOM() => createTree(), make generic
|
|
161
187
|
- rename hydrateDOM() => hydrateTree(), make generic
|
|
162
|
-
- update / fix diffTree()
|
|
163
|
-
only delegate
|
|
188
|
+
- update / fix diffTree()__impl attrib handling:
|
|
189
|
+
only delegate if__impl != current impl
|
|
164
190
|
- update resolveRoot() to require impl arg & delegate
|
|
165
191
|
|
|
166
192
|
# [5.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@5.1.0...@thi.ng/hdom@5.2.0) (2018-11-07)
|
|
167
193
|
|
|
168
194
|
### Features
|
|
169
195
|
|
|
170
|
-
|
|
196
|
+
- **hdom:** update auto-deref ctx behavior ([3016116](https://github.com/thi-ng/umbrella/commit/3016116))
|
|
171
197
|
|
|
172
198
|
# [5.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@5.0.7...@thi.ng/hdom@5.1.0) (2018-11-06)
|
|
173
199
|
|
|
174
200
|
### Features
|
|
175
201
|
|
|
176
|
-
|
|
202
|
+
- **hdom:** add support for dynamic user context vals ([6a3a873](https://github.com/thi-ng/umbrella/commit/6a3a873))
|
|
177
203
|
|
|
178
|
-
<a name="5.0.3"></a>
|
|
179
204
|
## [5.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@5.0.2...@thi.ng/hdom@5.0.3) (2018-09-24)
|
|
180
205
|
|
|
181
206
|
### Bug Fixes
|
|
182
207
|
|
|
183
|
-
|
|
208
|
+
- **hdom:** add DEFAULT_IMPL to re-exports ([#47](https://github.com/thi-ng/umbrella/issues/47)) ([50fa649](https://github.com/thi-ng/umbrella/commit/50fa649))
|
|
184
209
|
|
|
185
|
-
|
|
186
|
-
# [5.0.0](https://github.com/thi-ng/umbrella/compare/525d90d5...@thi.ng/hdom@5.0.0) (2018-09-22)
|
|
210
|
+
# [5.0.0](https://github.com/thi-ng/umbrella/compare/525d90d5...@thi.ng/hdom@5.0.0) (2018-09-22)
|
|
187
211
|
|
|
188
|
-
###
|
|
212
|
+
### Features
|
|
189
213
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
214
|
+
- **hdom:** generalize diffElement() ([#4](https://github.com/thi-ng/umbrella/issues/4)) ([525d90d](https://github.com/thi-ng/umbrella/commit/525d90d))
|
|
215
|
+
- **hdom:** update normalizeTree, add to HDOMImplementation ([59bb19c](https://github.com/thi-ng/umbrella/commit/59bb19c))
|
|
216
|
+
- **hdom:** reorg & extend HDOMImplementation ([1ac245f](https://github.com/thi-ng/umbrella/commit/1ac245f))
|
|
217
|
+
- **hdom:** add `.toHiccup()` interface support ([54ba0ce](https://github.com/thi-ng/umbrella/commit/54ba0ce))
|
|
218
|
+
- **hdom:** add renderOnce() ([5ef9cf0](https://github.com/thi-ng/umbrella/commit/5ef9cf0))
|
|
195
219
|
|
|
196
|
-
###
|
|
220
|
+
### Bug fixes
|
|
197
221
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
222
|
+
- **hdom:** minor fix (hydrateDOM) ([e4f780c](https://github.com/thi-ng/umbrella/commit/e4f780c))
|
|
223
|
+
- **hdom:** exclude hdom control attribs in setAttrib() ([0592063](https://github.com/thi-ng/umbrella/commit/0592063))
|
|
224
|
+
- **hdom:** delegate diffTree() to branch impl ([6c33901](https://github.com/thi-ng/umbrella/commit/6c33901))
|
|
201
225
|
|
|
202
|
-
###
|
|
226
|
+
### Performance Improvements
|
|
203
227
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
228
|
+
- **hdom:** add opt `__release` attrib to disable releaseDeep() ([2e3fb66](https://github.com/thi-ng/umbrella/commit/2e3fb66))
|
|
229
|
+
- **hdom:** update diffTree(), inline node type checks ([382c45c](https://github.com/thi-ng/umbrella/commit/382c45c))
|
|
230
|
+
- **hdom:** minor updates ([de17db8](https://github.com/thi-ng/umbrella/commit/de17db8))
|
|
207
231
|
|
|
208
|
-
###
|
|
232
|
+
### BREAKING CHANGES
|
|
209
233
|
|
|
210
|
-
|
|
234
|
+
- **hdom:** new names & call signatures for:
|
|
235
|
+
- normalizeTree
|
|
236
|
+
- diffElement => diffTree
|
|
237
|
+
- createDOM
|
|
238
|
+
- hydrateDOM
|
|
239
|
+
- replaceChild
|
|
211
240
|
|
|
212
|
-
|
|
213
|
-
- diffElement => diffTree
|
|
214
|
-
- createDOM
|
|
215
|
-
- hydrateDOM
|
|
216
|
-
- replaceChild
|
|
241
|
+
## [4.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@4.0.2...@thi.ng/hdom@4.0.3) (2018-09-01)
|
|
217
242
|
|
|
218
|
-
|
|
219
|
-
## [4.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@4.0.2...@thi.ng/hdom@4.0.3) (2018-09-01)
|
|
243
|
+
### Bug Fixes
|
|
220
244
|
|
|
221
|
-
|
|
245
|
+
- **hdom:** fix local import ([e66a492](https://github.com/thi-ng/umbrella/commit/e66a492))
|
|
222
246
|
|
|
223
|
-
|
|
247
|
+
# [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.35...@thi.ng/hdom@4.0.0) (2018-08-31)
|
|
224
248
|
|
|
225
|
-
|
|
226
|
-
# [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.35...@thi.ng/hdom@4.0.0) (2018-08-31)
|
|
249
|
+
### Features
|
|
227
250
|
|
|
228
|
-
|
|
251
|
+
- **hdom:** add DOM hydration support (SSR), update start() ([#39](https://github.com/thi-ng/umbrella/issues/39)) ([9f8010d](https://github.com/thi-ng/umbrella/commit/9f8010d))
|
|
252
|
+
- **hdom:** update HDOMOpts & start() ([5e74a9c](https://github.com/thi-ng/umbrella/commit/5e74a9c))
|
|
229
253
|
|
|
230
|
-
|
|
231
|
-
* **hdom:** update HDOMOpts & start() ([5e74a9c](https://github.com/thi-ng/umbrella/commit/5e74a9c))
|
|
254
|
+
### BREAKING CHANGES
|
|
232
255
|
|
|
233
|
-
|
|
256
|
+
- **hdom:** start() args now as options object
|
|
234
257
|
|
|
235
|
-
|
|
258
|
+
## [3.0.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.27...@thi.ng/hdom@3.0.28) (2018-07-10)
|
|
236
259
|
|
|
237
|
-
|
|
238
|
-
## [3.0.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.27...@thi.ng/hdom@3.0.28) (2018-07-10)
|
|
260
|
+
### Bug Fixes
|
|
239
261
|
|
|
240
|
-
|
|
262
|
+
- **hdom:** always update "value" attrib last in diffAttributes() ([126103b](https://github.com/thi-ng/umbrella/commit/126103b))
|
|
241
263
|
|
|
242
|
-
|
|
264
|
+
## [3.0.23](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.22...@thi.ng/hdom@3.0.23) (2018-05-15)
|
|
243
265
|
|
|
244
|
-
|
|
245
|
-
## [3.0.23](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.22...@thi.ng/hdom@3.0.23) (2018-05-15)
|
|
266
|
+
### Bug Fixes
|
|
246
267
|
|
|
247
|
-
|
|
268
|
+
- **hdom:** delay init() lifecycle call to ensure children are available ([2482b16](https://github.com/thi-ng/umbrella/commit/2482b16))
|
|
248
269
|
|
|
249
|
-
|
|
270
|
+
## [3.0.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.20...@thi.ng/hdom@3.0.21) (2018-05-14)
|
|
250
271
|
|
|
251
|
-
|
|
252
|
-
## [3.0.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.20...@thi.ng/hdom@3.0.21) (2018-05-14)
|
|
272
|
+
### Bug Fixes
|
|
253
273
|
|
|
254
|
-
|
|
274
|
+
- **hdom:** component obj lifecycle method thisArg handling ([ade96f8](https://github.com/thi-ng/umbrella/commit/ade96f8))
|
|
255
275
|
|
|
256
|
-
|
|
276
|
+
## [3.0.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.14...@thi.ng/hdom@3.0.15) (2018-05-09)
|
|
257
277
|
|
|
258
|
-
|
|
259
|
-
## [3.0.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.14...@thi.ng/hdom@3.0.15) (2018-05-09)
|
|
278
|
+
### Bug Fixes
|
|
260
279
|
|
|
261
|
-
|
|
280
|
+
- **hdom:** native boolean attrib handling (e.g. "checked") ([68ea086](https://github.com/thi-ng/umbrella/commit/68ea086))
|
|
262
281
|
|
|
263
|
-
|
|
282
|
+
## [3.0.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.13...@thi.ng/hdom@3.0.14) (2018-05-01)
|
|
264
283
|
|
|
265
|
-
|
|
266
|
-
## [3.0.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.13...@thi.ng/hdom@3.0.14) (2018-05-01)
|
|
284
|
+
### Bug Fixes
|
|
267
285
|
|
|
268
|
-
|
|
286
|
+
- **hdom:** boolean attrib reset/removal ([a93cb98](https://github.com/thi-ng/umbrella/commit/a93cb98))
|
|
269
287
|
|
|
270
|
-
|
|
288
|
+
## [3.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.12...@thi.ng/hdom@3.0.13) (2018-04-30)
|
|
271
289
|
|
|
272
|
-
|
|
273
|
-
## [3.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.12...@thi.ng/hdom@3.0.13) (2018-04-30)
|
|
290
|
+
### Performance Improvements
|
|
274
291
|
|
|
275
|
-
|
|
292
|
+
- **hdom:** only build linear diff edit log ([7a543a5](https://github.com/thi-ng/umbrella/commit/7a543a5))
|
|
276
293
|
|
|
277
|
-
|
|
294
|
+
## [3.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.11...@thi.ng/hdom@3.0.12) (2018-04-29)
|
|
278
295
|
|
|
279
|
-
|
|
280
|
-
## [3.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.11...@thi.ng/hdom@3.0.12) (2018-04-29)
|
|
296
|
+
### Performance Improvements
|
|
281
297
|
|
|
282
|
-
|
|
298
|
+
- **hdom:** update event handling in diffAttributes() ([31ec3af](https://github.com/thi-ng/umbrella/commit/31ec3af))
|
|
283
299
|
|
|
284
|
-
|
|
300
|
+
## [3.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.10...@thi.ng/hdom@3.0.11) (2018-04-26)
|
|
285
301
|
|
|
286
|
-
|
|
287
|
-
## [3.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.10...@thi.ng/hdom@3.0.11) (2018-04-26)
|
|
302
|
+
## [3.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.0...@thi.ng/hdom@3.0.1) (2018-04-09)
|
|
288
303
|
|
|
289
|
-
|
|
290
|
-
## [3.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.0...@thi.ng/hdom@3.0.1) (2018-04-09)
|
|
304
|
+
### Performance Improvements
|
|
291
305
|
|
|
292
|
-
|
|
306
|
+
- **hdom:** intern imported checks, update normalizeTree(), add docs, fix tests ([2a91e30](https://github.com/thi-ng/umbrella/commit/2a91e30))
|
|
293
307
|
|
|
294
|
-
|
|
308
|
+
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@2.3.3...@thi.ng/hdom@3.0.0) (2018-04-08)
|
|
295
309
|
|
|
296
|
-
|
|
297
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@2.3.3...@thi.ng/hdom@3.0.0) (2018-04-08)
|
|
310
|
+
### Features
|
|
298
311
|
|
|
299
|
-
|
|
312
|
+
- **hdom:** fix [#13](https://github.com/thi-ng/umbrella/issues/13), add support for user context and pass to components ([70cfe06](https://github.com/thi-ng/umbrella/commit/70cfe06))
|
|
300
313
|
|
|
301
|
-
|
|
314
|
+
### BREAKING CHANGES
|
|
302
315
|
|
|
303
|
-
|
|
316
|
+
- **hdom:** component functions & lifecycle hooks now receive user context object as their first arg. All components accepting arguments must be updated, but can potentially be simplified at the same time.
|
|
304
317
|
|
|
305
|
-
|
|
306
|
-
context object as their first arg. All components accepting arguments must
|
|
307
|
-
be updated, but can potentially be simplified at the same time.
|
|
318
|
+
# [2.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@2.2.5...@thi.ng/hdom@2.3.0) (2018-03-21)
|
|
308
319
|
|
|
309
|
-
|
|
310
|
-
# [2.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@2.2.5...@thi.ng/hdom@2.3.0) (2018-03-21)
|
|
320
|
+
### Features
|
|
311
321
|
|
|
312
|
-
|
|
322
|
+
- **hdom:** update error handling, add [@thi](https://github.com/thi).ng/api dep ([f5173f1](https://github.com/thi-ng/umbrella/commit/f5173f1))
|
|
313
323
|
|
|
314
|
-
|
|
324
|
+
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@2.1.1...@thi.ng/hdom@2.2.0) (2018-03-14)
|
|
315
325
|
|
|
316
|
-
|
|
317
|
-
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@2.1.1...@thi.ng/hdom@2.2.0) (2018-03-14)
|
|
326
|
+
### Features
|
|
318
327
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
* **hdom:** add auto deref() support ([0fe6c44](https://github.com/thi-ng/umbrella/commit/0fe6c44))
|
|
328
|
+
- **hdom:** add auto deref() support ([0fe6c44](https://github.com/thi-ng/umbrella/commit/0fe6c44))
|
|
322
329
|
|
|
323
|
-
|
|
324
|
-
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@2.0.0...@thi.ng/hdom@2.1.0) (2018-03-05)
|
|
330
|
+
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@2.0.0...@thi.ng/hdom@2.1.0) (2018-03-05)
|
|
325
331
|
|
|
326
|
-
###
|
|
332
|
+
### Features
|
|
327
333
|
|
|
328
|
-
|
|
334
|
+
- **hdom:** add support for frame skipping, add docs ([a200beb](https://github.com/thi-ng/umbrella/commit/a200beb))
|
|
329
335
|
|
|
330
|
-
|
|
331
|
-
# 2.0.0 (2018-03-03)
|
|
336
|
+
# 2.0.0 (2018-03-03)
|
|
332
337
|
|
|
333
|
-
###
|
|
338
|
+
### Documentation
|
|
334
339
|
|
|
335
|
-
|
|
340
|
+
- **hdom:** update readme ([79e1b09](https://github.com/thi-ng/umbrella/commit/79e1b09))
|
|
336
341
|
|
|
337
|
-
###
|
|
342
|
+
### BREAKING CHANGES
|
|
338
343
|
|
|
339
|
-
|
|
344
|
+
- **hdom:** rename package hiccup-dom => hdom
|
|
340
345
|
|
|
341
|
-
|
|
342
|
-
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.1.0...@thi.ng/hiccup-dom@1.2.0) (2018-02-28)
|
|
346
|
+
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.1.0...@thi.ng/hiccup-dom@1.2.0) (2018-02-28)
|
|
343
347
|
|
|
344
|
-
###
|
|
348
|
+
### Features
|
|
345
349
|
|
|
346
|
-
|
|
350
|
+
- **hiccup-dom:** add support for function attribs, add docs ([ca17389](https://github.com/thi-ng/umbrella/commit/ca17389))
|
|
347
351
|
|
|
348
|
-
|
|
349
|
-
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.0.7...@thi.ng/hiccup-dom@1.1.0) (2018-02-27)
|
|
352
|
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.0.7...@thi.ng/hiccup-dom@1.1.0) (2018-02-27)
|
|
350
353
|
|
|
351
|
-
###
|
|
354
|
+
### Features
|
|
352
355
|
|
|
353
|
-
|
|
354
|
-
|
|
356
|
+
- **hiccup-dom:** fix [#11](https://github.com/thi-ng/umbrella/issues/11), update normalizeTree/normalizeElement ([f5b6675](https://github.com/thi-ng/umbrella/commit/f5b6675))
|
|
357
|
+
- **hiccup-dom:** start(), add optional spans arg ([8a070ff](https://github.com/thi-ng/umbrella/commit/8a070ff))
|
|
355
358
|
|
|
356
|
-
|
|
357
|
-
## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.0.2...@thi.ng/hiccup-dom@1.0.3) (2018-02-04)
|
|
359
|
+
## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.0.2...@thi.ng/hiccup-dom@1.0.3) (2018-02-04)
|
|
358
360
|
|
|
359
|
-
###
|
|
361
|
+
### Bug Fixes
|
|
360
362
|
|
|
361
|
-
|
|
363
|
+
- **hiccup-dom:** support parent DOM ID as arg start() ([1f4f4b8](https://github.com/thi-ng/umbrella/commit/1f4f4b8))
|
|
362
364
|
|
|
363
|
-
|
|
364
|
-
## [1.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.0.1...@thi.ng/hiccup-dom@1.0.2) (2018-02-03)
|
|
365
|
+
## [1.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.0.1...@thi.ng/hiccup-dom@1.0.2) (2018-02-03)
|
|
365
366
|
|
|
366
|
-
###
|
|
367
|
+
### Bug Fixes
|
|
367
368
|
|
|
368
|
-
|
|
369
|
+
- **hiccup-dom:** fix [#3](https://github.com/thi-ng/umbrella/issues/3), update start() to be cancellable, add docs ([4edf45f](https://github.com/thi-ng/umbrella/commit/4edf45f))
|
|
369
370
|
|
|
370
|
-
|
|
371
|
-
## [1.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.0.0...@thi.ng/hiccup-dom@1.0.1) (2018-02-03)
|
|
372
|
-
|
|
373
|
-
### Bug Fixes
|
|
374
|
-
|
|
375
|
-
* **hiccup-dom:** add NO_SPANS config ([944cbb3](https://github.com/thi-ng/umbrella/commit/944cbb3))
|
|
376
|
-
|
|
377
|
-
<a name="1.0.0"></a>
|
|
378
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@0.1.2...@thi.ng/hiccup-dom@1.0.0) (2018-02-03)
|
|
379
|
-
|
|
380
|
-
### Code Refactoring
|
|
381
|
-
|
|
382
|
-
* **hiccup-dom:** update event attrib naming convention, update readme ([7cc5c93](https://github.com/thi-ng/umbrella/commit/7cc5c93))
|
|
383
|
-
|
|
384
|
-
### BREAKING CHANGES
|
|
385
|
-
|
|
386
|
-
* **hiccup-dom:** event attributes now just use `on` prefix, previously `on-`
|
|
387
|
-
|
|
388
|
-
<a name="0.1.1"></a>
|
|
389
|
-
## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@0.1.0...@thi.ng/hiccup-dom@0.1.1) (2018-02-01)
|
|
390
|
-
|
|
391
|
-
### Bug Fixes
|
|
392
|
-
|
|
393
|
-
* **hiccup-dom:** boolean attribs ([1f6bb58](https://github.com/thi-ng/umbrella/commit/1f6bb58))
|
|
394
|
-
|
|
395
|
-
<a name="0.1.0"></a>
|
|
396
|
-
# 0.1.0 (2018-02-01)
|
|
397
|
-
|
|
398
|
-
### Features
|
|
371
|
+
## [1.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-dom@1.0.0...@thi.ng/hiccup-dom@1.0.1) (2018-02-03)
|
|
399
372
|
|
|
400
|
-
|
|
401
|
-
* **hiccup-dom:** re-import package (MBP2010) ([30ffd00](https://github.com/thi-ng/umbrella/commit/30ffd00))
|
|
373
|
+
### Bug Fixes
|