All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to
- ENH: import dependencies lazily to minimize startup time on individual queries PR #176
- BLD: drop support for CPython 3.7 PR #183
- TYP: better type checking PR #165
- TST: activate CI on Python 3.11, and additional housekeeping tasks PR #167
- STY: migrate linting to ruff PR #172
- TST: move test dependencies to requirement files PR #173
BUG: fix a bug where version look up table's order wasn't being preserved PR #152
ENH: implement fast lookups for simple queries (module location and version) PR #161
MNT: bump required rich version to 10.13, adapt tests accordingly (no actual change in behaviour) PR #144
BUG: fix a crash when calling wxc <pkg> --full
for packages for which no implemented method
to get the version tag works.
PR #142
ENH: add fallback support for properties, which are not yet supported by inspect.getfile PR #136
ENH: disable source line printing by default, add a flag to reactivate them PR #133
BUG: fix an issue where failing calls to inspect.getsource would leak as Python errors
- ENH: add rich transient progress spinner PR #124
- EHN: add --source argument (use rich to display source code) PR #125
- ENH: add rich colors to error messages PR #129
- ENH: improve error message in case package name is falty
- ENH: normalize module names in a similar fashion to pip (replace hyphens '-' with underscores '_' at runtime)
This release contains a breaking change for any user relying on the public
Python API (wxc.api
) because the signature of wxc.api.get_suggestions
was changed.
FIX: fix a important distinction between builtin functions and C-compiled functions in an error message.
ENH: deactivate (rich) colored output for version numbers
- ENH: improve type checking with mypy
- FEAT: support colored printing if rich is installed (optional dependency)
- ENH: improve internal string formatting, fix a broken fstring
- FIX: fix a typo in module name (levenshtein.py -> levenshtein.py)
- ENH: improve suggestions in case of typo (always show the closest match)
UX: improve error message in case of missing attribute
FIX: fix a bug where calling wxc wxc.__main__
would run the main function twice.
MAINT: add Windows to officially supported platforms. This version is identical to 6.2.6, only testing infrastructure was updated.
Hotfix a bug introduced in version 6.2.5, further improvements for queries on builtin objects.
UX: improvements in support to queries on builtin objects.
Improve version checking support for some builtin packages (e.g. tarfile
) that with a
lowercase 'version'
attribute.
Update documentation to reflect Python 3.10 support.
Improve dependency specifications: stop requiring importlib_metadata
for
Python versions newer than 3.7
Fix a streaming error, properly direct error message to stderr.
Added provisional support for Python 3.10 (tested with 3.10.0-beta2)
- maint: fix a typo in a filename
- maint: drop dependency to numpy for typo correction suggestions.
- UX: better error messages in case of typos, suggest possible corrections.
Renamed the project from pyw to wxc, first publication on Pypi.