版本发布 8
## [7.0.1](https://github.com/custom-cards/button-card/compare/v7.0.0...v7.0.1) (2025-11-13) ### Bug Fixes * Support older android versions (>= 5) ([#1119](https://github.com/custom-cards/button-card/issues/1119)) ([206c0fb](https://github.com/custom-cards/button-card/commit/206c0fb78321f6be7c63b5bbae6f59ddd7a292b1)), closes [#1118](https://github.com/custom-cards/button-card/issues/1118) [#1116](https://github.com/custom-cards/button-card/issues/1116)
## [7.0.0-dev.2](https://github.com/custom-cards/button-card/compare/v7.0.0-dev.1...v7.0.0-dev.2) (2025-11-02) ### ⚠ BREAKING CHANGES * `spin` (to make the icon/entity_picture rotate) has been renamed to `rotate`, please update your configurations ### Features * rename `spin` to `rotate` ([#1098](https://github.com/custom-cards/button-card/issues/1098)) ([d26bae2](https://github.com/custom-cards/button-card/commit/d26bae2e37f6d086a793169ad88ae490d65c6cc7)), closes [#1081](https://github.com/custom-cards/button-card/issues/1081) ### Bug Fixes * `press_action` would not work on touchscreen ([#1100](https://github.com/custom-cards/button-card/issues/1100)) ([ea71b3d](https://github.com/custom-cards/button-card/commit/ea71b3d4282ad0f5cb08928883f4ec868b480546)), closes [#1097](https://github.com/custom-cards/button-card/issues/1097) * **variables:** read only error in some cases ([#1101](https://github.com/custom-cards/button-card/issues/1101)) ([a316aa2](https://github.com/custom-cards/button-card/commit/a316aa2376d4bf19df0388b2889115956cc79308)), closes [#1099](https://github.com/custom-cards/button-card/issues/1099)
## [6.1.0-dev.2](https://github.com/custom-cards/button-card/compare/v6.1.0-dev.1...v6.1.0-dev.2) (2025-10-26) ### Features * `triggers_update` is not required anymore, all entities used in JS templates are now discovered automatically. ([#1080](https://github.com/custom-cards/button-card/issues/1080)) ([ccb5766](https://github.com/custom-cards/button-card/commit/ccb57664184f1312128af970a83227ee9c723b25)), closes [#1074](https://github.com/custom-cards/button-card/issues/1074) ### Documentation * Fix action config table format ([f65b2a6](https://github.com/custom-cards/button-card/commit/f65b2a63621d1846e5cdc82d8f9d839091c5734a))
## [5.0.1](https://github.com/custom-cards/button-card/compare/v5.0.0...v5.0.1) (2025-10-05) ### Bug Fixes * **actions:** confirmation would not work ([cf034d2](https://github.com/custom-cards/button-card/commit/cf034d26a8950ce370ad294f9b7339185025f0fd)), closes [#1025](https://github.com/custom-cards/button-card/issues/1025) [#1026](https://github.com/custom-cards/button-card/issues/1026)
## [5.0.0](https://github.com/custom-cards/button-card/compare/v4.3.0...v5.0.0) (2025-10-05) ### ⚠ BREAKING CHANGES * **actions:** `*_action` and `icon_*_action` stricly follow what is allowed in the configuration of this card (see updated documentation). If you used some hacks, it might break. If those hacks were created to run javascript code, you can now use `action: javascript` instead. * **actions:** Some of you were using hacks to execute javascript actions. This release officially implements `action: javascript` and this is the **only supported** way to execute javascript actions going forward. Any other configuration might execute the javascript action while the card is first displayed. Please update your config accordingly and read the updated documentation. * **actions:** CSS variables `--mdc-ripple-*` are no longer supported. These have been replaced with `--button-card-ripple-*` variables. You will need to update your configuration. * **color:** Card background color will always be `var (--card-background-color)` when state is inactive and `color_type: card`. You can set card background with state. ### Features * **actions:** migrate to ha-ripple ([#1011](https://github.com/custom-cards/button-card/issues/1011)) ([3c4dc92](https://github.com/custom-cards/button-card/commit/3c4dc9293f1fc58be3b7f83e8973895ea419abf3)), closes [#887](https://github.com/custom-cards/button-card/issues/887) * **actions:** Official support for native javascript actions ([#1022](https://github.com/custom-cards/button-card/issues/1022)) ([62163cc](https://github.com/custom-cards/button-card/commit/62163ccd5721ea6853d7f6baeccf281c0fe763a0)), closes [#1021](https://github.com/custom-cards/button-card/issues/1021) * **actions:** press and release support for momentary actions ([#1014](https://github.com/custom-cards/button-card/issues/1014)) ([76f2fd4](https://github.com/custom-cards/button-card/commit/76f2fd400e623ad676dd9e3730341975416a5524)), closes [#360](https://github.com/custom-cards/button-card/issues/360) [#249](https://github.com/custom-cards/button-card/issues/249) * Add `icon_*_action` support ([#984](https://github.com/custom-cards/button-card/issues/984)) ([4e02887](https://github.com/custom-cards/button-card/commit/4e028873a5c216f1ba98ba9e34fea944f73e970c)), closes [#739](https://github.com/custom-cards/button-card/issues/739) * allow html tooltips using the lit html tag ([5bb800a](https://github.com/custom-cards/button-card/commit/5bb800a61fb0449492505471bd7ceaac75cd1489)) * Support update timer ([#981](https://github.com/custom-cards/button-card/issues/981)) ([4717feb](https://github.com/custom-cards/button-card/commit/4717feb8474d9ac8eab29af1321891a7d9de4b79)), closes [#436](https://github.com/custom-cards/button-card/issues/436) ### Bug Fixes * **actions:** avoid executing invalid actions configurations ([#1023](https://github.com/custom-cards/button-card/issues/1023)) ([fe05b52](https://github.com/custom-cards/button-card/commit/fe05b529ea873f60ad6ffccbd9d9981c35449cf1)) * **color:** inactive card background no longer inactive color when `colour_type: card` and `color` set. ([#987](https://github.com/custom-cards/button-card/issues/987)) ([b4f00f9](https://github.com/custom-cards/button-card/commit/b4f00f92f71df9df9d76e057f8a38a6e49a2cea7)), closes [#754](https://github.com/custom-cards/button-card/issues/754) * console error on click introduced in 5.0.0-dev.1 ([fc39748](https://github.com/custom-cards/button-card/commit/fc39748e0b0062c605abc09f9e6d2effd9424ceb)), closes [#1001](https://github.com/custom-cards/button-card/issues/1001) * double triggers with icon_*_actions ([d9725d7](https://github.com/custom-cards/button-card/commit/d9725d75081225bdd660feeb9c8de1f928ac7682)) * Embedded light card handle issue ([#989](https://github.com/custom-cards/button-card/issues/989)) ([d01ef37](https://github.com/custom-cards/button-card/commit/d01ef377ab751fa0607bd75107ac48fbfc04cf64)), closes [#427](https://github.com/custom-cards/button-card/issues/427) [#901](https://github.com/custom-cards/button-card/issues/901) * Event propagation to parent would not propagate the event properties ([#1017](https://github.com/custom-cards/button-card/issues/1017)) ([a2051d4](https://github.com/custom-cards/button-card/commit/a2051d49b3b53de63527e9ca6920497d38aa151c)), closes [#1015](https://github.com/custom-cards/button-card/issues/1015) * Hold action on picture entity ([#996](https://github.com/custom-cards/button-card/issues/996)) ([9f2501f](https://github.com/custom-cards/button-card/commit/9f2501f2cf3bff4e9a210f0969218fedc072464a)), closes [#994](https://github.com/custom-cards/button-card/issues/994) * Move while hold on touch devices ([#993](https://github.com/custom-cards/button-card/issues/993)) ([2c17386](https://github.com/custom-cards/button-card/commit/2c17386c64253c684f0d965ae76b0e3c09a7f002)) * Type error when using actions in templates ([#1020](https://github.com/custom-cards/button-card/issues/1020)) ([55956fe](https://github.com/custom-cards/button-card/commit/55956fee56fe65c53befb8812f9befc616f382a0)), closes [#1019](https://github.com/custom-cards/button-card/issues/1019)
## [5.0.0-dev.7](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.6...v5.0.0-dev.7) (2025-10-04) ### Bug Fixes * Type error when using actions in templates ([#1020](https://github.com/custom-cards/button-card/issues/1020)) ([55956fe](https://github.com/custom-cards/button-card/commit/55956fee56fe65c53befb8812f9befc616f382a0)), closes [#1019](https://github.com/custom-cards/button-card/issues/1019)
## [4.2.0-dev.2](https://github.com/custom-cards/button-card/compare/v4.2.0-dev.1...v4.2.0-dev.2) (2025-08-28) ### Features * Support for sections using `section_mode: true` ([#959](https://github.com/custom-cards/button-card/issues/959)) ([92dd6d2](https://github.com/custom-cards/button-card/commit/92dd6d2f49171b995a8f1f940c27e326045a7a86)), closes [#854](https://github.com/custom-cards/button-card/issues/854)
### [4.1.3-dev.1](https://github.com/custom-cards/button-card/compare/v4.1.2...v4.1.3-dev.1) (2025-08-15) ### Bug Fixes * Don't trigger action on touchcancel event ([#808](https://github.com/custom-cards/button-card/issues/808)) ([ebbbb31](https://github.com/custom-cards/button-card/commit/ebbbb318ebcfd73a32cae5a6defbcea9e1336ae0)), closes [#914](https://github.com/custom-cards/button-card/issues/914) * Replace deprecated --paper-item-icon-color ([#925](https://github.com/custom-cards/button-card/issues/925)) ([8e34b84](https://github.com/custom-cards/button-card/commit/8e34b841dde312b4b4fd5a535303e6b1800d8adb)), closes [#924](https://github.com/custom-cards/button-card/issues/924)