Releases: Clarilab/envi
v3.0.5
What's Changed
- fix: fix fsnotify channel events being stealed by different goroutines by @MaxBreida in #25
Full Changelog: v3.0.4...v3.0.5
v3.0.4
What's Changed
- refactor: only spawn one file watcher per directory. change for file … by @felixgehrmann in #24
New Contributors
- @felixgehrmann made their first contribution in #24
Full Changelog: v3.0.3...v3.0.4
v3.0.3
What's Changed
- feat: expose errors that occured during filewatching in addition to the OnError Callbacks by @MaxBreida in #21
Full Changelog: v3.0.2...v3.0.3
v3.0.0
What's Changed
- build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 by @dependabot in #11
- build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #17
- Release envi v3 by @MaxBreida @lks-mtzn in #18
Full Changelog: v2.2.1-prefix.4...v3.0.0
v2.2.1-prefix.4
What's Changed
- fix: stop reacting on chmod by @nicoandrewss in #16
Full Changelog: v2.2.1-prefix.3...v2.2.1-prefix.4
v2.2.1-prefix.3
What's Changed
- Fix watching files by @nicoandrewss in #15
Full Changelog: v2.2.1-prefix.2...v2.2.1-prefix.3
v2.2.1-prefix.2
What's Changed
- refactor: dont make filewatch a sub-module by @nicoandrewss in #14
Full Changelog: v2.2.1-prefix.1...v2.2.1-prefix.2
v2.2.1-prefix.1
What's Changed
- feat: add file watcher by @nicoandrewss in #13
Full Changelog: v2.2.1-prefix.0...v2.2.1-prefix.1
Fix: prevent concurrent map writes
This adds a mutex to envi, preventing potential concurrent map writes to the internal variable storage during file watching.
Prefixes for config keys
Adds the possibility to prefix config keys from loaded files, to prevent conflicts when two loaded files contain one or more similar keys.
This is tagged as a pre-release version because it is suboptimal. After a bit more thought has gone into this, a v3 of envi will be made where this potential conflict of var names is prevented without having to virtually double the number of methods.