Skip to content

QRules 0.9.7

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Feb 10:56
· 102 commits to main since this release
6ff2a37

See all documentation for this version here.

🐛 Bug fixes

ReactionInfo is now hashable (#151)

This is particularly useful for functools.lru_cache().

🔨 Internal maintenance

Switched to the new attrs API (#152)

See import attrs and attrs TNG.

@implement_pretty_repr() decorator is now @implement_pretty_repr (#154)

The implement_pretty_repr() decorator does not take any arguments, so one level can be removed. This changes it's usage from:

@implement_pretty_repr()  # old
@attrs.define
class SomeClass:
   ...

to

@implement_pretty_repr  # <-- new
@attrs.define
class SomeClass:
   ...

📝 Documentation

Type hints are abbreviated where possible (#154)

Type hints are abbreviated with autodoc_typehints_format. But note that this does not yet work perfectly because of QRules' custom reference relinking.

API is now sorted by position in the source code (#154)

API is now sorted by position in the source code, not alphabetically.

Left sidebar is unfolded unto the second level (#148)

Also unfolds the left sidebar unto the second level, like in ComPWA/ampform#221 and ComPWA/tensorwaves#407. Preview here.

Added Hypothesis and utterances overlay to allow commenting on the documentation (#149)

Closes ComPWA/compwa.github.io#109

Explained how to pin dependencies with Conda (#150)

Preview here. See also ComPWA/tensorwaves#411.

🖱️ Developer Experience

Upgrade cron job are now on even weeks only (#148 and #153)

See ComPWA/policy#48