Skip to content

Commit 246fea1

Browse files
committed
Added release notes for v0.4.3
1 parent c782329 commit 246fea1

11 files changed

+63
-47
lines changed

changes/220.bugfix.rst

-1
This file was deleted.

changes/224.feature.rst

-1
This file was deleted.

changes/227.misc.rst

-1
This file was deleted.

changes/228.misc.rst

-1
This file was deleted.

changes/229.misc.rst

-1
This file was deleted.

changes/231.feature.rst

-1
This file was deleted.

changes/232.misc.rst

-1
This file was deleted.

changes/233.misc.rst

-1
This file was deleted.

changes/234.misc.rst

-1
This file was deleted.

changes/235.bugfix.rst

-1
This file was deleted.

docs/background/releases.rst

+63-37
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,32 @@ Release History
33

44
.. towncrier release notes start
55
6+
0.4.3 (2022-12-05)
7+
==================
8+
9+
Features
10+
--------
11+
12+
* Support for Python 3.11 has been added. (`#224
13+
<https://github.com/beeware/rubicon-objc/issues/224>`__)
14+
* Support for Python 3.12 has been added. (`#231
15+
<https://github.com/beeware/rubicon-objc/issues/231>`__)
16+
17+
Bugfixes
18+
--------
19+
20+
* Enforce usage of `argtypes` when calling `send_super`. (`#220
21+
<https://github.com/beeware/rubicon-objc/issues/220>`__)
22+
* The check identifying the architecture on which Rubicon is running has been
23+
corrected for x86_64 simulators using a recent Python-Apple-support releases.
24+
(`#235 <https://github.com/beeware/rubicon-objc/issues/235>`__)
25+
26+
Misc
27+
----
28+
29+
* #227, #228, #229, #232, #233, #234
30+
31+
632
0.4.2 (2021-11-14)
733
------------------
834

@@ -11,23 +37,23 @@ Features
1137

1238
* Added ``autoreleasepool`` context manager to mimic Objective-C
1339
``@autoreleasepool`` blocks. (`#213
14-
<https://github.com/beeware/rubicon-objc/issues/213>`_)
40+
<https://github.com/beeware/rubicon-objc/issues/213>`__)
1541

1642
* Allow storing Python objects in Objective-C properties declared with
1743
``@objc_property``. (`#214
18-
<https://github.com/beeware/rubicon-objc/issues/214>`_)
44+
<https://github.com/beeware/rubicon-objc/issues/214>`__)
1945

2046
* Added support for Python 3.10. (`#218
21-
<https://github.com/beeware/rubicon-objc/issues/218>`_)
47+
<https://github.com/beeware/rubicon-objc/issues/218>`__)
2248

2349
Bugfixes
2450
^^^^^^^^
2551

2652
* Raise ``TypeError`` when trying to declare a weak property of a non-object
27-
type. (`#215 <https://github.com/beeware/rubicon-objc/issues/215>`_)
53+
type. (`#215 <https://github.com/beeware/rubicon-objc/issues/215>`__)
2854

2955
* Corrected handling of methods when a class overrides a method defined in a
30-
grandparent. (`#216 <https://github.com/beeware/rubicon-objc/issues/216>`_)
56+
grandparent. (`#216 <https://github.com/beeware/rubicon-objc/issues/216>`__)
3157

3258

3359
0.4.1 (2021-07-25)
@@ -37,20 +63,20 @@ Features
3763
^^^^^^^^
3864

3965
* Added official support for Python 3.9. (`#193
40-
<https://github.com/beeware/rubicon-objc/issues/193>`_)
66+
<https://github.com/beeware/rubicon-objc/issues/193>`__)
4167

4268
* Added official support for macOS 11 (Big Sur). (`#195
43-
<https://github.com/beeware/rubicon-objc/issues/195>`_)
69+
<https://github.com/beeware/rubicon-objc/issues/195>`__)
4470

4571
* Autorelease Objective-C instances when the corresponding Python instance is
46-
destroyed. (`#200 <https://github.com/beeware/rubicon-objc/issues/200>`_)
72+
destroyed. (`#200 <https://github.com/beeware/rubicon-objc/issues/200>`__)
4773

4874
* Improved memory management when a Python instance is assigned to a new
4975
``ObjCInstance`` attribute. (`#209
50-
<https://github.com/beeware/rubicon-objc/issues/209>`_)
76+
<https://github.com/beeware/rubicon-objc/issues/209>`__)
5177

5278
* Added support to declare weak properties on custom Objective-C classes. (`#210
53-
<https://github.com/beeware/rubicon-objc/issues/210>`_)
79+
<https://github.com/beeware/rubicon-objc/issues/210>`__)
5480

5581
Bugfixes
5682
^^^^^^^^
@@ -59,25 +85,25 @@ Bugfixes
5985
create a block with no arguments and using explicit types. This previously
6086
caused an incorrect exception about missing argument types; now a no-arg block
6187
is created as expected. (`#153
62-
<https://github.com/beeware/rubicon-objc/issues/153>`_)
88+
<https://github.com/beeware/rubicon-objc/issues/153>`__)
6389

6490
* Fixed handling of type annotations when passing a bound Python method into
6591
:class:`~rubicon.objc.api.Block`. (`#153
66-
<https://github.com/beeware/rubicon-objc/issues/153>`_)
92+
<https://github.com/beeware/rubicon-objc/issues/153>`__)
6793

6894
* A cooperative entry point for starting event loop has been added. This corrects
6995
a problem seen when using Python 3.8 on iOS. (`#182
70-
<https://github.com/beeware/rubicon-objc/issues/182>`_)
96+
<https://github.com/beeware/rubicon-objc/issues/182>`__)
7197

7298
* Improved performance of Objective-C method calls and
7399
:class:`~rubicon.objc.api.ObjCInstance` creation in many cases. (`#183
74-
<https://github.com/beeware/rubicon-objc/issues/183>`_)
100+
<https://github.com/beeware/rubicon-objc/issues/183>`__)
75101

76102
* Fix calling of signal handlers added to the asyncio loop with CFRunLoop
77-
integration. (`#202 <https://github.com/beeware/rubicon-objc/issues/202>`_)
103+
integration. (`#202 <https://github.com/beeware/rubicon-objc/issues/202>`__)
78104

79105
* Allow restarting a stopped event loop. (`#205
80-
<https://github.com/beeware/rubicon-objc/issues/205>`_)
106+
<https://github.com/beeware/rubicon-objc/issues/205>`__)
81107

82108
Deprecations and Removals
83109
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -101,7 +127,7 @@ Deprecations and Removals
101127
an Objective-C collection as Python values, you can use
102128
:func:`~rubicon.objc.api.py_from_ns` to convert either single values (e. g.
103129
``py_from_ns(arr[0])``) or the entire collection (e. g. ``py_from_ns(arr)``).
104-
(`#183 <https://github.com/beeware/rubicon-objc/issues/183>`_)
130+
(`#183 <https://github.com/beeware/rubicon-objc/issues/183>`__)
105131

106132
* Removed macOS 10.12 through 10.14 from our automatic test matrix,
107133
due to pricing changes in one of our CI services (Travis CI).
@@ -114,7 +140,7 @@ Deprecations and Removals
114140
basis, even though compatibility is no longer tested automatically. If you
115141
encounter any bugs or other problems with Rubicon on these older macOS
116142
versions, please report them! (`#197
117-
<https://github.com/beeware/rubicon-objc/issues/197>`_)
143+
<https://github.com/beeware/rubicon-objc/issues/197>`__)
118144

119145
Misc
120146
^^^^
@@ -133,66 +159,66 @@ Features
133159
^^^^^^^^
134160

135161
* Added macOS 10.15 (Catalina) to the test matrix.
136-
(`#145 <https://github.com/beeware/rubicon-objc/issues/145>`_)
162+
(`#145 <https://github.com/beeware/rubicon-objc/issues/145>`__)
137163
* Added :pep:`517` and :pep:`518` build system metadata to pyproject.toml.
138-
(`#156 <https://github.com/beeware/rubicon-objc/issues/156>`_)
164+
(`#156 <https://github.com/beeware/rubicon-objc/issues/156>`__)
139165
* Added official support for Python 3.8.
140-
(`#162 <https://github.com/beeware/rubicon-objc/issues/162>`_)
166+
(`#162 <https://github.com/beeware/rubicon-objc/issues/162>`__)
141167
* Added a ``varargs`` keyword argument to
142168
:func:`~rubicon.objc.runtime.send_message` to allow calling variadic methods
143-
more safely. (`#174 <https://github.com/beeware/rubicon-objc/issues/174>`_)
169+
more safely. (`#174 <https://github.com/beeware/rubicon-objc/issues/174>`__)
144170
* Changed ``ObjCMethod`` to call methods using
145171
:func:`~rubicon.objc.runtime.send_message` instead of calling
146172
:class:`~rubicon.objc.runtime.IMP`\s directly. This is mainly an internal
147173
change and should not affect most existing code, although it may improve
148174
compatibility with Objective-C code that makes heavy use of runtime
149175
reflection and method manipulation (such as swizzling).
150-
(`#177 <https://github.com/beeware/rubicon-objc/issues/177>`_)
176+
(`#177 <https://github.com/beeware/rubicon-objc/issues/177>`__)
151177

152178
Bugfixes
153179
^^^^^^^^
154180

155181
* Fixed Objective-C method calls in "flat" syntax accepting more arguments than
156182
the method has. The extra arguments were previously silently ignored.
157183
An exception is now raised if too many arguments are passed.
158-
(`#123 <https://github.com/beeware/rubicon-objc/issues/123>`_)
184+
(`#123 <https://github.com/beeware/rubicon-objc/issues/123>`__)
159185
* Fixed :func:`ObjCInstance.__str__ <rubicon.objc.api.ObjCInstance.__str__>`
160186
throwing an exception if the object's Objective-C ``description`` is ``nil``.
161-
(`#125 <https://github.com/beeware/rubicon-objc/issues/125>`_)
187+
(`#125 <https://github.com/beeware/rubicon-objc/issues/125>`__)
162188
* Corrected a slow memory leak caused every time an asyncio timed event handler
163-
triggered. (`#146 <https://github.com/beeware/rubicon-objc/issues/146>`_)
189+
triggered. (`#146 <https://github.com/beeware/rubicon-objc/issues/146>`__)
164190
* Fixed various minor issues in the build and packaging metadata.
165-
(`#156 <https://github.com/beeware/rubicon-objc/issues/156>`_)
191+
(`#156 <https://github.com/beeware/rubicon-objc/issues/156>`__)
166192
* Removed unit test that attempted to pass a struct with bit fields into a C
167193
function by value. Although this has worked in the past on x86 and x86_64,
168194
:mod:`ctypes` never officially supported this, and started generating an
169195
error in Python 3.7.6 and 3.8.1
170-
(see `bpo-39295 <https://bugs.python.org/issue39295>`_).
171-
(`#157 <https://github.com/beeware/rubicon-objc/issues/157>`_)
196+
(see `bpo-39295 <https://bugs.python.org/issue39295>`__).
197+
(`#157 <https://github.com/beeware/rubicon-objc/issues/157>`__)
172198
* Corrected the invocation of ``NSApplication.terminate()`` when the
173199
:class:`~rubicon.objc.eventloop.CocoaLifecycle` is ended.
174-
(`#170 <https://github.com/beeware/rubicon-objc/issues/170>`_)
200+
(`#170 <https://github.com/beeware/rubicon-objc/issues/170>`__)
175201
* Fixed :func:`~rubicon.objc.runtime.send_message` not accepting
176202
:class:`~rubicon.objc.runtime.SEL` objects for the ``selector`` parameter.
177203
The documentation stated that this is allowed, but actually doing so caused
178-
a type error. (`#177 <https://github.com/beeware/rubicon-objc/issues/177>`_)
204+
a type error. (`#177 <https://github.com/beeware/rubicon-objc/issues/177>`__)
179205

180206
Improved Documentation
181207
^^^^^^^^^^^^^^^^^^^^^^
182208

183209
* Added detailed :doc:`reference documentation </reference/index>` for all
184210
public APIs of :mod:`rubicon.objc`.
185-
(`#118 <https://github.com/beeware/rubicon-objc/issues/118>`_)
211+
(`#118 <https://github.com/beeware/rubicon-objc/issues/118>`__)
186212
* Added a :doc:`how-to guide for calling regular C functions
187213
</how-to/c-functions>` using :mod:`ctypes` and :mod:`rubicon.objc`.
188-
(`#147 <https://github.com/beeware/rubicon-objc/issues/147>`_)
214+
(`#147 <https://github.com/beeware/rubicon-objc/issues/147>`__)
189215

190216
Deprecations and Removals
191217
^^^^^^^^^^^^^^^^^^^^^^^^^
192218

193219
* Removed the i386 architecture from the test matrix. It is still supported on
194220
a best-effort basis, but compatibility is not tested automatically.
195-
(`#139 <https://github.com/beeware/rubicon-objc/issues/139>`_)
221+
(`#139 <https://github.com/beeware/rubicon-objc/issues/139>`__)
196222
* Tightened the API of :func:`~rubicon.objc.runtime.send_message`, removing
197223
some previously allowed shortcuts and features that were rarely used, or
198224
likely to be used by accident in an unsafe way.
@@ -240,16 +266,16 @@ Deprecations and Removals
240266
arguments now has to exactly match the number of ``argtypes``. Variadic
241267
methods can still be called, but the varargs now need to be passed as a list
242268
into the separate ``varargs`` keyword arugment.
243-
(`#174 <https://github.com/beeware/rubicon-objc/issues/174>`_)
269+
(`#174 <https://github.com/beeware/rubicon-objc/issues/174>`__)
244270
* Removed the ``rubicon.objc.core_foundation`` module. This was an internal
245271
module with few remaining contents and should not have any external uses. If
246272
you need to call Core Foundation functions in your code, please load the
247273
framework yourself using ``load_library('CoreFoundation')`` and define the
248274
types and functions that you need.
249-
(`#175 <https://github.com/beeware/rubicon-objc/issues/175>`_)
275+
(`#175 <https://github.com/beeware/rubicon-objc/issues/175>`__)
250276
* Removed the ``ObjCMethod`` class from the public API, as there was no good
251277
way to use it from external code.
252-
(`#177 <https://github.com/beeware/rubicon-objc/issues/177>`_)
278+
(`#177 <https://github.com/beeware/rubicon-objc/issues/177>`__)
253279

254280
Misc
255281
^^^^

0 commit comments

Comments
 (0)