Skip to content

Releases: gofrs/flock

v0.12.0

02 Jul 22:12
96fd11a
Compare
Choose a tag to compare

What's Changed

  • feat: differentiation of Solaris and Illumos by @ldez in #80
  • feat(windows): replace custom implementation with golang.org/x/sys/windows by @ldez in #81
  • fix: update fnctl implementation by @ldez in #84
  • feat: use runtime errors instead of compilation errors for unsupported platforms by @ldez in #85
  • refactor: use x/sys/* instead of Syscall when possible by @ldez in #87

Full Changelog: v0.11.0...v0.12.0

v0.11.0

30 Jun 17:48
b659e1e
Compare
Choose a tag to compare

What's Changed

  • feat: add options to define flag and permissions of the file by @ldez in #76
  • tests: remove files generated during tests by @ldez in #77

Full Changelog: v0.10.0...v0.11.0

v0.10.0

29 Jun 12:47
d82685e
Compare
Choose a tag to compare

What's Changed

  • feat: add support for Illumos/Solaris by @gaige in #63
  • chore: migrate from gopkg.in/check to stretchr/testify by @ldez in #70
  • docs: remove reference to sync.Locker by @ldez in #66

New Contributors

  • @gaige made their first contribution in #63

Full Changelog: v0.9.0...v0.10.0

v0.9.0

26 Jun 17:19
7cde539
Compare
Choose a tag to compare

What's Changed

  • chore: add go modules by @moskyb in #57
  • chore(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by @dependabot in #65
  • fix: replace Syscall6 with SyscallN on Windows by @ldez

New Contributors

Full Changelog: v0.8.1...v0.9.0

0.8.1

26 Jun 18:51
v0.8.1
6f010d1
Compare
Choose a tag to compare

This change includes one bugfix for AIX:

  • Fix issue caused by calling F_SETLKW instead of F_SETLK (#52 [@jwatson-cgu])

0.8.0

26 Aug 21:32
v0.8.0
75ec202
Compare
Choose a tag to compare

0.7.3

26 Aug 21:31
v0.7.3
6caa735
Compare
Choose a tag to compare
  • Fix issues in the license file, update year.

0.7.2

22 Aug 22:20
v0.7.2
8a39eb4
Compare
Choose a tag to compare
  • Ensure we release file handle if we failed to take an exclusive lock (#43 / @azr, #31 / @virtuald)

0.7.1

24 Feb 12:19
v0.7.1
392e7fa
Compare
Choose a tag to compare
  • Fix linting issues and add goreportcard badge (#34 / @tariq1890)

0.7.0

05 Oct 05:08
v0.7.0
7f43ea2
Compare
Choose a tag to compare
  • add New() function to package for creating a flock file.
  • deprecate NewFlock() in favor of New()

These two changes were contributed by Egon Elbre (@egonelbre) in #32.