Skip to content

Releases: yue/yue

Yue v0.13.3

10 Apr 08:26

Choose a tag to compare

Changelog

  • Add tooltip APIs to View.
  • Add View::GetBoundsInScreen API.
  • Add Window::SetMenuBarVisible API.
  • Fix crash when null is returned in some APIs in Node.js bindings.
  • Fix exceptions thrown from callbacks ignored in Node.js bindings.
  • Fix content view having wrong layout when changing Scroll's content size.
  • Fix crashes on exit after registering Browser custom schemes.
  • Fix View::OffsetFromWindow returning wrong position.

macOS

  • Add Button::SetControlSize API.
  • Fix MenuItem::SetEnabled not working.
  • Fix Button overflows its bounds a bit.
  • Fix bounds of TextEdit not changing after resize

Linux

  • Fix mouse leave event emitted in parent View when mouse entering child View.
  • Fix background color of Browser.

Windows

  • Fix Button not responding.

Yue v0.13.2

03 Apr 03:46

Choose a tag to compare

Changelog

  • Add TextEditBackground color name.
  • Add Painter::SetBlendMode API.
  • Add Image::Tint API.
  • Fix TextEdit::GetTextBounds returning wrong size on macOS and Linux.

macOS

  • Add Image::SetTemplate and Image::IsTemplate APIs.
  • Remove internal paddings of TextEdit.
  • Fix background color of Browser not working.

Yue v0.13.1

26 Mar 23:19

Choose a tag to compare

Changelog

  • Add DisabledTextEditBackground color name.
  • Fix various issues with TextEdit API.
  • Fix multiple Browser.ExecuteJavaScript calls not executing in sequence on Windows.

Yue v0.13.0

26 Feb 07:35

Choose a tag to compare

Changelog

  • Migrate JavaScript bindings from V8 API to Node-API.
  • Update base library to latest (Feb 2023).
  • C++ nu::TableModel::GetValue method now returns base::Value by value instead of const base::Value*.
  • Add Windows arm64 build for JavaScript bindings.
  • Add multiple selection support for Table API.

macOS

  • Fix rows in Table view not aligned center vertically.
  • Fix Table view incorrectly scrolled.

Yue v0.12.0

13 Feb 01:44

Choose a tag to compare

Changelog

  • Drop builds for Node.js 17, and add builds for 18, 19.
  • Drop builds for Electron due to toolchain issues.
  • Fix NotificationCenter methods not working in Lua bindings.

Yue v0.11.0

22 May 13:10

Choose a tag to compare

Changelog

  • Update base library to latest (Apr 2022).
  • Drop builds for Node.js 12.
  • Drop builds for Electron 12, 13, 14, and add builds for 17, 18.
  • Add DatePicker class.
  • Add Responder class, which is the new base class for View and Window.
  • Move mouse and keyboard event handlers from View to Responder.
  • Move SetCapture/ReleaseCapture APIs from View to Responder.

Yue v0.10.3

03 Apr 00:48

Choose a tag to compare

Changelog

  • Fix crashes when using FileDialog and Notification in Lua binding.
  • Fix silent type errors when passing options in language bindings.
  • Optimize performance by lazily installing native event handlers.

Yue v0.10.2

30 Dec 10:15

Choose a tag to compare

Changelog

  • Add MenuItem.validate delegate method.
  • Disable print and find dialog in Browser on Windows.
  • Fix invalid callback being set when pass options in Lua bindings.
  • Fix warning of JSC_SIGNAL_FOR_GC on macOS.

Yue v0.10.1

01 Dec 01:35

Choose a tag to compare

Changelog

  • Add builds for Node 17 and Electron 16.
  • Add Scroll.SetScrollPosition/GetScrollPosition/GetMaximumScrollPosition/on_scroll APIs.
  • Add Maximize/Minimize/CloseWindow in MenuItem roles.
  • Add Lifetime.open_files API.
  • Add Browser.IsMagnifiable/SetMagnifiable APIs.
  • Fix crash caused by ProtocolJob released on wrong thread on macOS and Linux.
  • Fix Window.Center API moving window to center of whole display instead of the work area on Windows and Linux.

Windows

  • Fix crash when using APIs that take std::wstring in Node.js bindings.
  • Fix crash when dragging items from Explorer to Browser.

Linux

  • Fix Screen module returning empty display in some cases.
  • Fix WebKit warning when using Browser module in Node.js binding.
  • Fix Window.GetBounds returning actual window size instead of pending size request.

Yue v0.10.0

29 Aug 02:18

Choose a tag to compare

Changelog

  • Add Lua extension builds for Lua 5.1 and 5.4.
  • Update base library to latest (Aug 2021).
  • Some C++ interface now use move semantic when applicable.

Breaking changes in C++ introduced by the base library update

  • base::string16 is replaced by std::u16string or std::wstring.
  • base::Optional is replaced by absl::optional.