Releases: DavidVujic/python-polylith
feat: add support for project aliases and grouping
Adding support for configuration of project name aliases. This is useful for monorepos with many and/or long project names. Using an alias for a project name can improve the views presented when running commands (such as poly info).
Adding support for configuration of project groups. This is useful for teams using bounded contexts or project types to separate individual projects in a monorepo. In a Polylith context, this can now be used to filter out the poly info view by group(s).
Details in #434
fix(poly check, poly libs): extract imports with similar top namespaces
Fixing an issue with the poly check and poly libs incorrectly reporting on missing imports/deps when the third-party library has a similar name as the Polylith top namespace itself.
Details in #432
feat(poly create base, component): exit with fail code if brick already exists
Now validates the brick name when running poly create component and poly create base. If a brick with the same name already exists, exit with a fail code.
Details in #431
fix(poly libs): handle third-party dependencies with markers, such as multi-python versions
Handle dependencies with several Python versions, such as:
[tool.poetry.dependencies]
typing_extensions = [
{ version = "<4.14", python = ">=3.8,<3.9" },
{ version = "*", python = ">=3.9" }
]Details in #427
refactor(workspace): issues raised by SonarQube
fix(poly deps): resolve interface with pointer to other module
Extending the way an interface is identified by allowing the __all__ variable be set to a pointer to another module.
Details in #422
fix(cli): add missing typing-extensions lib
Add typing-extensions that is used by the CLI. The underlying tool (Typer) recently dropped support for Python 3.8 and has changed the way Annotations are imported. Unfortunately this change wasn't made by Typer as a major version and the effect of it was not noticed until now.
Details in #421
fix(poly deps): interface with sub-modules, brick usage comparison and bases
poly deps - Fixing bugs, and taking steps to stabilize the brick interface feature.
Details in #419
feat(poly deps): view and validate brick interfaces
Adding (experimental) support for validating the interface of a specific brick.
This is added in the poly deps command, and when using --brick the_brick with a new option: --interface.
Details in #413