forked from getsling/LastFm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CHANGELOG
177 lines (132 loc) · 8.2 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
1.16.0 - February 2, 2016
- Added tvOS support to the podfile
- Updated minimum iOS version to 6
- Updated minimum OS X version to 10.8
- Fixed compiler notice
1.15.0 - January 17, 2014
- The LastFm podspec is now used by the example app as well
- Removed deprecated method:
- (NSOperation *)performApiCallForMethod:(NSString*)method withParams:(NSDictionary *)params rootXpath:(NSString *)rootXpath returnDictionary:(BOOL)returnDictionary mappingObject:(NSDictionary *)mappingObject successHandler:(LastFmReturnBlockWithObject)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
- Added new method:
- (NSOperation *)getEventsForLocation:(NSString *)location successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
1.14.0 - December 16, 2013
- Added new method:
- (NSOperation *)getTopAlbumsForUserOrNil:(NSString *)username period:(LastFmPeriod)period limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
1.13.0 - December 12, 2013
- Added new error code value for Last.fm error code 16
- Changed the NSString properties to be copy to prevent NSMutableString from being passed and changed later on
1.12.0 - December 5, 2013
- Using HTTPS for all Last.fm API calls.
1.11.1 - September 12, 2013
- Fixed the pod spec, no code changes.
1.11.0 - August 19, 2013
- Added new method:
- (NSOperation *)getSimilarTracksTo:(NSString *)title artist:(NSString *)artist successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
1.10.0 - August 13, 2013
- Fixed the pod spec so it’s compatible with Cocoapods 0.21.0 and up.
1.9.2 - May 24, 2013
- Fixed the 4th date formatter
1.9.1 - May 24, 2013
- Added "registered" node to getInfoForUserOrNil. This used a 4th date format,
so a new date formatter was added as well.
1.9.0 - May 24, 2013
- Last.fm's API is returning dates in 3 different possible ways, which is quite annoying.
LastFm now handles all three formats by using 3 date formatters, returning NSDate instead
of NSString, like you would expect.
The getInfoForAlbum and getNewReleasesForUserBasedOnRecommendations methods still contain
the "releasedate" node which is of type NSString (for backwards compatibility),
but now add a "date" node, which is of the proper NSDate format.
1.8.0 - May 23, 2013
- Added a new property BOOL nextRequestIgnoresCache. Use this on the shared
instance to bypass the cache ONLY for the next request.
1.7.1 - May 23, 2013
- Fixed the mapping objects of the following methods (added in 1.6.0):
- (NSOperation *)getRecentTracksForUserOrNil:(NSString *)username limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
- (NSOperation *)getLovedTracksForUserOrNil:(NSString *)username limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
- (NSOperation *)getTopTracksForUserOrNil:(NSString *)username period:(LastFmPeriod)period limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
1.7.0 - May 23, 2013
- When Last.fm returned an empty response (for example, because the user doesn't have any events)
this used to be seen as an error, and the failureHandler would be called. This has been changed,
the successHandler will be called with an empry array/dictionary. It will also be cached.
1.6.0 - May 22, 2013
- Added one new user method:
- (NSOperation *)getEventsForUserOrNil:(NSString *)username festivalsOnly:(BOOL)festivalsonly limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler {
1.5.0 - April 24, 2013
- Added four new methods:
- (NSOperation *)getTopArtistsForUserOrNil:(NSString *)username period:(LastFmPeriod)period limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
- (NSOperation *)getRecentTracksForUserOrNil:(NSString *)username limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
- (NSOperation *)getLovedTracksForUserOrNil:(NSString *)username limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
- (NSOperation *)getTopTracksForUserOrNil:(NSString *)username period:(LastFmPeriod)period limit:(NSInteger)limit successHandler:(LastFmReturnBlockWithArray)successHandler failureHandler:(LastFmReturnBlockWithError)failureHandler;
- Simplified example app, removed SDURLCache dependancy
1.4.2 - March 21, 2013
- Added dummy parameter to getTracksForAlbum to give this method a different cache key from the getInfoForAlbum method
1.4.1 - March 20, 2013
- Add a mapping for the summary node in the getInfoForAlbum method
1.4.0 - January 30, 2013
- New cache delegate method:
- (BOOL)cacheExpiredForKey:(NSString *)key;
- To be used to implement "rolling cache"
1.3.1 - January 30, 2013
- Only call one of the cacheArray methods, not both
1.3.0 - January 30, 2013
- New cache delegate method:
- (NSArray *)cachedArrayForKey:(NSString *)key requestParams:(NSDictionary *)params;
1.2.0 - November 28, 2012
- getInfoForArtist now returns the new "ontour" value
1.1.0 - November 26, 2012
- Added method for creating a new user
1.0.0 - November 21, 2012
- Version 1.0.0, deemed stable and ready for production
- Added context to getRecommendedAlbumsWithLimit
0.12.0 - November 19, 2012
- Added timeoutInterval property (default is 10)
- When ignoring cache, also ignore HTTP cache
0.11.0 - November 19, 2012
- getImagesForArtist now returns images sizes and votes
0.10.1 - November 15, 2012
- getInfoForTrack now returns url as well
0.10.0 - November 15, 2012
- auth.getMobileSession and auth.getSessionInfo don't use cache
0.9.3 - November 14, 2012
- NSDateFormatter and NSNumberFormatter are now used in a thread safe manner.
0.9.2 - November 9, 2012
- New performApiCallForMethod that can ignore cache
0.9.1 - November 8, 2012
- New cache delegate method:
- (void)cacheArray:(NSArray *)array requestParams:(NSDictionary *)params forKey:(NSString *)key maxAge:(NSTimeInterval)maxAge;
0.9 - November 1, 2012
- New LastFmCache protocol, allowing you to use your own caching backend (NSCache, Core Data, EGOCache, SYCache, ...)
- API calls now return a NSOperation which can be cancelled (see the example app for UITableViewCell example)
- Completely new example app
- Removed KissXML from repo, use CocoaPods to install the example app
0.5.8 - October 30, 2012
- Fixed sendNowPlayingTrack and sendScrobbledTrack so they can actually receive NSTimeInterval parameters while sending it as integers
0.5.7 - October 29, 2012
- Added a new maxConcurrentOperationCount property (default=4)
0.5.6 - October 26, 2012
- Added a _params dictionary to the result
0.5.5 - October 25, 2012
- Fixed urlEscapeString related crash (using released strings)
0.5.4 - October 24, 2012
- Fixed urlEscapeString so it handles artist/songs with %, (, ), +, etc in their name
0.5.3 - October 24, 2012
- Fixed urlEscapeString so it handles artist/songs with & in their name
0.5.2 - October 23, 2012
- Added "owner" to the result of getImagesForArtist
0.5.1 - October 23, 2012
- Made forceString: a public method, necessary for subclasses and categories
0.5.0 - October 18, 2012
- Added getRecommendedAlbumsWithLimit
- Now using GET request for all x.getX API methods, enabling HTTP caching
0.4.0 - October 9, 2012
- Added getTopTagsForAlbum
- Added logout method
0.3.0 - September 26, 2012
- Added getNewReleasesForUserBasedOnRecommendations and getBuyLinksForAlbum
0.2.1 - September 21, 2012
- Bugfix: having no successHandler should never crash the code
0.2.0 - September 21, 2012
- Added a bunch of track methods: loveTrack, unloveTrack, banTrack, unbanTrack, getBuyLinksForTrack
- Bugfix: passing in nil instead of a string argument won't result in a crash
0.0.1 - September 17, 2012
- First public release on CocoaPods.