All Versions
11
Latest Version
Avg Release Cycle
55 days
Latest Release
2425 days ago

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, 2016

    Pods

    • ⚑️ Updated AFNetworking from 3.0 to 3.1
    • ⚑️ Updated WAMapping from 0.0.6 to 0.0.7

    Batch Manager

    • βž• Added canEnqueue behavior from response and error
    • Enqueue on Offline or Time out error on NSURLErrorDomain
    • 🚧 Enqueue on http status code of 500 (server down) or 503 (maintenance)
  • 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 and WAAFNetworkingRequestManager: 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 or WAReverseMapper. 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