Releases: boson-php/boson
Releases · boson-php/boson
0.4.0
- Upgrade frontend dependencies to ^0.2 (https://github.com/BosonPHP/frontend/releases/tag/0.2.0)
- Added binary compat constraints.
- Added
Window::restore()method (restores window state after maximize/minimize). - Fixed and improved Window
min,maxandsizeproperties initialization logic. - Fixed
Window::maximize()method behaviour. - Added
WindowDecorationChangedevent (after window decoration has been changed). - Added
WindowStateChangedevent (after window state has been changed). - Added
Window::$stateproperty (read only) and WindowState enum:
enum WindowState
{
case Normal;
case Minimized;
case Maximized;
}0.3.0
- Added
WindowCreateInfo::$decorationandWindow::$decorationproperties withWindowDecorationenum:
enum WindowDecoration
{
case Default;
case DarkMode;
case Frameless;
case Transparent;
}Window::$backgroundproperty has been removed.Window::$isDecoratedproperty has been removed.WindowCreateInfo::$decoratedconfig field has been removed.- Any color features (parsing and value objects) has been removed.
- Added
Window::minmize()method. - Added
Window::maximize()method (may not work correctly at the moment, merge and release required saucer/bindings#4)
Full Changelog: 0.2.0...0.3.0
0.2.0
- Add custom scheme/protocols support
- Totally rewrite HTTP layer (6afb3ed). Affect behavior of properties:
WebView::$urlWebViewNavigating::$urlWebViewNavigated::$url
- Added HTTP middleware support (TBD; Early Support)
- And more...
Full Changelog: 0.1.1...0.2.0
0.1.1
- Add window`s background color support:
// Get
echo $window->background; // string(7) "#ffffff"
echo $window->background->red; // int(255)
// Update
$window->background = '#f00'; // set color
$window->background->alpha = 0; // update only alpha component
$window->background->update(red: 64, green: 42); // update red and green components only0.1.0
- Initial tag, created from tag 0.4.2 of previous repository