This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
Releases: ml-archive/sugar
Releases · ml-archive/sugar
Version 2.0.10
This release is compatible with Vapor 2
Fixes
SimpleAuthMiddleware
responder chain did not terminate on error.
Version 3.0.0 Beta 6
Added
- Convenience functions for adding and subtracting hours to a date.
Version 3.0.0 Beta 5
Changed:
saveOrUpdate
now uses filters.
Version 2.0.9
This release is compatible with Vapor 2
Added
- SimpleAuthMiddleware for simple API Key authentication
Version 2.0.8
This release is compatible with Vapor 2
Fixed
- Refactored StrongPassword, fixes #48
Added
- Helper for setting hour/min/sec of a date. Imitates Calendar -date(bySettingHour hour: Int, minute: Int, ...) which does not run on Linux.
Version 3.0.0 Beta 4
Added
- Overload for
addProperties
which takes in a list of excluded fields. This makes it a bit more convenient when wanting to change how a single or a couple of fields gets automatically prepared.
Version 3.0.0 Beta 3
Added
- MutableLeafTagConfig + Provider to enable registering Leaf tags from multiple sources (e.g. Providers).
Version 3.0.0 Beta 2
Added
- Helpers for creating dates by adding and subtracting days.
Changed
- Date helpers now returns an optional date leaving it up to the call site to unwrap it.
Version 3.0.0 Beta 1
Fixed
- Issues caused by Fluent 3 RC 3.
Changed
Url
has becomeURL
in variables/functions.- The
vapor-3
branch has now been merged intomaster
and deleted (please usemaster
or the beta tag from now on).
Version 3.0.0 Alpha 1
3.0.0-alpha.1 Add `Either` type