|
1 | | -v3.5.0 |
| 1 | +v4.0.0 |
2 | 2 | ====== |
3 | 3 |
|
4 | | -* #280: ``entry_points`` now only returns entry points for |
5 | | - unique distributions (by name). |
6 | | -* ``entry_points()`` now returns an ``GroupedEntryPoints`` |
7 | | - object, a tuple of all entry points but with a convenience |
8 | | - property ``groups`` and ``__getitem__`` accessor. Further, |
9 | | - accessing a group returns an ``EntryPoints`` object, |
10 | | - another tuple of entry points in the group, accessible by |
11 | | - name. Construction of entry points using |
| 4 | +* #284: Introduces new ``EntryPoints`` object, a tuple of |
| 5 | + ``EntryPoint`` objects but with convenience properties for |
| 6 | + selecting and inspecting the results: |
| 7 | + |
| 8 | + - ``.select()`` accepts ``group`` or ``name`` keyword |
| 9 | + parameters and returns a new ``EntryPoints`` tuple |
| 10 | + with only those that match the selection. |
| 11 | + - ``.groups`` property presents all of the group names. |
| 12 | + - ``.names`` property presents the names of the entry points. |
| 13 | + - Item access (e.g. ``eps[name]``) retrieves a single |
| 14 | + entry point by name. |
| 15 | + |
| 16 | + ``entry_points()`` now returns an ``EntryPoints`` |
| 17 | + object, but provides for backward compatibility with |
| 18 | + a ``__getitem__`` accessor by group and a ``get()`` |
| 19 | + method. |
| 20 | + |
| 21 | + Construction of entry points using |
12 | 22 | ``dict([EntryPoint, ...])`` is now deprecated and raises |
13 | 23 | an appropriate DeprecationWarning and will be removed in |
14 | 24 | a future version. |
15 | 25 |
|
| 26 | +v3.5.0 |
| 27 | +====== |
| 28 | + |
| 29 | +* #280: ``entry_points`` now only returns entry points for |
| 30 | + unique distributions (by name). |
| 31 | + |
16 | 32 | v3.4.0 |
17 | 33 | ====== |
18 | 34 |
|
|
0 commit comments