- BSD/macOS: Fix possible deadlock on closing the watcher on kqueue (thanks @nhooyr and @glycerine)
- Tests: Fix missing verb on format string (thanks @rchiossi)
- Linux: Fix deadlock in Remove (thanks @aarondl)
- Linux: Watch.Add improvements (avoid race, fix consistency, reduce garbage) (thanks @twpayne)
- Docs: Moved FAQ into the README (thanks @vahe)
- Linux: Properly handle inotify's IN_Q_OVERFLOW event (thanks @zeldovich)
- Docs: replace references to OS X with macOS
- Linux: use InotifyInit1 with IN_CLOEXEC to stop leaking a file descriptor to a child process when using fork/exec #178 (thanks @pattyshack)
- Fix flaky inotify stress test on Linux #177 (thanks @pattyshack)
- add a String() method to Event.Op #165 (thanks @oozie)
- Windows: fix for double backslash when watching the root of a drive #151 (thanks @brunoqc)
- Support linux/arm64 by patching x/sys/unix and switching to to it from syscall (thanks @suihkulokki) #135
- Fix golint errors in windows.go #121 (thanks @tiffanyfj)
kqueue: Fix logic for CREATE after REMOVE #111 (thanks @bep)
- kqueue: fix race condition in Close #105 (thanks @djui for reporting the issue and @ppknap for writing a failing test)
- inotify: fix race in test
- enable race detection for continuous integration (Linux, Mac, Windows)
- inotify: use epoll_create1 for arm64 support (requires Linux 2.6.27 or later) #100 (thanks @suihkulokki)
- inotify: fix path leaks #73 (thanks @chamaken)
- kqueue: watch for rename events on subdirectories #83 (thanks @guotie)
- kqueue: avoid infinite loops from symlinks cycles #101 (thanks @illicitonion)
- kqueue: don't watch named pipes #98 (thanks @evanphx)
- inotify: use epoll to wake up readEvents #66 (thanks @PieterD)
- inotify: closing watcher should now always shut down goroutine #63 (thanks @PieterD)
- kqueue: close kqueue after removing watches, fixes #59
- inotify: Retry read on EINTR #61 (thanks @PieterD)
- kqueue: rework internals #43
- add low-level functions
- only need to store flags on directories
- less mutexes #13
- done can be an unbuffered channel
- remove calls to os.NewSyscallError
- More efficient string concatenation for Event.String() #52 (thanks @mdlayher)
- kqueue: fix regression in rework causing subdirectories to be watched #48
- kqueue: cleanup internal watch before sending remove event #51
- kqueue: add dragonfly to the build tags.
- Rename source code files, rearrange code so exported APIs are at the top.
- Add done channel to example code. #37 (thanks @chenyukang)
- [Fix] Windows MOVED_TO now translates to Create like on BSD and Linux. #36
- [Fix] Missing create events on macOS. #14 (thanks @zhsso)
- [Fix] Make ./path and path equivalent. (thanks @zhsso)
- [API] Remove AddWatch on Windows, use Add.
- Improve documentation for exported identifiers. #30
- Minor updates based on feedback from golint.
- Moved to github.com/fsnotify/fsnotify.
- Use os.NewSyscallError instead of returning errno (thanks @hariharan-uno)
- kqueue: fix incorrect mutex used in Close()
- Update example to demonstrate usage of Op.
- [API] Don't set the Write Op for attribute notifications #4
- Fix for String() method on Event (thanks Alex Brainman)
- Don't build on Plan 9 or Solaris (thanks @4ad)
- Events channel of type Event rather than *Event.
- [internal] use syscall constants directly for inotify and kqueue.
- [internal] kqueue: rename events to kevents and fileEvent to event.
- Go 1.3+ required on Windows (uses syscall.ERROR_MORE_DATA internally).
- [internal] remove cookie from Event struct (unused).
- [internal] Event struct has the same definition across every OS.
- [internal] remove internal watch and removeWatch methods.
- [API] Renamed Watch() to Add() and RemoveWatch() to Remove().
- [API] Pluralized channel names: Events and Errors.
- [API] Renamed FileEvent struct to Event.
- [API] Op constants replace methods like IsCreate().
- Fix data race on kevent buffer (thanks @tilaks) #98
- [API] Remove current implementation of WatchFlags.
- current implementation doesn't take advantage of OS for efficiency
- provides little benefit over filtering events as they are received, but has extra bookkeeping and mutexes
- no tests for the current implementation
- not fully implemented on Windows #93
- kqueue: cleanup internal watch before sending remove event #51
- [Backport] Fix missing create events on macOS. #14 (thanks @zhsso)
- Fix data race on kevent buffer (thanks @tilaks) #98
- IsAttrib() for events that only concern a file's metadata #79 (thanks @abustany)
- [Fix] kqueue: fix deadlock #77 (thanks @cespare)
- [NOTICE] Development has moved to
code.google.com/p/go.exp/fsnotify
in preparation for inclusion in the Go standard library.
- [API] Remove FD_SET and friends from Linux adapter
- [Doc] Add Changelog #72 (thanks @nathany)
- [Doc] Spotlight and double modify events on macOS #62 (reported by @paulhammond)
- [Fix] kqueue: remove file watches when parent directory is removed #71 (reported by @mdwhatcott)
- [Fix] kqueue: race between Close and readEvents #70 (reported by @bernerdschaefer)
- [Doc] specify OS-specific limits in README (thanks @debrando)
- [Doc] Contributing (thanks @nathany)
- [Doc] update package path in example code #63 (thanks @paulhammond)
- [Doc] GoCI badge in README (Linux only) #60
- [Doc] Cross-platform testing with Vagrant #59 (thanks @nathany)
- [Fix] Windows: handle
ERROR_MORE_DATA
on Windows #49 (thanks @jbowtie)
- [API] Make syscall flags internal
- [Fix] inotify: ignore event changes
- [Fix] race in symlink test #45 (reported by @srid)
- [Fix] tests on Windows
- lower case error messages
- kqueue: Use EVT_ONLY flag on Darwin
- [Doc] Update README with full example
- [Fix] inotify: allow monitoring of "broken" symlinks (thanks @tsg)
- [Fix] kqueue: watch all file events #40 (thanks @ChrisBuchholz)
- [Fix] inoitfy/kqueue memory leak #36 (reported by @nbkolchin)
- [Fix] kqueue: use fsnFlags for watching a directory #33 (reported by @nbkolchin)
- [Doc] add Authors
- [Fix] fix data races for map access #29 (thanks @fsouza)
- [Fix] Windows path separators
- [Doc] BSD License
- kqueue: directory watching improvements (thanks @vmirage)
- inotify: add
IN_MOVED_TO
#25 (requested by @cpisto) - [Fix] kqueue: deleting watched directory #24 (reported by @jakerr)
- [Fix] inotify: fixes from https://codereview.appspot.com/5418045/ (ugorji)
- [Fix] kqueue: preserve watch flags when watching for delete #21 (reported by @robfig)
- [Fix] kqueue: watch the directory even if it isn't a new watch (thanks @robfig)
- [Fix] kqueue: modify after recreation of file
- [Fix] kqueue: watch with an existing folder inside the watched folder (thanks @vmirage)
- [Fix] kqueue: no longer get duplicate CREATE events
- kqueue: events for created directories
- [Fix] for renaming files
- [Feature] FSNotify flags
- [Fix] inotify: Added file name back to event path
- kqueue: watch files after directory created (thanks @tmc)
- [Fix] inotify: remove all watches before Close()
- [API] kqueue: return errors during watch instead of sending over channel
- kqueue: match symlink behavior on Linux
- inotify: add
DELETE_SELF
(requested by @taralx) - [Fix] kqueue: handle EINTR (reported by @robfig)
- [Doc] Godoc example [#1][] (thanks @davecheney)
- Go 1 released: build with go tool
- [Feature] Windows support using winfsnotify
- Windows does not have attribute change notifications
- Roll attribute notifications into IsModify
- kqueue: add files when watch directory
- update to latest Go weekly code
- kqueue: add watch on file creation to match inotify
- kqueue: create file event
- inotify: ignore
IN_IGNORED
events - event String()
- linux: common FileEvent functions
- initial commit