177 posts tagged with "changelog"
View All TagsVersion 6.0.2
Version 6.0.1
πΒ BugΒ Fixβ
webβ
- Resolved a type issue in
useMediaQuery
, which was inadvertently excluded due to a faulty extension, leading to an error during themediahuis-compile
step. !1792 - Fixed an issue in the
<Logo />
component where outdated pre-6.0.0
values were still being used, causing the image to break. !1799 - Removed the duplicate podcast image logic in the
Teaser
with articleTypepodcast
. !1789
kotlinβ
- You can now pass a
ColorScheme
andWindowSizeClass
to theSubThemeStore.get()
function, making it easier to retrieve aSubThemeStore
. !1800
swiftβ
- Fixed compatibility issue with
chameleon-swift
6.0 wheremainActor
was not inferred correctly in earlier Swift versions (Swift 5.9) MHDS-3021.
Version 6.0.0
β¨π Welcome ChameleonΒ 6.0.0!β
It may look the same on the surface, but behind the scenes, weβve done some serious housekeeping. Weβve refactored all of our visual assets β logos, icons & illustrations β so everythingβs now neat and easy to find. On top of that, we took out the trash by removing some long-deprecated code.
All in all, think of it as a refreshing spring cleaning.
Be sure to check out our migration guide to help guide you through the process of upgrading.
π¨ Themesβ
- π₯ BREAKING: The main reason for this major version: a complete refactor of all of our visual assets. Be sure to check our migration guide.
π New Featureβ
- An easy composable implementation to retrieve available SubThemes and Themes. !1718
π Internalβ
- Updates to dependencies
- date-fns: 2.27.0 -> 3.6.0
- react-day-picker: 8.7.1 -> 8.10.1
- Remove some unused config files. !1638
- Removed
ChCard
component in Kotlin. !1673 - Weβve significantly improved our workflow by automating asset downloads directly from Figma, boosting efficiency and greatly reducing the chances of human error. This is a solid step forward in making things smoother and more reliable. !1427
- π₯ BREAKING: Remove deprecated code and align some API's. Be sure to check our migration guide as a guide to these breaking changes. !1669 !1685 !1708 !1712
Version 5.15.0
π New Featureβ
chameleon-reactβ
- We've significantly enhanced our typings for React, particularly in components with an
as
property, offering improved type safety and flexibility. !1741 - Improved accessibility for the
Avatar
component, which was previously hidden from screen readers. We also introduced theaccessibilityLabelAvatar
property, allowing screen readers to provide descriptive labels for avatars. !1777
chameleon-swiftβ
These updates will help with transitioning to newer components and improve overall deployment and style handling processes.
- Branch-specific Publishing: The ability to publish directly to a specific branch has been implemented, which will make deployment more flexible (Merge Request: !1770).
- Swift Loader and Banner Issues: A merge request has addressed issues related to Swift loader and banner components (Merge Request: !1778).
- Token Simplification: A simplified method of using tokens by providing a style has been introduced, which is aimed at making the transition to components smoother. The Loader and Banner have already adopted this approach, with others expected to follow in version 6 (V6).
- AutoRegister Deprecation: AutoRegister is still functional but deprecated. It will be removed in V6, so while it's not mandatory to switch to manual bootstrap yet, developers are encouraged to start doing so.
chameleon-kotlinβ
- Updated autoregister/bootstrap processes:
TC.autoRegister()
is deprecated and will be replaced byTC.bootstrap()
in V6. Both methods now include logic to prevent multiple triggers and will log a warning if skipped. !1779 - Asset tokens are now accessible via
TC
from this version forward. !1768 - Introduced new Chameleon components with Compose previews:
ChBanner
,CHLoader
,CHDropdown
. !1764 - The demo app is now named ChameleonApp.
π Bug Fixβ
Themesβ
- Fixed an issue with incorrect sets enabled on DL subthemes, restoring the intended theme configurations. !1775
chameleon-swiftβ
- Optimized typography function calls to improve startup times and make previews more workable. !1769
chameleon-reactβ
- Refactored the logic for showing/hiding suggestions in the
Autocomplete
component when usingasync
to enhance user experience and performance. !1772
π Internalβ
- Updates to dependencies:
- @popperjs/core: 2.11.6 -> 2.11.8
Version 5.14.2
Version 5.14.1
Version 5.14.0
π Bug fixβ
chameleon-swiftβ
-
textCase is properly filled and no longer optional !1743
-
Typography now contains a
textDecoration
prop too
π¨ Themesβ
- Added the
breaking
subtheme forchameleon-theme-dl
and made some changes to the teaser editorial tokens. !1738 - Made some changes to the
breaking
subtheme and the teaser editorial tokens for the MHNR brands. !1719 - Updated the design for the Branded Header for the MHNR brands. !1717
- Updated the
quotes
icon for the MHNR brands. !1731
π Internalβ
- Updates to dependencies
- @percy/cli: 1.28.7 -> 1.29.0
- @storybook/addon-webpack5-compiler-swc: 1.0.3 -> 1.0.5
- husky: 9.1.1 -> 9.1.4
- postcss: 8.4.39 -> 8.4.40
- Fixed some small issues on our docs website !1739 !1742
- Fixed some small workflow issues in our CI pipeline !1730 !1740
Version 5.13.1
π New Featureβ
chameleon-swiftβ
- Check validity of subTheme on set on the token container. !1710
π Bug fixβ
chameleon-reactβ
- Fixed an SSR issue with our
<Portal />
component. !1716
chameleon-themesβ
- Fixed an issue with SVG dimensions on
chameleon-theme-lt
logos. !1723
chameleon-swift-tokens-legacyβ
- Fixed a build/pipeline issue. !1720
π Internalβ
- Updates to dependencies
- @percy/storybook: 6.0.0 -> 6.0.1
- @popperjs/core: 2.11.6 -> 2.11.8
- husky: 8.0.3 -> 9.1.1
- turbo: 1.13.3 -> 1.13.4
- Added subtheme functionality to our demo's on the docs website. Darkmode functionality has been implemented as well, but hidden from our users for now (as we don't have any good darkmode brands atm). !1653
Version 5.13.0
π New Featureβ
-
We've added the editorial functionality to our Teaser components giving you the power to mark teasers as being "live" or "breaking"! This addition comes in the form of the
editorialLabel
andeditorialAnimation
props on our<DefaultTeaser />
and<TextOnImageTeaser />
components. !1667 -
We've added the possibility to group countries in our
<PhoneField />
component. For example, if you want to separate "BeNeLux" and "Other countries". !1684
π Bug Fixβ
chameleon-reactβ
- We've fixed a small padding issue in our
<Quote />
component. !1704