Skip to content

Releases: SpaceShaman/autopy.fish

🚀 v0.4.0 – Smarter, Safer & Now Asynchronous!

28 Oct 08:59
c439d1e

Choose a tag to compare

This release brings two major enhancements thanks to the amazing contributions from @simonmandlik 👏🐟

✨ New

  • Deleted venv detectionPR #10
    autopy.fish now automatically deactivates the virtual environment if it gets deleted or becomes unavailable for any reason. This ensures a clean and stable shell even when environments are removed or moved.

  • Experimental async versionPR #8 PR #11
    An asynchronous version of autopy.fish is now available in the experimental branch!
    It uses fish-async-prompt to run activation logic in the background, making your prompt feel faster and more responsive—especially for Poetry users.

    How to try it

    Install from the experimental branch and enable async behavior:

    fisher install SpaceShaman/autopy.fish@experimental
    fisher install acomagu/fish-async-prompt

    or

    reef install SpaceShaman/autopy.fish@experimental
    reef install acomagu/fish-async-prompt

    Add the following to your config.fish:

    set -g async_prompt_functions autopy
    set -g async_prompt_inherit_variables all

    For more details, see the updated README.


Huge thanks to @simonmandlik for driving these fantastic improvements and continuing to make autopy.fish faster, safer, and more flexible! 🙏💪


Full Changelog: v0.3.2...v0.4.0

⚡ v0.3.2 – Faster & Safer Poetry Detection

16 Oct 11:51

Choose a tag to compare

✨ Improved

  • Poetry venv lookup speed-up
    Optimized the way the Poetry virtual environment path is determined — now roughly 2× faster based on measurements.
    (Thanks @simonmandlik for the improvement! 🚀) → PR #6

🐛 Fixed

  • Safer Poetry handling
    Added a check to ensure that poetry is installed before attempting to use it, preventing potential errors in minimal environments.

Full Changelog: v0.3.1...v0.3.2

🐛 v0.3.1 – Fix Log Spam

25 Sep 09:03
04157de

Choose a tag to compare

Fixed

  • No more console spam when python3 is missing
    Quoted the command substitution in is_venv_active, preventing error messages if python3 is not installed.
    (Thanks @iliqiliev for the fix! 🙏) → PR #5

Full Changelog: v0.3.0...v0.3.1

🚀 v0.3.0 – Community Power-Up

23 Sep 07:26
42a0474

Choose a tag to compare

This release brings important improvements contributed by the community — big thanks to @simonmandlik and @iliqiliev for their great work! 🙌🐟

✨ Added

  • Support for multiple Poetry projects in one repo
    Improved get_project_dir so that it correctly handles repositories containing multiple Poetry projects in different subdirectories. (Thanks @simonmandlik 🎉)

  • Explicit venv sourcing
    You can now manually source any virtual environment to temporarily disable autopy until deactivate is run. (Thanks @simonmandlik 🙏)

🐛 Fixed

  • More robust venv detection
    Replaced the use of which with type --path to avoid errors on minimal systems and ensure faster checks. (Thanks @iliqiliev

👋 New Contributors


Full Changelog: v0.2.6...v0.3.0

🐛 v0.2.6 – Safer Deactivation

16 Sep 12:25

Choose a tag to compare

Fixed

  • More robust deactivation
    deactivate_venv now checks if the deactivate function exists before calling it, preventing errors in edge cases.
    It also ensures all related environment variables are properly unset, leaving a clean shell state after deactivation.

Full Changelog: v0.2.5...v0.2.6

📦 v0.2.5 – UV Support & Compatibility Fixes

16 Sep 08:27

Choose a tag to compare

✨ Added

  • UV support
    Improved is_poetry_project to check explicitly for [tool.poetry] in pyproject.toml, ensuring proper detection for projects managed with uv as well as Poetry.

🐛 Fixed

  • Better venv detection
    Updated is_venv_active to use python3 for broader compatibility across systems.

Full Changelog: v0.2.4...v0.2.5

🔧 v0.2.4 – Env Var Conflict Resolved

29 Aug 09:04

Choose a tag to compare

Changed

  • 🔧 Renamed OLD_PROJECT_DIR to AUTOPY_OLD_PROJECT_DIR
    This change avoids conflicts with other plugins (e.g. autoenv.fish) that previously used the same variable name. The new, namespaced variable improves clarity and compatibility in mixed setups.

Full Changelog: v0.2.3...v0.2.4

v0.2.3 Smarter Pane Detection 🧠🐟

01 Aug 13:35
8d5b4da

Choose a tag to compare

🪟 Enhanced Behavior

  • Auto-activation in new panes
    autopy.fish now triggers when opening a new terminal pane (e.g. in tmux or wezterm) within a project directory, ensuring your virtual environment stays active even in freshly split panes.

🙏 Thanks

Big thanks to @simonmandlik for contributing this improvement!

Full Changelog: v0.2.2...v0.2.3

v0.2.2 Faster & Cleaner Navigation ⚡🐟

13 Jul 08:05

Choose a tag to compare

🚀 Improved

  • Faster directory changes
    Now, when you move into a subdirectory of a project and the virtual environment is already active, the plugin immediately exits—skipping unnecessary checks and speeding up directory navigation.

♻️ Refactor

  • Activation and deactivation logic split
    The logic for activating and deactivating virtual environments is now separated into dedicated functions, making the codebase cleaner and easier to extend.

Full Changelog: v0.2.1...v0.2.2

v0.2.1 Clean Code, Happy Fish! 🧼🐟

12 Jul 16:31

Choose a tag to compare

♻️ Refactor

  • Extracted get_project_dir and get_venv_dir functions in autopy.fish for improved readability and maintainability.
  • Refactored the virtual environment activation logic to make the codebase cleaner and easier to maintain.

These changes do not affect user-facing features, but make the code easier to read, understand, and contribute to!

Full Changelog: v0.2.0...v0.2.1