Skip to content

Tags: frobware/haproxytime

Tags

v0.6.1

Toggle v0.6.1's commit message
Use tagged release of github.com/frobware/[email protected]

v0.6.0

Toggle v0.6.0's commit message
The release has transitioned the essential parsing logic to a distinct,

new repository located at github.com/frobware/comptime.

v0.5.0

Toggle v0.5.0's commit message
Release v0.5.0: Nix Flake Schema Alignment and Enhancements

This release introduces a series of improvements and updates,
focusing on aligning with Nix flake schema, enhancing usability,
and updating dependencies.

Highlights:
- **Schema Alignment**: Refactored `flake.nix` to replace
  system-specific configurations with universal overlays,
  packages, and devShells, correcting previous schema misalignments.
- **Dependency Updates**: Updated the flake lock file to include
  the latest `nixpkgs`, ensuring access to the most recent packages
  and security fixes.
- **Code Refinements**: Multiple improvements in `haproxytimeout`,
  including parameter and function name updates, enhanced error
  handling, and simplification of version flag testing.
- **Vendor Hash Transition**: Transitioned from `vendorSha256`
  to `vendorHash` in `package.nix`, aligning with Nix's latest
  conventions for hash handling.

Commits:
- flake.lock update to the latest `nixpkgs`
- Refactor of `flake.nix` for schema alignment
- Transition from `vendorSha256` to `vendorHash` in `package.nix`
- Updates and refinements in `haproxytimeout` usage, parameter/function
  names, and error handling

v0.4.3

Toggle v0.4.3's commit message
Release v0.4.3

This release introduces a series of improvements and refinements,
enhancing both the code quality and the testing framework of our
application. Key changes include:

- **Refactored safePrint* Functions (7f0fb6b):** The `safeFprintf` and
  `safeFprintln` functions have been refactored to improve unit testing
  capabilities. They now accept an `ExitHandler` interface, allowing for more
  controlled testing of exit scenarios.

- **Enhanced Testing for Error Handling (f9faf62):** Added a unit test for
  non-positional error handling in `PrintPositionalError`. This test ensures that
  generic error messages are correctly handled and the appropriate exit codes are
  used.

- **Makefile Updates:**
  - **Linting Integrated with Testing (7b4bf1c):** Linting has been integrated into
    the testing process in the Makefile, ensuring that code quality checks are
    performed alongside functional tests.
  - **Updated .PHONY Targets (610b9cf):** The `.PHONY` targets in the Makefile have
    been updated for better build process management.

- **Code Refinements (f60e413):** Removed redundant type declarations, simplifying
  the code and enhancing readability.

v0.4.2

Toggle v0.4.2's commit message
Release 0.4.2

Improvements:

- Enhanced version management in haproxytimeout.
- Refined handling of version function for better testing.
- Added version-related test cases.

v0.4.1

Toggle v0.4.1's commit message
Relase 0.4.1 - Enhanced Error Handling and Documentation Improvements

1. Improved Error Handling:

- Commit da88b87: Refactored the printPositionalError function.

    The function now uses an interface to handle different error
    types (SyntaxError, OverflowError, RangeError) that contain
    positional information. This change simplifies the error checking
    logic, enhances code maintainability, and improves function
    clarity.

    An explicit nil check after the type assertion was added to
    address potential nil panic warnings from static analysis tools,
    notably Nilaway. A clarifying comment was also added next to the
    panic statement to indicate when the panic is triggered.

2. Documentation Updates:

- Commit 531d657: Updated the comment for the maxTimeout constant.

    The revised comment provides clearer information about the maximum
    allowable timeout value in HAProxy configurations, relevant to
    both 32-bit and 64-bit systems. This change ensures better
    understanding and accuracy in the documentation of the tool's
    codebase.

v0.4.0

Toggle v0.4.0's commit message
v0.4.0 - Add Range Callback to Duration Parsing

Enhancements:

- Implemented a custom RangeChecker callback in the duration parser to
  allow users to define their own range constraints.

- The parsing process now supports early termination based on
  user-defined limits, improving flexibility and control over the
  duration validation.

This release extends the duration parsing functionality with the
ability to apply custom range validations, enabling more precise and
robust duration management.

v0.3.9

Toggle v0.3.9's commit message
Release v0.3.9 - more Nix build fixes

v0.3.8

Toggle v0.3.8's commit message
Release v0.3.8 More build version changes.

v0.3.7

Toggle v0.3.7's commit message
Release v0.3.7