Sep 19, 2018
v1.8.0

@billinghamj billinghamj released this Oct 7, 2016 · 17 commits to master since this release

Assets 2
  • added generic custom setter method - setPropertyNameWithJSONObject

@billinghamj billinghamj released this Oct 5, 2016 · 22 commits to master since this release

Assets 2
  • added new built-in key mapper - mapperForTitleCase

@billinghamj billinghamj released this Sep 12, 2016 · 26 commits to master since this release

Assets 2
  • when a data transformer is missing, we now return an error rather than throwing an exception

@billinghamj billinghamj released this Sep 12, 2016 · 36 commits to master since this release

Assets 2
  • deprecated mapperFromUpperCaseToLowerCase (not replaced - it didn't really make sense)
  • renamed mapperFromUnderscoreCaseToCamelCase to mapperForSnakeCase for clarity

@billinghamj billinghamj released this Sep 12, 2016 · 46 commits to master since this release

Assets 2

@billinghamj billinghamj released this Sep 12, 2016 · 48 commits to master since this release

Assets 2

@billinghamj billinghamj released this Sep 12, 2016 · 57 commits to master since this release

Assets 2
  • deprecated all JSON->Model key mapper methods for consistency's sake - replaced with equivalent Model->JSON methods with clearer naming

@billinghamj billinghamj released this Jul 22, 2016 · 66 commits to master since this release

Assets 2

Sorry for the long time since the last release. We'll be trying to maintain a
more rapid release schedule going forwards.

  • precision issue fixed with deserializing numbers
  • support added for deserializing into a 'root' dictionary (dictionaryOfModelsFromDictionary:error:, etc.)
  • lazy collection-type conversion (ConvertOnDemand) is no longer supported
  • deprecated two way key mapping deprecated - only Model->JSON has ever worked anyway
  • deprecated all networking support
  • deprecated the global key mapper
  • deprecated Index protocol
  • deprecated protocolForArrayProperty: in favor of classForCollectionProperty:
  • modulemap file added to handle use as a framework better
  • success return value added to mergeFromDictionary:useKeyMapping:error:
  • JSONModel has now been moved out into its own GitHub organization, etc. - now maintained by multiple people

Potential Breaking Changes

  • new behavior for handling null values when serializing:
    • values of NSNull will now always null in JSON output
    • values of nil will now never be included in JSON output

@billinghamj billinghamj released this Jul 22, 2016 · 123 commits to master since this release

Assets 2
  • support added for watchOS and tvOS
  • minimum iOS version bumped to 6.0
  • support added for Carthage
  • deprecated +arrayOfModelsFromDictionaries: in favor of +arrayOfModelsFromDictionaries:error:
  • added +arrayOfModelsFromString:error:
  • deprecated +mergeFromDictionary: in favor of mergeFromDictionary:useKeyMapping:error:
  • added support for multiple custom setters
  • fixed -hash implementation
  • added responseData property to JSONModelError
  • added support for creating a key mapper with exceptions (+mapper:withExceptions:)
  • locks now used in key mapper implementation for additional safety
  • fixed behavior of NSURLFromNSString transformer
  • updated project files to latest Xcode
  • updated demo apps to work with the latest JSONModel & external API code