Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Releases: ml-archive/sugar

Version 2.0.10

05 Jul 10:55
7f1d567
Compare
Choose a tag to compare

This release is compatible with Vapor 2

Fixes

  • SimpleAuthMiddleware responder chain did not terminate on error.

Version 3.0.0 Beta 6

03 Jul 10:55
Compare
Choose a tag to compare
Version 3.0.0 Beta 6 Pre-release
Pre-release

Added

  • Convenience functions for adding and subtracting hours to a date.

Version 3.0.0 Beta 5

03 Jul 07:52
74356ac
Compare
Choose a tag to compare
Version 3.0.0 Beta 5 Pre-release
Pre-release

Changed:

  • saveOrUpdate now uses filters.

Version 2.0.9

03 Jul 11:49
b019302
Compare
Choose a tag to compare

This release is compatible with Vapor 2

Added

  • SimpleAuthMiddleware for simple API Key authentication

Version 2.0.8

03 Jul 07:27
9e14536
Compare
Choose a tag to compare

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

28 Jun 10:27
Compare
Choose a tag to compare
Version 3.0.0 Beta 4 Pre-release
Pre-release

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

21 Jun 08:20
f7cf364
Compare
Choose a tag to compare
Version 3.0.0 Beta 3 Pre-release
Pre-release

Added

  • MutableLeafTagConfig + Provider to enable registering Leaf tags from multiple sources (e.g. Providers).

Version 3.0.0 Beta 2

20 Jun 14:46
5193215
Compare
Choose a tag to compare
Version 3.0.0 Beta 2 Pre-release
Pre-release

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

18 Jun 11:34
8c0a52a
Compare
Choose a tag to compare
Version 3.0.0 Beta 1 Pre-release
Pre-release

Fixed

  • Issues caused by Fluent 3 RC 3.

Changed

  • Url has become URL in variables/functions.
  • The vapor-3 branch has now been merged into master and deleted (please use master or the beta tag from now on).

Version 3.0.0 Alpha 1

27 May 20:37
Compare
Choose a tag to compare
Version 3.0.0 Alpha 1 Pre-release
Pre-release
3.0.0-alpha.1

Add `Either` type