Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 3.59 KB

File metadata and controls

54 lines (38 loc) · 3.59 KB

Change Log - Pglet client for Python

0.7.1 - Feb 22, 2022

  • #68 Border styling props in Stack, Text, Image and IFrame allow either single value or a list
  • #69 All boolean control props have default values
  • #70 Control Refs

0.7.0 - Feb 17, 2022

Works with Pglet Server 0.7.0.

New SplitStack control (based on split.js) which could be used as a drop-in replacement for Stack, but with resize gutters instead of gaps. Check out SplitStack control example.

New TextBox control properties:

  • shiftEnter (bool) - blocks ENTER button in multiline TextBox, but pops up the event, so Stack.submit could be triggered. New line could still be entered with SHIFT+ENTER. This is to build Discord-like message box.
  • rows (int) - sets initial size in rows of multiline TextBox.
  • resizable (bool) - controls whether multiline TextBox is resizable by the user. Default is true. autoAdjustHeight is still respected even if resizable is false.

Panel control changes:

  • blocking (bool) is now true by default.

border_style property in Image, IFrame, Stack and Text allows lists, for example:

stack.border_style = ["solid", "double"]  # top and bottom borders are solid, left and right are double

0.6.0 - Feb 13, 2022

  • Works with Pglet Server 0.6.0.
  • Added focused property, focus and blur events to all input controls - paving the way to a proper validation support.
  • New Persona control.
  • New ComboBox control.
  • New page events: connect and disconnect for real-time chat-like experiences.
  • Harmonization of border styling propeties across Stack, Image, IFrame and Text controls: HTML-ish border property with mixed and confusing to non-web devs semantics (1px solid black or solid 1px black?) replaced with clean and simple border_style, border_width and border_color properties.
  • All boolean and enum-like properties are protected with beartype.
  • Fixed all control tests to ensure Pglet works nice with Python 3.7 and above. Big shout-out to @mikaelho for helping with that!
  • Black and isort was adopted as official formatting tools.
  • Generating platform-specific wheels (.whl) with one pglet executable inside only: smaller wheels - faster installation!

0.5.9 - Jan 27, 2022

  • Default Pglet Server port is now 8550 (changed from 5000 because of AirDrop service on macOS).
  • PDM is used for development and packaging.
  • Created a minimal contribution guide: CONTRIBUTING.md.
  • In development mode Pglet Server is automatically downloaded on the first run from GitHub to $HOME/.pglet/bin.
  • Grid control fixes:
    • Persist selection.
    • Settable selected_items property - you can pre-select items in a grid now.
  • New Page properties: gap, bgcolor.