v0.3.0 (2020-07-11)
Major changes:
- Added support for custom middlewares
- Added support for custom endpoints
- Added support for custom user data
- Added possibility to set a manifest callback
- Added
NewLogger()
to get a logger that can be used in the manifest callback, handlers etc. - Renamed logging options
- IP address and user agent logging is now optional and disabled by default
- Added response status code to request log
NewAddon()
now returns a pointer to anAddon
You can have a look at an example addon that uses most of these new features here:
https://github.com/Deflix-tv/go-stremio/blob/v0.3.0/examples/custom/main.go
Minor changes:
- Added more precondition checks for option combinations that don't make sense
- Improved example code
- Updated dependencies