Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: Overcoat/Overcoat

3.0.0

Choose a tag to compare

@sodastsai sodastsai released this 15 Jul 16:00

3.0

Summary of 3.0 release

  • Support Mantle 2.0
  • Use podspec to re-organize features. (Take CoreData and Social support apart from Core)
  • Separate CoreData classes (for example, OVCHTTPSessionManager -> OVCManagedHTTPSessionManager)

Migrate from 2.x

1. Mantle 2.x Support

By default, Overcoat 3.x installs Mantle 2.x as dependency.
If you still have to stick with Mantle 1.x, then besides adding Overcoat, you have to specify this explicitly by:

pod 'Mantle', '~> 1.5'

2. Podspec change

The podspec has been changed, so you may have to change your Podfile into:

  • if you just use AFNetworking and Mantle but don't use CoreData, you don't have to change anything. (but the version number)
pod 'Overcoat', '~> 3.0'
  • if you want to use Overcoat with CoreData
# With Mantle 2.x
pod 'Overcoat/CoreData', '~> 3.0'
# Or with Mantle 1.x
pod 'Overcoat/CoreData/Mantle1', '~> 3.0'
  • if you want to use Overcoat with Social request serializer
pod 'Overcoat/Social`, '~> 3.0'
  • if you want to use multiple Overcoat subspecs
pod 'Overcoat', :subspecs => ['CoreData', 'Social'], '~> 3.0'
  • The support of PromiseKit and ReactiveCocoa are not changed, so you could keep using
pod 'Overcoat/PromiseKit', '~> 3.0'
pod 'Overcoat/ReactiveCocoa', '~> 3.0'
  • The support of NSURLSession has been merged into the Core subspec, so you could just use
pod 'Overcoat', '~> 3.0'

3. Classes/Procotols changes

CoreData support of following classes:

  • OVCHTTPRequestOperationManager
  • OVCHTTPSessionManager
  • OVCModelResponseSerializer

has been move to their subclasses:

Original class CoreData support subclass
OVCHTTPRequestOperationManager OVCManagedHTTPSessionManager
OVCHTTPSessionManager OVCManagedHTTPSessionManager
OVCModelResponseSerializer OVCManagedModelResponseSerializer

In most cases, you could just switch your class name from orginial one to CoreData-supported one
if you are using CoreData support.

Also there are two base procotols:

  • OVCHTTPManager defines common interfaces of OVCHTTPSessionManager and OVCHTTPRequestOperationManager.
  • OVCManagedHTTPManager extends the OVCHTTPManager protocl and defines common interfaces for CoreData support.

Overcoat 2.1.1

Choose a tag to compare

@gonzalezreal gonzalezreal released this 18 Dec 07:52
  • Bug fixes

With kind contributions from @eytanbiala and @stefreak

Overcoat 2.1

Choose a tag to compare

@gonzalezreal gonzalezreal released this 20 Nov 08:32
  • Allow customization of Response classes per resource paths.
  • Bug fixes

Thanks to @eliasturbay and @ryanmaxwell for their contributions.

Overcoat 2.0.2

Choose a tag to compare

@gonzalezreal gonzalezreal released this 30 Jun 08:21

Fix PromiseKit version in podspec and specify a default subspec.

Overcoat 2.0.1

Choose a tag to compare

@gonzalezreal gonzalezreal released this 20 Jun 16:14

Fixes PromiseKit breaking changes!

  • New API
  • Add NSURLSession based clients
  • Add Core Data persistence
  • Add Envelop and Error responses
  • Add ReactiveCocoa extensions
  • Add PromiseKit extensions

Special thanks to @joanromano for contributing the ReactiveCocoa extensions and to everyone that reviewed the pull requests.

Overcoat 2.0

Choose a tag to compare

@gonzalezreal gonzalezreal released this 20 Jun 15:47
  • New API
  • Add NSURLSession based clients
  • Add Core Data persistence
  • Add Envelop and Error responses
  • Add ReactiveCocoa extensions
  • Add PromiseKit extensions

Special thanks to @joanromano for contributing the ReactiveCocoa extensions and to everyone that reviewed the pull requests.

Overcoat 1.2.1

Choose a tag to compare

@gonzalezreal gonzalezreal released this 09 Feb 09:05
  • Fix AFNetworking deprecation warnings
  • Replace git submodules with cocoa pods
  • Update unit tests to XCTest
  • Use appledoc format for documentation

Overcoat 1.2

Choose a tag to compare

@gonzalezreal gonzalezreal released this 17 Oct 12:28

What's New

This version is focused in supporting the new AFNetworking 2.0 architecture. Here's a summary of the changes:

  • OVCModelResponseSerializer serializes JSON responses into model objects.
  • OVCSocialRequestSerializer serializes requests into ACAccount authenticated requests.
  • OVCClient now inherits from AFHTTPRequestOperationManager. The interface remains almost the same.
  • OVCRequestOperation has been deprecated.
  • OVCSocialClient has been deprecated. Use the new +clientWithBaseURL:account: method in OVCClient instead.

1.1

1.1

Choose a tag to compare

@gonzalezreal gonzalezreal released this 16 Sep 09:16

OVCSocialClient properties are now read-only

1.0

1.0

Choose a tag to compare

@gonzalezreal gonzalezreal released this 06 Sep 14:29

Both OVCClient and OVCRequestOperation have new interfaces, less cluttered and more consistent with the rest of AFNetworking.