Skip to content

Releases: ABridoux/SafeFetching

FetchableValue

27 May 09:35

Choose a tag to compare

Removed DatabaseValue and DatabaseTestValue protocol in favor of a single protocol FetchableValue to make it easier for complex types to be used in a predicate.

Also added support for NSManagedObject and NSManagedObjectID comparison and to-many relationship contains operator.

Issues

#28
#29

Initial Stable Release

20 May 12:17

Choose a tag to compare

1.0.0

Updated doc

Replaced key paths by fetchable members

10 May 09:20

Choose a tag to compare

Changed

  • Moved away from KeyPaths to user FetchableMembers specified for each entity, using a macro or manually.
  • Predicate writing has changed to use fetchable members, which feels more natural in Swift, and restrict fetching ton only available members
  • FetchableManagedObject macro to conform to Fetchable and add fetchable members.
  • Entity comparison is now supported again

Warning

This is a breaking change.

This version will most likely evolve into a stable 1.0.0 release.

Replaced key paths by fetchable members

09 May 08:20

Choose a tag to compare

Changed

  • Moved away from KeyPaths to user FetchableMembers specified for each entity, using a macro or manually.
  • Predicate writing has changed to use fetchable members, which feels more natural in Swift, and restrict fetching ton only available members
  • FetchableManagedObject macro to conform to Fetchable and add fetchable members.
  • Entity comparison is now supported again

Warning

This is a breaking change.

This version will most likely evolve into a stable 1.0.0 release.

Replaced key paths by fetchable members

08 May 14:40
6ba0076

Choose a tag to compare

Changed

  • Moved away from KeyPaths to user FetchableMembers specified for each entity, using a macro or manually.
  • Predicate writing has changed to use fetchable members, which feels more natural in Swift, and restrict fetching ton only available members
  • FetchableManagedObject macro to conform to Fetchable and add fetchable members.
  • Entity comparison is now supported again

Warning

This is a breaking change.

This version will most likely evolve into a stable 1.0.0 release.

Replaced key paths by fetchable members

08 May 09:36

Choose a tag to compare

Changed

  • Moved away from KeyPaths to user FetchableMembers specified for each entity, using a macro or manually.
  • Predicate writing has changed to use fetchable members, which feels more natural in Swift, and restrict fetching ton only available members
  • FetchableManagedObject macro to conform to Fetchable and add fetchable members.

Warning

This is a breaking change.

This version will most likely evolve into a stable 1.0.0 release.

Handle optionals in KeyPaths

25 Apr 13:34

Choose a tag to compare

0.8.1

Handle optionals in Key paths

Removed StringKeyPaths

25 Apr 13:09

Choose a tag to compare

Since KeyPaths have now a description, it's unneeded to use NSExpression, and it's possible to directly use key path to computed properties.

Fixed backslash escaping

04 Oct 15:47
c1e711b

Choose a tag to compare

Merge pull request #24 from ABridoux/develop

Fixed backslash escaping

Fixed double quote in string expressions

06 Sep 08:59
8b4ea21

Choose a tag to compare

Merge pull request #23 from ABridoux/develop

Fixed database test value string with double quotes