Skip to content

Releases: vapor-community/vapor-ext

0.3.4

06 May 18:58
Compare
Choose a tag to compare

# Changes:

  • Remove warnings from Swift 5

0.3.3

06 Feb 02:52
Compare
Choose a tag to compare

Fixed:

  • Support for Single quote around .env values

0.3.2

19 Nov 13:26
0d29441
Compare
Choose a tag to compare

Fixed:

  • Fix dependencies

0.3.1

22 Oct 19:08
fb61186
Compare
Choose a tag to compare
passing model for decode type (#17)

0.3.0

21 Sep 15:43
63e95a2
Compare
Choose a tag to compare

Changes since 0.2.2:

New Model functions:

  • query(by:, on:, withSoftDeleted:) to create a query for the model and apply a filter of criteria.
  • findAll(sortBy:, on:, withSoftDeleted:) to find all models and apply some sorting criteria.
  • find(by:, sortBy:, on:, withSoftDeleted:) to find models and apply some filters and sorting criteria.
  • findOne(by:, on:, withSoftDeleted:) to find first model that matches the filters criteria.
  • count(on:, withSoftDeleted:) to count the number of registers of the model.
  • count(by:, on:, withSoftDeleted:) to count the number of registers of the model that matches some criteria.

New sort methods:

  • sort(by:) to apply some sorting criteria.

0.2.2

12 Sep 14:48
24a3a6b
Compare
Choose a tag to compare

Changes:

  • Fix Request filter extensions

0.2.1

22 Aug 17:35
907209b
Compare
Choose a tag to compare

Changes:

  • Improved params extraction to avoid problems with values with :

0.2.0

10 Aug 14:15
0159cc8
Compare
Choose a tag to compare

Changes since 0.1.4:

  • New Request extensions to build FilterOperator and QuerySort from query params (Usefull if you use a Repository system):
    • filter(keyPath:, at parameter:) to build FilterOperator based in query params
    • sort(keyPath:, at queryParam:, as parameter:) to build QuerySort based in query params
    • sort(keyPath:, at queryParam:, as parameter:, default direction:) to build QuerySort based in query params
    • sort(keyPath:, as parameter:) to build QuerySort based in query params
    • sort(keyPath:, as parameter:, default direction:) to build QuerySort based in query params

0.1.4

01 Aug 17:57
8e9898f
Compare
Choose a tag to compare

Changes since 0.1.3:

  • Fix bug when try to filter a optional string field using ct, nct, sw, nsw, ew, new

0.1.3

30 Jul 15:24
a618020
Compare
Choose a tag to compare

Changes since 0.1.2:

  • Improved sort method with default direction argument.