Skip to content

Releases: giv-cli/giv

v0.3.0-beta

11 Jul 04:07

Choose a tag to compare

v0.3.0-beta Pre-release
Pre-release

Overview

This release introduces several improvements, including enhanced path detection for templates, improved error handling, new documentation instructions, refactoring of source detection logic, updated build automation processes, and support for building packages on various platforms.

Added

  • Introduced a new final_summary_prompt.md template for generating detailed changelogs with sections and tags to enhance readability.
  • Added build/build.sh, build/linux.sh, build/snap/build.sh, and snapcraft.yaml.
  • Created build/npm/giv.json and added build scripts for npm, flatpak (build/flatpak/build.sh), scoop (build/scoop/giv.json), PyPI (build/pypi/build.sh), and pip packages.
  • Introduced a new PyPi package template in build/pypi/setup.py.
  • Added .gitignore to exclude build artifacts and .gitkeep for temporary directories.

Fixed

  • Corrected conditional checks in helpers.sh for dry-run behavior and path references using TEMPLATE_DIR instead of PROMPT_DIR across various commands.
  • Resolved issues with versioning, setup scripts, output paths, and error handling.

Documentation

  • Updated summary_prompt.md template with clearer instructions on changelog formatting.
  • Added notes to not include groups with no related items in documentation templates.
  • Introduced comments within new build scripts for better clarity.

Style

  • Refactored code in giv.sh, helpers.sh, and other components to improve readability, maintainability, and resource management.
  • Applied consistent naming conventions and formatting improvements across newly introduced build scripts.
  • Improved linting and style checks ensuring adherence to project-wide coding standards.

Refactored

  • Centralized shared functionality and minimized redundancy in build scripts for different platforms (npm, flatpak, scoop).
  • Simplified the setup.py template filling process for PyPi, improving maintainability.
  • Restructured summary generation logic to eliminate redundant steps.

Build

  • Implemented a robust build system using npm with its own configuration file.
  • Enhanced flatpak and snap package support providing better cross-platform compatibility.
  • Added Scoop package manager support facilitating installation and updates on Windows systems.

CI/CD

  • Updated CI configurations for new platforms ensuring automated builds and testing processes are in place.

Chores

  • Cleaned up temporary directories, version information handling, and improved build directory structures.