Releases: leonsteinhaeuser/observer
Releases · leonsteinhaeuser/observer
v2.1.0
Changelog
Enhancements
Others
- c06d550: build(deps): bump TimonVS/pr-labeler-action in /.github/workflows (#5) (@dependabot[bot])
- 5e8e6e1: build(deps): bump actions/checkout from 4 to 6 in /.github/workflows (#10) (@dependabot[bot])
- 174d83d: build(deps): bump codecov/codecov-action in /.github/workflows (#6) (@dependabot[bot])
- 03fa0e1: build(deps): bump goreleaser/goreleaser-action in /.github/workflows (#7) (@dependabot[bot])
- d669104: chore: update dependencies (#9) (@leonsteinhaeuser)
v2.0.1
v2.0.0
Changelog
Bug fixes
- 8b93e33: fix: path to basic example (@leonsteinhaeuser)
Enhancements
- 2ab4e59: enhancement: added codecov (@leonsteinhaeuser)
- beed682: enhancement: minor ci improvements (#2) (@leonsteinhaeuser)
- bda7a73: enhancement: use sync.Map to avoid using constructor NewObserver (#1) (@andviro)
Differences between v1 and v2
The v2 release contains breaking changes. The most important ones are:
- The
Observableinterface does not provide aClients() int64method anymore. - The constructor
NewObserver()has been removed. Instead, usenew(observer.Observer[T]). - The
Observerhas become aNotifyTimeoutthat can be used to set a timeout for theNotifyAllmethod. The default value is5 * time.Second.
v1.1.0
Changelog
Enhancements
- c50e703: enhancement: added timeout of 5 second to NotifyAll (@leonsteinhaeuser)
- 6567b13: enhancement: close channel before deleting the client (@leonsteinhaeuser)
- 870ee8a: enhancement: simplified api (@leonsteinhaeuser)
- 422c89d: enhancement: use git instead of github to generate the changelog (@leonsteinhaeuser)
Others
- 5c605ec: examle: simplified example (@leonsteinhaeuser)