Skip to content

Commit e38f09f

Browse files
committed
Correct typo in 0.5.0 release notes.
1 parent 0d46004 commit e38f09f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/background/project/releases.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Backward Incompatible Changes
6262
* The use of generators as event handlers has been deprecated. Any generator-based event handler can be converted into an asynchronous co-routine by converting the handler to ``async def``, and using ``await asyncio.sleep(t)`` in place of ``yield t`` (for some sleep interval ``t``). (`#2721 <https://github.com/beeware/toga/issues/2721>`__)
6363
* Widgets now create and return their implementations via a ``_create()`` method. A user-created custom widget that inherits from an existing Toga widget and uses the same implementation will require no changes. Any user-created widgets that need to specify their own implementation should do so in ``_create()`` and return that implementation. Existing user code inheriting from ``Widget`` that assigns its implementation before calling ``super().__init__()`` will continue to function, but give a ``RuntimeWarning``; unfortunately, this change breaks any existing code that doesn't create its implementation until afterward. Such usage will now raise an exception. (`#2942 <https://github.com/beeware/toga/issues/2942>`__)
6464
* Pack's ``padding`` and ``alignment`` properties have been renamed to ``margin`` and ``align_items``, to match their CSS analogues. ``align_items`` also now takes CSS-compatible values of ``START``, ``CENTER``, and ``END``, instead of ``alignment``'s ``TOP``/``RIGHT``/``BOTTOM``/``LEFT``/``CENTER``. The old names are still present — and ``alignment`` still takes its existing values — but these constants are deprecated. (`#3033 <https://github.com/beeware/toga/issues/3033>`__)
65-
* APIs marked as deprecated in Togo 0.4.0 and earlier have been removed. (`#3059 <https://github.com/beeware/toga/issues/3059>`__)
65+
* APIs marked as deprecated in Toga 0.4.0 and earlier have been removed. (`#3059 <https://github.com/beeware/toga/issues/3059>`__)
6666
* The ``show()`` and ``hide()`` APIs can no longer be used on a window while it is in a ``MINIMIZED``, ``FULLSCREEN`` or ``PRESENTATION`` state. (`#3109 <https://github.com/beeware/toga/issues/3109>`__)
6767
* If window size is unchanged as a result of a resize request, a layout of window content is no longer triggered. (`#3131 <https://github.com/beeware/toga/issues/3131>`__)
6868
* If you're running on Ubuntu 22.04, Debian 11 or Debian 12, you'll need to manually add a pin for ``PyGObject==3.50.0`` to your project. This is because recent PyGObject releases specify a requirement on ``girepository-2.0``, which is not available on older Debian-based distributions. A manual pin is required because there's no way to express a dependency on a system package as part of Python's requirements specifications. (`#3143 <https://github.com/beeware/toga/issues/3143>`__)

0 commit comments

Comments
 (0)