Skip to content

v0.20.0 - Enchanted Refinements & Inventive

Choose a tag to compare

@EMILIO888real EMILIO888real released this 13 Jul 09:58
2375d3e

packer Update [0.20.0]

This release enhances functionality by adding an interactive debugger, text editor integration, and configuration options for AI prompts, cache thresholds, file size display, and TODO list checks. Additionally, it refines code by simplifying prompts, standardizing exception handling.

Installation

Available via:

Binary Downloads

When downloading, please choose the correct build for your operating system:

File Name Platform Description
packer Linux/macOS Executable for Unix-based systems.
packer.exe Windows Executable for Windows systems.

To install:

  • GitHub:
    Download the appropriate binary for your system from the Releases page.
  • Third-party website (GoFile):
    Head to the website Archive and download the specific arhive with the appropriate version.

After installing, continue following instructions via the README.

Changes in 0.20.0

Added

  • [77826a0] format_size function in et to able to easily format bytes into a string version of other sizes, like KiB, MiB and so on up to TiB.
  • [84dda6b] New configuration settings for cache and log size thresholds, along with auto-clear flags for both. The auto clearing runs after a release process in the run method of the Packer class. Thresholds are also displayed, but don't automatically clear in the CLI -p flag.
  • [84dda6b] Saving the software archive version size in metadata.json to be able to compare in the next run method execution for the change in size.
  • [9ae426b] An interactive debugger in the Global_exception_handler, if the user wants to try launching a post-mortem session to explore the problem further.
  • [9ae426b] The CLI --no-ai flag to the change command. If specified disables AI summaries for the change command.
  • [1cfa4f0] input_queue and output_queue to the Global_exception_handler to be able to use it easily in other interfaces as well, like a GUI and so on.
  • [9d8febb] Functionality to check for TODO lists before committing/packing, with configurable paths and identifiers.
  • [a0e5863] description_prompt_kwargs and title_prompt_kwargs configuration options to the Project model with default empty dict and specific options for title prompt.
  • [7bf8edc] New configuration option suggestions_prompt for customizing AI suggestion prompts.
  • [7bf8edc] Text editor integration for input handling across the application.

Changed

  • [77826a0] -p flag in the CLI to also display the size of the item whether it's a file or a folder. Also made the path's relative to Home to shorten them.
  • [84dda6b] CLI -p flag output to be colorful for the thresholds and also added metadata.json as one of the file paths.
  • [1cfa4f0] Updated Global_exception_handler to dynamically handle all std IO actions, like printing and requesting input to use queue if provided.
  • [1cfa4f0] prompt_user to simple_prompt to simplify the code, since the prompts in the program are simple.
  • [a0e5863] Moved options with temperature and word limitations to the kwargs, of Project settings, so they are more configurable.
  • [7bf8edc] Refactored the text editor interaction logic in change.py to use a centralized _input_via_text_editor function instead of manually handling temporary files.
  • [7bf8edc] Simplified text editor usage by removing which() checks and direct path resolution.

Fixed

  • [ca30feb] List parsing logic to use len(list_start_identifier) instead of hardcoded offset 17 for extracting task lists, improving robustness when the identifier length changes.

Full changelog

Tips

If you prefer to build from source via GitHub, you can clone the repository using:

git clone https://github.com/EMILIO888real/Packer --depth 1

Using --depth 1 creates a "shallow clone," which only downloads the latest commit, saving you significant time and storage space compared to a full repository clone.

While downloading the pre-compiled binaries (like packer or packer.exe) is usually the fastest way to get started, cloning the repository allows you to easily pull future updates with git pull as they are released.

Verification

To ensure the integrity of the downloaded files, you can verify their SHA256 checksums.

How to verify:

  • Windows (PowerShell):
    Open PowerShell and run the following command:
Get-FileHash .\packer.exe -Algorithm SHA256
  • Linux/macOS (Terminal):
    Open your terminal and run:
sha256sum packer

Compare the resulting hash with the one provided in the GitHub release assets list to ensure it matches.