Skip to content

Commit 95acf12

Browse files
committed
add autocapitalize section for #3692
1 parent 3d397f0 commit 95acf12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

BREAKING_CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
1717
* [Deprecated `assetsDir` Removed from `@Component()` decorator](#deprecated-assetsdir-removed-from-component-decorator)
1818
* [Drop Node 12 Support](#drop-node-12-support)
1919
* [Strongly Typed Inputs](#strongly-typed-inputs)
20+
* [Narrowed Typing for `autocapitalize` Attribute](#narrowed-typing-for-autocapitalize-attribute)
2021
* [Output Targets](#output-targets)
2122
* [`dist-custom-elements` Output Target](#dist-custom-elements-output-target)
2223
* [Add `customElementsExportBehavior` to Control Export Behavior](#add-customelementsexportbehavior-to-control-export-behavior)
@@ -93,6 +94,11 @@ Please upgrade local development machines, continuous integration pipelines, etc
9394
```
9495
`event` arguments to either callback should be updated to take this narrower typing into account
9596

97+
#### Narrowed Typing for `autocapitalize` Attribute
98+
The [`autocaptialize` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize) has been narrowed from type `any` to type `string`.
99+
This changes brings Stencil into closer alignment with TypeScript's typings for the attribute.
100+
No explicit changes are needed, unless a project was passing non-strings to the attribute.
101+
96102
### Output Targets
97103

98104
#### `dist-custom-elements` Output Target

0 commit comments

Comments
 (0)