Skip to main content

149 posts tagged with "changelog"

View All Tags

Version 6.2.0

Thomas Mattheussen
PO & Lead Developer

🎨 Themes​

  • Updated the datetime format tokens for chameleon-theme-dl. !1834

πŸš€ New Feature​

  • We've added an additional position for the DateTime placement on our Teaser components. Check out the added documentation for this feature on DefaultTeaser and TextOnImageTeaser. !1794
  • The placement of the image in the RelatedTeaser can now be independently configured from the placement of the image in the horizontal DefaultTeaser. Also, when an image is provided, the prefix is now positioned on top of the title for a nicer visual look. !1765

πŸ› Bug Fix​

  • 🚨 Fixed an incorrect dependency import causing a large number of extraneous assets to be included in your app, bloating the final APK size. If you or one of your dependencies depend on be.mediahuis.chameleon:chameleon-components:6.x.x, you should upgrade ASAP. !1855

🏠 Internal​

Version 6.1.1

Thomas Mattheussen
PO & Lead Developer

πŸ› Bug Fix​

  • Fixed an issue where podcast teaser images were sometimes incorrectly sized. !1823
  • Fixed a missing accent/desktop subtheme for chameleon-theme-yc. !1806

🏠 Internal​

Version 6.0.1

Wannes De Backer
Front-end Developer Web

πŸ›Β BugΒ Fix​

web​

  • Resolved a type issue in useMediaQuery, which was inadvertently excluded due to a faulty extension, leading to an error during the mediahuis-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 articleType podcast. !1789

kotlin​

  • You can now pass a ColorScheme and WindowSizeClass to the SubThemeStore.get() function, making it easier to retrieve a SubThemeStore. !1800

swift​

  • Fixed compatibility issue with chameleon-swift 6.0 where mainActor was not inferred correctly in earlier Swift versions (Swift 5.9) MHDS-3021.

Version 6.0.0

Thomas Mattheussen
PO & Lead Developer

✨🌈 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
  • 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

Wannes De Backer
Front-end Developer Web

πŸš€ 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 the accessibilityLabelAvatar 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 by TC.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 using async to enhance user experience and performance. !1772

🏠 Internal​

Version 5.14.1

Dieter Vaesen
Front-end Developer Android

πŸ› Bug fix​

chameleon-kotlin​

  • A bug was found where text in components for certain SubThemes were cut off. Aligning the line height logic with web solves this problem. !1749

πŸš€ New Feature​

  • We've extended our RelatedTeaser component with an image prop. !1752

🏠 Internal​

  • Make sure our swift code is compatible with mac as well !1751
  • Our docs website component previews now persist the props in the URL. !1759

Version 5.14.0

Wannes De Backer
Front-end Developer Web

πŸ› 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 for chameleon-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​