Skip to content

Tags: hyp3rd/go-again

Tags

v1.1.2

Toggle v1.1.2's commit message
feat!: add context parameter to NewRetrier constructor

BREAKING CHANGE: NewRetrier now requires a context.Context parameter as the first argument

- Update NewRetrier signature to accept context.Context as first parameter
  - Enables proper context-based cancellation and deadline handling
  - Removes internal context field in favor of external context management
- Update all examples and tests to use new constructor signature
- Improve code quality and consistency:
  - Add missing blank lines for better readability
  - Add gosec nolint directive for harmless random number usage
  - Simplify timer pool Put method logic
  - Rename timer variables for clarity
  - Add missing context import in validate example
- Update cspell configuration:
  - Remove YAML document separator for consistency
  - Add "randv" to dictionary for random number generation

This change provides better context management, enabling proper cancellation
propagation and deadline handling throughout the retry operations while
maintaining cleaner separation of concerns.

v1.1.1

Toggle v1.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #5 from hyp3rd/feat/golangci-lint

chore: updated README

v1.1.0

Toggle v1.1.0's commit message
refactored IsTemporaryError

v1.0.9

Toggle v1.0.9's commit message
minor fixes and testing

v1.0.8

Toggle v1.0.8's commit message
updated readme to reflect the latest changes

v1.0.7

Toggle v1.0.7's commit message
refactoring of methods and structs

v1.0.6

Toggle v1.0.6's commit message
better return type

v1.0.5

Toggle v1.0.5's commit message
cosmetics and improvements to the Retry function

v1.0.4

Toggle v1.0.4's commit message
better implementation to handle timers and cancellation, added contex…

…t and stop/cancel channels

v1.0.3

Toggle v1.0.3's commit message
cosmetics