Skip to content

Releases: yarlson/pin

v0.9.0

13 Feb 19:15
Compare
Choose a tag to compare

Changelog

Features

  • Added ColorReset to Color type for improved ANSI color code handling

Improvements

  • Renamed getColorCode() method to String() on Color type for better Printf compatibility
  • Updated color handling in various parts of the code to use the new ColorReset constant
  • Simplified color code application in printResult and buildPrefixPart functions

Commits

  • e90fb5a refactor(pin): rename getColorCode() to String() for better Printf compatibility
  • ca7db3e Merge pull request #3 from havardthom/add_color_reset
  • 1c68d80 feat(pin): add ColorReset to Color type

v0.8.0

13 Feb 19:00
Compare
Choose a tag to compare

Changelog

Features

  • Added option to customize spinner frames with WithSpinnerFrames() function

Commits

  • c751ced docs(README): add custom spinner frames feature and clarify option descriptions
  • 934a07d Add tests for new SpinnerFrames Config function
  • 5e539eb Add documentation for WithSpinnerFrames()
  • 459b298 Add Option add-in to customize frames

v0.7.2

12 Feb 07:05
v0.7.2
4853831
Compare
Choose a tag to compare

Changelog

Bug Fixes

  • Fixed issue with pin display by clearing the entire line before updating message, preventing leftover characters

Commits

  • 4853831 fix(pin): clear entire line before updating message to prevent leftovers

v0.7.1

12 Feb 05:49
v0.7.1
6661390
Compare
Choose a tag to compare

Changelog

Bug Fixes

  • Fixed race condition in Stop and Fail methods of the Pin struct

Commits

  • 6661390 fix(pin): resolve race condition in Stop and Fail methods
  • 4aa7640 docs(README): add prompt example and reference to example file

v0.7.0

11 Feb 05:41
Compare
Choose a tag to compare

Changelog

Features

  • Added WithFailColor option for customizing failure message color in Pin

Commits

  • bccc9f9 feat(pin): add WithFailColor option for custom failure message color

v0.6.0

11 Feb 05:23
Compare
Choose a tag to compare

Changelog

Features

  • Added custom writer support for flexible output handling

Commits

  • f532cba docs(README): add custom writer usage example and clarify output options
  • 88272b1 feat(pin): add custom writer support for flexible output handling
  • bf68137 refactor(pin): extract common logic into reusable methods for improved DRY principle

v0.5.0

10 Feb 14:57
Compare
Choose a tag to compare

Changelog

Features

  • Added Fail method for indicating error states in Pin

Commits

  • c7e67ec feat(pin): add Fail method for indicating error states (#1)
  • 59dbbd4 docs(README): add demo GIF and update example for better visual representation

v0.4.0

10 Feb 06:39
v0.4.0
47547a8
Compare
Choose a tag to compare

Changelog

Features

  • Added non-interactive mode for piped output environments

Commits

  • 47547a8 feat(pin): improve non-interactive mode message logging
  • 15cbe50 refactor(pin): optimize terminal detection and enhance non-interactive mode tests
  • 937670a feat(pin): add non-interactive mode for piped output environments
  • f4459bd ci: add Codecov configuration to ignore example directory
  • 321f834 ci: add multi-version Go testing and optimize coverage upload
  • d41d9b6 test(pin): add ColorGray to color test suite for comprehensive coverage

v0.3.0

10 Feb 05:21
v0.3.0
b9cdcce
Compare
Choose a tag to compare

Changelog

Features

  • Implemented functional options pattern for configuring Pin instances, providing a more flexible and extensible API

Commits

  • b9cdcce feat(pin): implement functional options for configuration

v0.2.0

09 Feb 20:59
v0.2.0
8c678d4
Compare
Choose a tag to compare

Changelog

  • Added context support for graceful cancellation in Pin's Start method

Commits

  • 8c678d4 feat(pin): add context support for graceful cancellation
  • 6d0be50 refactor(pin): clean up code comments and align struct field declarations