Releases: Overcoat/Overcoat
Release list
3.0.0
3.0
- Support Mantle 2.0. Pull Request #87 (@sodastsai)
- Refine project structure including reorganizing folders, use subspecs, and share common codes
Pull Request #91 (commits) (@sodastsai, @ryanmaxwell) - Refine the dependency to PromiseKit. Pull Request #85 (@mxcl)
- Fix Core Data threading issue when saving objects Pull Request #76 (@nunofgs)
- Adding a Wildcard URL Matcher and Fix URL pattern matching for higher level paths Pull Request #94 Pull Request #55 (@brandons, @groomsy)
Summary of 3.0 release
- Support Mantle 2.0
- Use podspec to re-organize features. (Take
CoreDataandSocialsupport apart fromCore) - Separate
CoreDataclasses (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
PromiseKitandReactiveCocoaare not changed, so you could keep using
pod 'Overcoat/PromiseKit', '~> 3.0'
pod 'Overcoat/ReactiveCocoa', '~> 3.0'- The support of
NSURLSessionhas been merged into theCoresubspec, so you could just use
pod 'Overcoat', '~> 3.0'3. Classes/Procotols changes
CoreData support of following classes:
OVCHTTPRequestOperationManagerOVCHTTPSessionManagerOVCModelResponseSerializer
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:
OVCHTTPManagerdefines common interfaces ofOVCHTTPSessionManagerandOVCHTTPRequestOperationManager.OVCManagedHTTPManagerextends theOVCHTTPManagerprotocl and defines common interfaces for CoreData support.
Overcoat 2.1.1
- Bug fixes
With kind contributions from @eytanbiala and @stefreak
Overcoat 2.1
- Allow customization of Response classes per resource paths.
- Bug fixes
Thanks to @eliasturbay and @ryanmaxwell for their contributions.
Overcoat 2.0.2
Fix PromiseKit version in podspec and specify a default subspec.
Overcoat 2.0.1
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
- 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
- Fix AFNetworking deprecation warnings
- Replace git submodules with cocoa pods
- Update unit tests to
XCTest - Use appledoc format for documentation
Overcoat 1.2
What's New
This version is focused in supporting the new AFNetworking 2.0 architecture. Here's a summary of the changes:
OVCModelResponseSerializerserializes JSON responses into model objects.OVCSocialRequestSerializerserializes requests intoACAccountauthenticated requests.OVCClientnow inherits fromAFHTTPRequestOperationManager. The interface remains almost the same.OVCRequestOperationhas been deprecated.OVCSocialClienthas been deprecated. Use the new+clientWithBaseURL:account:method inOVCClientinstead.
1.1
OVCSocialClient properties are now read-only
1.0
Both OVCClient and OVCRequestOperation have new interfaces, less cluttered and more consistent with the rest of AFNetworking.