@@ -19,6 +19,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
19
19
* [ Strongly Typed Inputs] ( #strongly-typed-inputs )
20
20
* [ Narrowed Typing for ` autocapitalize ` Attribute] ( #narrowed-typing-for-autocapitalize-attribute )
21
21
* [ Custom Types for Props and Events are now Exported from ` components.d.ts ` ] ( #custom-types-for-props-and-events-are-now-exported-from-componentsdts )
22
+ * [ Composition Event Handlers Renamed] ( #composition-event-handlers-renamed )
22
23
* [ Output Targets] ( #output-targets )
23
24
* [ ` dist-custom-elements ` Output Target] ( #dist-custom-elements-output-target )
24
25
* [ Add ` customElementsExportBehavior ` to Control Export Behavior] ( #add-customelementsexportbehavior-to-control-export-behavior )
@@ -100,7 +101,7 @@ The [`autocaptialize` attribute](https://developer.mozilla.org/en-US/docs/Web/HT
100
101
This change brings Stencil into closer alignment with TypeScript's typings for the attribute.
101
102
No explicit changes are needed, unless a project was passing non-strings to the attribute.
102
103
103
- ### Custom Types for Props and Events are now Exported from ` components.d.ts `
104
+ #### Custom Types for Props and Events are now Exported from ` components.d.ts `
104
105
105
106
Custom types for props and custom events are now re-exported from a project's ` components.d.ts ` file.
106
107
@@ -161,6 +162,21 @@ Projects that manually create type definitions from `components.d.ts` will eithe
161
162
- remove the manually created type (if the types generated in ` components.d.ts ` suffice)
162
163
- update their type creation logic to account for potential naming collisions with the newly generated types
163
164
165
+ #### Composition Event Handlers Renamed
166
+
167
+ The names of Stencil's composition event handlers have been changed in order to
168
+ correct a casing issue which prevented handlers from being called when events
169
+ fired. The changes are as follows:
170
+
171
+ | previous name | new name |
172
+ | ---------------------------- | ---------------------------- |
173
+ | ` onCompositionEnd ` | ` onCompositionend ` |
174
+ | ` onCompositionEndCapture ` | ` onCompositionendCapture ` |
175
+ | ` onCompositionStart ` | ` onCompositionstart ` |
176
+ | ` onCompositionStartCapture ` | ` onCompositionstartCapture ` |
177
+ | ` onCompositionUpdate ` | ` onCompositionupdate ` |
178
+ | ` onCompositionUpdateCapture ` | ` onCompositionupdateCapture ` |
179
+
164
180
### Output Targets
165
181
166
182
#### ` dist-custom-elements ` Output Target
0 commit comments