Skip to content

Commit e3d1b93

Browse files
committed
Update changelog.
1 parent f80f79d commit e3d1b93

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

CHANGES.rst

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
1-
v3.5.0
1+
v4.0.0
22
======
33

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
1222
``dict([EntryPoint, ...])`` is now deprecated and raises
1323
an appropriate DeprecationWarning and will be removed in
1424
a future version.
1525

26+
v3.5.0
27+
======
28+
29+
* #280: ``entry_points`` now only returns entry points for
30+
unique distributions (by name).
31+
1632
v3.4.0
1733
======
1834

0 commit comments

Comments
 (0)