All Versions
11
Latest Version
Avg Release Cycle
55 days
Latest Release
2428 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.1 Changes
August 30, 2017- β Added nullability to help swift compatibility
- π Fixed an issue with route matching on
POST
request
-
v1.0.0 Changes
July 27, 2016- π Fixed an issue with response descriptors and keypathsβ¦ Wasn't working!
-
v0.0.9 Changes
June 10, 2016- Send the WAObjectRequest for authentication
-
v0.0.8 Changes
April 27, 2016- β Added support for watch os
-
v0.0.7 Changes
April 22, 2016Pods
- β‘οΈ Updated
AFNetworking
from3.0
to3.1
- β‘οΈ Updated
WAMapping
from0.0.6
to0.0.7
Batch Manager
- β Added
canEnqueue
behavior from response and error - Enqueue on
Offline
orTime out
error onNSURLErrorDomain
- π§ Enqueue on http status code of
500
(server down) or503
(maintenance)
- β‘οΈ Updated
-
v0.0.6 Changes
March 25, 2016- β Added Batch manager
- π Fixed an issue on route and
DELETE
: the object is no longer mapped as a request - π Fixed an issue on request descriptors and routes with keypath. You can now write
meetings/:meeting.itemID/privatenotes/:itemID
- β Added reachability on
WARequestManagerProtocol
andWAAFNetworkingRequestManager
:isReachable
- π When you delete an object without using routes|request descriptors, the path is parsed to get the object ID to delete. It was not deleted before
- π Fixed crashes when object requests have no success or failure blocks
- π Fixed a crash when your request descriptor have no
shouldMapBlock
-
v0.0.5 Changes
March 25, 2016π Fixed an issue with mapping progress when the object to map is empty
-
v0.0.4 Changes
March 22, 2016π Fixed an issue with mapping progress with several response descriptors
-
v0.0.3 Changes
March 21, 2016π This release brings the progress for download and mapping using
NSProgress
![routingManager getObjectsAtPath:@"posts" parameters:nil progress:^(WAObjectRequest *objectRequest, NSProgress *uploadProgress, NSProgress *downloadProgress, NSProgress *mappingProgress) { NSLog(@"downloadProgress: %f -> %@ β mappingProgress: %f -> %@", downloadProgress.fractionCompleted, downloadProgress.localizedDescription, mappingProgress.fractionCompleted, mappingProgress.localizedDescription); } success:^(WAObjectRequest *objectRequest, WAObjectResponse *response, NSArray *mappedObjects) { } failure:^(WAObjectRequest *objectRequest, WAObjectResponse *response, id<WANRErrorProtocol> error) { }];
π By adding support of
NSProgress
, you can easily cancel the request. You have to call[downloadProgress cancel]
and/or[mappingProgress cancel]
depending on where you are on the task.- β Added a simple sample
- You no longer have to create
WAMapper
orWAReverseMapper
. Simply pass the store.
Was
WAMemoryStore *memoryStore = [[WAMemoryStore alloc] init]; // Create both a mapper and a reverse mapper WAMapper *mapper = [WAMapper newMapperWithStore:memoryStore]; WAReverseMapper *reverseMapper = [WAReverseMapper new]; // Create the mapping manager WAMappingManager *mappingManager = [WAMappingManager mappingManagerWithMapper:mapper reverseMapper:reverseMapper];
is
WAMemoryStore *memoryStore = [[WAMemoryStore alloc] init]; // Create the mapping manager WAMappingManager *mappingManager = [WAMappingManager mappingManagerWithStore:memoryStore];
- 0οΈβ£ For registering default mapping blocks.
Was
// Add a default date formatter on mapper id(^toDateMappingBlock)(id ) = ^id(id value) { if ([value isKindOfClass:[NSString class]]) { return [dateFormatter dateFromString:value]; } return value; }; [mapper addDefaultMappingBlock:toDateMappingBlock forDestinationClass:[NSDate class]];
is
// Add a default date formatter on mapper id(^toDateMappingBlock)(id ) = ^id(id value) { if ([value isKindOfClass:[NSString class]]) { return [dateFormatter dateFromString:value]; } return value; }; [mappingManager addDefaultMappingBlock:toDateMappingBlock forDestinationClass:[NSDate class]];
-
v0.0.2 Changes
February 29, 2016- π Fixed an import with missing .h on main header
- Do not ask the store to delete an object if
nil