Mantle Versions Save

Model framework for Cocoa and Cocoa Touch

2.0.7

8 years ago
  • MTLJSONAdapter correctly checks for MTLModel protocol conformance rather than MTLModel inheritance @startupthekid in #617, @priteshshah1983 in #631)
  • Improved error descriptions when serializing models from JSON fails (@kypselia in #661)
  • Add predefined NSDate, NSNumber and NSFormatter value transformer factory methods (@conradev in #641)
  • Fix Swift deprecation warnings (@msanders in #680)
  • Apply default MTLJSONAdapter type transformer for a key when using JSONTransformerForKey: if no custom transformer is returned (@k06a in #685)

Thanks to @robb for reviewing pull requests!

1.5.7

8 years ago

Backported "faster method calls" (@knox in #679)

1.5.6

8 years ago
  • Renamed libextobjc files to avoid collisions. #623

2.0.5

8 years ago

Implicitly transform properties for types conforming to MTLJSONSerializing (@younthu in #605)

2.0.4

8 years ago

Fixed an issue with recursive definitions (@jmah in https://github.com/Mantle/Mantle/pull/582)

2.0.3

8 years ago
  • Unmapped, optional protocol properties are now using MTLStoragePropertyNone (@kevin-traansmission in #523)
  • MTLJSONAdapter subclasses now behave correctly with class clusters (@hengw in #556)
  • Copying a MTLModel skips revalidation for better performance (@zadr in #548)
  • Fewer MTLJSONAdapter allocations in class-based transformers (@jmah in #567)
  • Correctly handle storage behavior for optional properties or those declared in a super class (@jmah in #568)

Also includes improvements to the README by @danielgalasko @alikaragoz :sparkling_heart:

2.0.2

9 years ago
  • #525 fixes a memory management crash introduced in #520.

2.0.1

9 years ago
  • #489 and #499 fix Objective-C++ compatibility (thanks @zsk425, @johanrydenstam, and @robb!)
  • #503 improves error messaging for validating transformers (thanks @robb!)
  • #520 dramatically improves the performance of dynamic method invocations (thanks @adamkaplan!)

2.0

9 years ago

This release of Mantle contains major breaking changes that we were unable to make after freezing the 1.0 API. The changes in 2.0 focus on simplifying concepts and increasing flexibility in the framework.

See the CHANGELOG for more information about what’s changed, and how to migrate your project.

2.0-beta.1

9 years ago

This release of Mantle contains major breaking changes that we were unable to make after freezing the 1.0 API. The changes in 2.0 focus on simplifying concepts and increasing flexibility in the framework.

See the CHANGELOG for more information about what’s changed, and how to migrate your project.