diff --git a/docs/changelog.rst b/docs/changelog.rst index 862074124..dd1e265c3 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -18,8 +18,8 @@ New features: that doesn't get along with BPD! :bug:`3214` :bug:`800` * Fields in queries now fall back to an item's album and check its fields too. - Notably, this allows querying items by an album flex attribute (also in path - configuration). Plugins: Also applies to normal item access. + Notably, this allows querying items by an album flex attribute, also in path + configuration. Thanks to :user:`FichteFoll`. :bug:`2797` :bug:`2988` @@ -49,6 +49,12 @@ For plugin developers: is almost identical apart from the name change. Again, we'll re-export at the old location (with a deprecation warning) for backwards compatibility, but might stop doing this in a future release. +* Item (and attribute) access on an item now falls back to the album's + attributes as well. If you specifically want to access an item's attributes, + use ``Item.get(key, with_album=False)``. :bug:`2988` +* ``Item.keys`` also has a ``with_album`` argument now, defaulting to ``True``. +* A ``revision`` attribute has been added to ``Database``. It is increased on + every transaction that mutates it. :bug:`2988` For packagers: