Urwid

Latest version: v2.6.16

Safety actively analyzes 682382 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

2.4.4

<!-- Release notes generated using configuration in .github/release.yml at master -->

What's Changed
Bug fixes 🕷
* Fix regression: Columns render incorrect BOX/FLOW widgets height by penguinolog in https://github.com/urwid/urwid/pull/754


**Full Changelog**: https://github.com/urwid/urwid/compare/2.4.3...2.4.4

2.4.3

<!-- Release notes generated using configuration in .github/release.yml at master -->

What's Changed
New features 🗹
* Feature: `Overlay` typing and proper repr by penguinolog in https://github.com/urwid/urwid/pull/741
* Feature: support proper `repr` and `str` for `Canvas` by penguinolog in https://github.com/urwid/urwid/pull/740
* Feature: Support FIXED and FLOW operations for `Overlay` depends on options by penguinolog in https://github.com/urwid/urwid/pull/743
* Feature: `Columns` accept focus widget as "focus_column" by penguinolog in https://github.com/urwid/urwid/pull/747
* Feature: `Filler` can act as FLOW widget by penguinolog in https://github.com/urwid/urwid/pull/749
* Feature: allow explicit focus in `GridFlow` constructor by penguinolog in https://github.com/urwid/urwid/pull/752
Bug fixes 🕷
* `Columns` support correct BOX render only if ALL BOX by penguinolog in https://github.com/urwid/urwid/pull/746
* `LineBox`: make side only if side elements present, fix pack by penguinolog in https://github.com/urwid/urwid/pull/748
* Update source package manifest to include `_web.js` and `_web.css` by Hook25 in https://github.com/urwid/urwid/pull/750
* Fix `ListBox.contents`: it should return final entity by penguinolog in https://github.com/urwid/urwid/pull/751
Documentation 🕮
* original artwork for widgets diagram by wardi in https://github.com/urwid/urwid/pull/739

New Contributors
* Hook25 made their first contribution in https://github.com/urwid/urwid/pull/750

**Full Changelog**: https://github.com/urwid/urwid/compare/2.4.2...2.4.3

2.4.2

<!-- Release notes generated using configuration in .github/release.yml at master -->

What's Changed
New features 🗹
* Feature: support FIXED-only widgets and FIXED rendering for Columns by penguinolog in https://github.com/urwid/urwid/pull/731
* Feature: Support FIXED-only widgets and FIXED rendering for PILE by penguinolog in https://github.com/urwid/urwid/pull/733
* FIX Padding: support FIXED render mode by penguinolog in https://github.com/urwid/urwid/pull/734, https://github.com/urwid/urwid/pull/735, https://github.com/urwid/urwid/pull/737
* Feature: support FIXED render type for GridFLow by penguinolog in https://github.com/urwid/urwid/pull/738

Now it possible to quick check incomplete widgets prototypes without size counting like:
python
>>> import urwid
>>> grid = urwid.GridFlow(
...: (urwid.Button(tag, align=urwid.CENTER) for tag in ("OK", "Cancel", "Help")),
...: cell_width=10,
...: h_sep=1,
...: v_sep=1,
...: align=urwid.CENTER,
...: )
>>> body = urwid.Pile(
...: (
...: (urwid.Text("Window content text here and it should not touch line", align=urwid.CENTER)),
...: (urwid.PACK, grid),
...: )
...: )
>>> widget = urwid.LineBox(
...: urwid.Pile(
...: (
...: urwid.Text("Some window", align=urwid.CENTER),
...: urwid.Divider("─"),
...: urwid.Padding(body, width=urwid.PACK, left=1, right=1),
...: )
...: )
...: )
>>> print(b"\n".join(widget.render(()).text).decode("utf-8"))
┌───────────────────────────────────────────────────────┐
│ Some window │
│───────────────────────────────────────────────────────│
│ Window content text here and it should not touch line │
│ < OK > < Cancel > < Help > │
└───────────────────────────────────────────────────────┘

>>> widget.pack(())
(57, 6)

Bug fixes 🕷
* BUG: Columns with GIVEN width == 0 should not count in rows by penguinolog in https://github.com/urwid/urwid/pull/736
Refactoring 🛠
* Remove unused deprecated "test_suite" directive from setup.py by penguinolog in https://github.com/urwid/urwid/pull/729


**Full Changelog**: https://github.com/urwid/urwid/compare/2.4.1...2.4.2

2.4.1

<!-- Release notes generated using configuration in .github/release.yml at master -->

What's Changed
Bug fixes 🕷
* Fix Regressions in 2.4.0 by penguinolog in https://github.com/urwid/urwid/pull/727


**Full Changelog**: https://github.com/urwid/urwid/compare/2.4.0...2.4.1

2.4.0

<!-- Release notes generated using configuration in .github/release.yml at master -->

What's Changed
New features 🗹
* Basic **Windows OS** support in RAW and Curses display.
* * Fully functional RAW display support. Thanks to mhils (initial RAW display)
* * Limited Curses support due to windows-curses limitation (mouse support limited). Thanks to asmith-kepler (windows-curses monkeypatch)
* * UTF-8 only
* * Force `SelectorEventLoop` for asyncio under Windows if event loop is not set by penguinolog in https://github.com/urwid/urwid/pull/715
* Feature: switch from `select.select` to `selectors` by penguinolog in https://github.com/urwid/urwid/pull/691
* Feature: support FIXED render mode for Text by penguinolog in https://github.com/urwid/urwid/pull/610
* Feature: extend functional keys handling with key modifiers by penguinolog in https://github.com/urwid/urwid/pull/705
* Add `run_in_executor` helper to the event loop by penguinolog in https://github.com/urwid/urwid/pull/712
* Feature: Add internal logging for behavioral debug by penguinolog in https://github.com/urwid/urwid/pull/708
* * Feature: Use module path + class name for loggers and init once by penguinolog in https://github.com/urwid/urwid/pull/720
* Feature: Implement `keypress` and `mouse_event` default handlers by penguinolog in https://github.com/urwid/urwid/pull/721
* * Not subclassing `Widget` base class during custom widget implementation will produce `DeprecationWarning`
Deprecations ⚡
* Refactor: join display modules in package by penguinolog in https://github.com/urwid/urwid/pull/655
* * Backward-compatible. Main display modules import will not produce `DeprecationWarning`.
Documentation 🕮
* Fix 186 - `disconnect_by_key` should be exposed and use correct name by penguinolog in https://github.com/urwid/urwid/pull/688
* Extend input_test example for better debug capabilities by penguinolog in https://github.com/urwid/urwid/pull/713
* * Support alternative event loops and debug logging.
Refactoring 🛠
* Refactoring: remove dead code from Raw display by penguinolog in https://github.com/urwid/urwid/pull/707


**Full Changelog**: https://github.com/urwid/urwid/compare/2.3.4...2.4.0

2.3.4

<!-- Release notes generated using configuration in .github/release.yml at master -->

What's Changed
New features 🗹
* Replace deprecated use of MultiError with exceptiongroup by DRMacIver in https://github.com/urwid/urwid/pull/679
* Declare extension use Py_LIMITED_API explicit also in setup.py by penguinolog in https://github.com/urwid/urwid/pull/686
Bug fixes 🕷
* use Hashable for signal identifier types by ju1ius in https://github.com/urwid/urwid/pull/669
* Fix 674 : old versions of setuptools_scm support by penguinolog in https://github.com/urwid/urwid/pull/675
* Fix WSL support: filter-out SI/SO in case of WSL by penguinolog in https://github.com/urwid/urwid/pull/656
Documentation 🕮
* fixed typo by vindolin in https://github.com/urwid/urwid/pull/676
Refactoring 🛠
* Maintenance: apply `refurb` fixes and tighten ruff by penguinolog in https://github.com/urwid/urwid/pull/671
* Fix exception re-raise in trio event loop by penguinolog in https://github.com/urwid/urwid/pull/683
Other Changes
* Maintenance: Tests: Use explicit encoding for tests by penguinolog in https://github.com/urwid/urwid/pull/685

New Contributors
* ju1ius made their first contribution in https://github.com/urwid/urwid/pull/669
* vindolin made their first contribution in https://github.com/urwid/urwid/pull/676
* DRMacIver made their first contribution in https://github.com/urwid/urwid/pull/679

**Full Changelog**: https://github.com/urwid/urwid/compare/2.2.3...2.3.4

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.