Releases: marcwebbie/auto-virtualenv
Releases · marcwebbie/auto-virtualenv
v2.4.0
🚀 Features & Enhancements
- Added support for
project.el: Integrated Emacs' built-in project management for native root discovery. - Fast Git-based detection: Added a check using
git ls-filesto instantly identify Python projects in Git repositories. - Optimized recursive scanning: Implemented a depth-limited search (defaulting to 3) to prevent performance lag in large projects.
- Optional Dependencies: Refactored
projectileto be an optional, lazy-loaded dependency. - LSP Support: Added automatic support for
lsp-pyrightactivation.
🛠 Fixes & Refactoring
- Improved Project Discovery: Optimized the fallback logic for manual project markers like
.git,setup.py, andpyproject.toml. - Code Cleanup: Removed the unused
jsondependency. - Recursive Search Fix: Resolved performance bottlenecks when searching for
.pyfiles in deep directory structures.
💖 Credits
A special thank you to our contributors and community members for their feedback and reports:
- @chrisemke: For the suggestion and feedback regarding
project.elintegration (Fixes #19). - @fjolliton: For reporting and identifying inefficiencies when projects contain many
.pyfiles (Fixes #18).
v2.3.0
What's Changed
- Allow local virtual environment directories to be configurable by @yulapshun in #15
New Contributors
- @yulapshun made their first contribution in #15
Full Changelog: v2.2.0...v2.3.0
v2.2.0
Key Changes in Version 2.2.0
1. Enhanced Documentation:
- Expanded header documentation to be more descriptive, making it suitable for MELPA/straight package managers.
- Created a detailed
README.orgto improve clarity around installation, configuration, and usage. - The README now includes examples for common Emacs configurations (
use-package,straight.el, and manual setup).
2. Project Structure and Version Management:
- Established a versioning workflow by adding a version tag (
v2.2.0) in Git, providing a foundation for future tagged releases. - Introduced Git commands for tagging and pushing, making version tracking and release management straightforward.
3. Configuration Customization:
- Added clearer customization options in the documentation:
auto-virtualenv-global-dirs: Define additional paths to search for virtual environments.auto-virtualenv-python-project-files: Specify files that identify a Python project and trigger environment activation.auto-virtualenv-activation-hooks: Select hooks that activate the environment (e.g.,find-file-hook,projectile-after-switch-project-hook).auto-virtualenv-verbose: Enable verbose mode for more detailed activation information.
4. LSP/pyright Integration Improvements:
- Enhanced
lsp-modeandpyrightintegration, with a note in the README thatauto-virtualenvcan automatically reload these environments when switching projects, ensuring correct imports and autocompletion.
5. README.org File Format:
- Reformatted the README as a
.orgfile to leverage org-mode for better Emacs integration and readability, especially useful for org-mode users. - The README now includes relevant examples and clear context, improving onboarding and user experience.
What's Changed
- README: Improved explanation of plugin functionality by @0x17de in PR #10
- Bug Fix: Fixed
auto-virtualenv--project-root-vcby @Linusp in PR #8
New Contributors
Full Changelog: View the full commit history for v2.2.0