Skip to content

v0.2.0

Choose a tag to compare

@lerndmina lerndmina released this 18 Dec 23:01
· 66 commits to main since this release

Enhancements and Fixes

This release introduces several enhancements and fixes to the pinger project, focusing on command-line interface improvements, database handling, and overall code robustness.

Command-line interface improvements:

  • Added the commander package to handle command-line options and arguments, providing a more user-friendly interface.
  • Updated the main function to parse and handle new command-line options such as --debug, --fresh, --exit, --version, and --load-count.

Database handling improvements:

  • Modified the Pinger constructor and database initialization to use the loadCount option for loading a specific number of results.
  • Updated the DatabaseService to calculate statistics using all successful pings instead of a limited set, ensuring more accurate results.

Utility function addition:

  • Added a new utility function parseSize to parse size values with optional k or m suffixes, used for the --load-count option.

Other improvements:

  • Added a check for the unzip dependency before installing Bun, ensuring all necessary tools are available.
  • Added the commander package to the project dependencies.

Commits Included in This Release

What's Changed

Full Changelog: v0.1.1...v0.2.1