All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
IMPORTANT NOTE: Make sure to see the [Upgrading Versions](guides/howtos/Upgrading Versions.md) guide in the HexDocs documentation if you're having an issue after upgrading.
- Link to CHANGELOG on hex.pm
- Docs fix
- Ability to unsubscribe (#33 + #34 / thanks @nelsonmestevao)
- Docs (#32 / thanks @c4710n)
- Don't print extra trigger / function error message if there is no extra triggers (#31 / thanks @ponychicken)
debug?
option for individual watchers as well as globally. See the "Debugging" section of the HexDocs documentation
- Add
EctoWatch.details/1
function to get details about a watcher (#17 / thanks @frerich)
- Allow empty
trigger_columns
andextra_columns
options (#24 / thanks @barrelltech)
- Non-EctoWatch function were being reported as needing to be cleaned up (#23 / thanks @barrelltech / @adampash)
- Function / trigger cleanup was still looking for
ECTO_WATCH_CLEANUP_TRIGGERS
environment variable whenECTO_WATCH_CLEANUP
was the documented option (#23 / thanks @barrelltech / @adampash)
- Documentation release
- Documentation release
- Documentation release
- Documentation release
- Add validation errors for when watchers are created which can't be disambiguated
- Documentation release
- Documentation release
- Documentation release
- Documentation release
- Warnings when there are extra triggers / function in the database
- Support for auto-deleting triggers and functions when the
ECTO_WATCH_CLEANUP
environment variable is set tocleanup
- Add detail to exception for more helpful info on the change in messages
- BREAKING: Don't require specifying update type for watchers with labels (#19)
- Allow watchers without an ecto schema (thanks @frerich / #18)
- Allow empty watcher list (thanks @barrelltech / #14)
- Support for subscribing to association column values (thanks @barrelltech / #6)
- Changed broadcast messages from a 4-element tuple to a 3-element tuple (see #12 / thanks @venkatd + @barrelltech)
- Backwards compatibility with older versions of postgres that don't support the
OR REPLACE
clause inCREATE TRIGGER
(thanks @adampash / #10)
- Support primary keys other than
id
(thanks @venkatd / #3)
- Use quotes around table name in trigger to allow for special characters
- Support for ecto's
@schema_prefix