Skip to content

Releases: jsonmodel/jsonmodel

v1.7.0

07 Oct 12:38
Compare
Choose a tag to compare
  • added generic custom setter method - setPropertyNameWithJSONObject

v1.6.0

05 Oct 17:08
Compare
Choose a tag to compare
  • added new built-in key mapper - mapperForTitleCase

v1.5.1

12 Sep 09:49
Compare
Choose a tag to compare
  • when a data transformer is missing, we now return an error rather than throwing an exception

v1.5.0

12 Sep 09:49
Compare
Choose a tag to compare
  • deprecated mapperFromUpperCaseToLowerCase (not replaced - it didn't really make sense)
  • renamed mapperFromUnderscoreCaseToCamelCase to mapperForSnakeCase for clarity

v1.4.2

12 Sep 09:49
Compare
Choose a tag to compare

v1.4.1

12 Sep 09:48
Compare
Choose a tag to compare

v1.4.0

12 Sep 09:47
Compare
Choose a tag to compare
  • deprecated all JSON->Model key mapper methods for consistency's sake - replaced with equivalent Model->JSON methods with clearer naming

v1.3.0

22 Jul 13:37
Compare
Choose a tag to compare

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

v1.2.0

22 Jul 13:38
Compare
Choose a tag to compare
  • 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