Skip to content

v0.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@Maddimax Maddimax released this 17 Sep 10:40
· 21 commits to master since this release

Boden Logo

BODEN CROSS-PLATFORM FRAMEWORK

Follow us on Twitter

Find our new Documentation at boden.io!

🎉 Added

  • ui/Button: The Button now supports an imageURL to display an Image instead of text.
  • ui/TextField: The TextField now supports a placeholder text that is displayed while no text was entered.
  • ui/TextField: The TextField now supports obscuring the users input and configuring the appearance of the Keyboard.
  • ui/TextField: Added textInputType and obscureInput properties.
  • ui/Label: The Label's method of handling overflow can now be set with the textOverflow property.
  • foundation/Application: The new function Application::copyToClipboard copies a string to the global clipboard. Thanks @mrexodia!
  • foundation/path: Added the bdn::path namespace featuring functions to retrieve platform-specific paths like e.g. the path of the temporary directory readable/writable by the application.
  • foundation/Application: Added Application base class to the foundation module to make Context accessible from within the module.
  • ui/ListView: Added std::optional<size_t> ListView::rowIndexForView(const std::shared_ptr<View>& view) const
  • foundation/NeedsInit: Added specialization of std::make_shared for types that have an init function but no Constructor Arguments to allow calling std::make_shared<>() without having to specify bdn::needsInit.
  • foundation/c++: Added std:filesystem implementation.

⚠️ Changed

  • ui/View: The View hierarchy functions have been reworked extensively. View::childViews returns a std::vector instead of a std::list and the parent View is accessible via a read-only property View::parentView. Functions that change the hierarchy have been moved out of View.
  • ui/View: The offerLayout function has been renamed to setFallbackLayout
  • foundation/Context: Renamed UIContext to Context and moved it to foundation.
  • ui/ListView: Added listView parameter to ListViewDataSource functions
  • cmake: use_boden_template_info_plist() now accepts a bundle id and bundle name.
  • cmake: Renamed ANDROID_PACKAGEID to ANDROID_APP_ID.
  • tooling The template used by ./boden new now uses file(GLOB_RECURSE ...) to discover sources instead of manually listing the files.

🔥 Deprecated

  • String: The String alias has been deprecated and replaced with std::string.

🐞 Fixed

  • ui/Label: The Label's wrap property is now by default false on all platforms.
  • cmake: Setting ANDROID_PACKAGEID to custom values no longer breaks resource lookup.
  • tooling: Various path related issues fixed in `./boden.