forked from stephanenicolas/robospice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG.md~
290 lines (227 loc) · 12.8 KB
/
CHANGELOG.md~
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
Release notes for RoboSpice
===========================
Version 1.5.0 (planned)
-------------
** Enhancements
* Enhanced threading model for the SpiceManager and SpiceService. Decreased priority to increase UI Thread performance and
enhance user experience.
* Add isDataInCache and getDateOfDataInCache to spiceManager. Thx to Onyx Mueller and Mathieu Castets for suggesting this feature.
* BitmapRequests, SimpleTextRequests have non final methods to allow developpers to extend them
** Bug fixes
* Cache folder creation is now thread safe.
Version 1.4.5 (June 6th 2013)
-------------
** Bug Fixes
* Correct bug of cache removal when there cache folder doesn't exist or is empty.
* SpiceArrayAdapter's getView method is not final any more to allow subclasses to customize adapters (adding sections for instance).
Thanks to Christopher Parola for this suggestion.
Version 1.4.4 (June 4th 2013)
-------------
* Bug fix release:
Request priorization would fail on SDK 8 due to JDK 5 backward compatibility issues.
This bug is solved. RS is still compatible with Android SDK 8+.
Version 1.4.3 (June 3rd 2013)
-------------
** New module : AndroidORMLiteContentProvider
* Integration with AndroidORMLiteContentProvider
https://github.com/jakenjarvis/Android-OrmLiteContentProvider
** Features :
* RoboSpice drops support for SDK 6 and 7. SDK 8+ required.
* Upgrade to android maven plugin 3.6.0, adt 22, and SDK 17.
* Request priority management is now built into RoboSpice.
Requests with higher priority will get executed first. This is only taken into account for requests that exceed the number of threads of RoboSpice Service, otherwise this is not used.
https://github.com/octo-online/robospice/issues/99
Thanks to Volley for inspiring us on this feature. Richard Hyndman and Nick Butcher suggested us to add this a while ago.. Thx Google ! :)
* Add cachekey sanitation. Sanitation can be used to safely convert strings to cache keys persisted on a file system. Issue https://github.com/octo-online/robospice/issues/97
* Retry Policy is now built into RoboSpice. Requests default to a non null retry policy that can be customized.
https://github.com/octo-online/robospice/issues/99
* RoboSpice file caching now uses a customizable cache folder to store data. https://github.com/octo-online/robospice/issues/103. Thx to David Sobreira Marques for this feature.
* new SpiceManager method : putDataInCache, equivalent to putInCache but synchronous.
* Retrofit module's API improved. RetrofitSpiceRequest optimize creation of retrofit services. Thx to Jake Wharton for his feedback on this module.
** Bug fixes :
* RoboSpice can now clean file cache at startup using removeAllDataFromCache. https://github.com/octo-online/robospice/issues/98.
Thx to David Sobreira Marques for this bug fix.
Version 1.4.2 (May 20th 2013)
-------------
** New module : Retrofit
* New Retrofit module added to RoboSpice !! It is now very easy to use Retrofit
https://github.com/square/retrofit
** Features :
* New method "putInCache" added to spiceManager.
Thanks to Christopher Jenkins fur suggesting this feature in https://github.com/octo-online/robospice/issues/75.
** Bugs :
* Spice Manager : getDataFromCache, addToCache and cancel will work even if network is down. This bug was mentionned by dkraus in https://github.com/octo-online/robospice/issues/67
* Content Provider module added to ease creation of ContentProviders backed by an ORMLite Database. (still in beta, waiting for AndroidORMLite to be released on central).
Version 1.4.1 (May 11 2013)
-------------
* RoboSpice core :
** Support for null RequestListener. Thx to chrisjenx. Issue #48
** Issue #62. Thanks to doridori.
* RoboSpice cache :
** DurationInMillis constants names were confusing (even for contributors !!). We got that clear now.
** Added LRU ObjectPersister from David Stemmer, Mike Jancola
** Added BitmapRequest to ease getting Bitmap data
** More testing.
* Spring Android module :
** Add Jackson 2.1 support. Feature suggested by James Campbell.
** Fixed issue https://github.com/octo-online/robospice/issues/80. Thx to Aaron Pickard
* Google Http Java Client for Android module :
** minor changes
* ORM-Lite module :
** #Issue 93 solved thanks to Aaron Pickard
** https://github.com/octo-online/robospice/issues/93
* UI SpiceList module :
** UI SpiceList APIs got refactored. The new API is not backward compatible but is much more simple and elegant to implement.
** UI SpiceList now uses the BitmapRequest from the core module to download bitmap and cache them scaled and downsampled.
** Thx to Sergej Koščejev for adding parent parameter in view creation https://github.com/octo-online/robospice/pull/76
A beta version of Retrofit module is also available on the github repo.
Version 1.4.0 (February 8 2013)
-------------
Enhancements :
* Riccardo Ciovati joined the team.
* Added removeAllDataFromCache overload in spice manager : thx to Kaan Meralan
* Added retrofit module with tests and samples
* Enhanced cancel mechanism
* Enhanced core testing and extension testing.
* Added first UI module in RoboSpice to create ListViews using RoboSpice.
* CacheKey is now of type Object and not String anymore. Thx to Fernando Franco Gíraldez for his pull request.
* Added dedicated services to each module. They provide all configurations out of the box for processing web services and caching.
* Enhanced NetworkStateChecker interface in order to refine permission checking and allow real processing of request that
are not related to networking.
* Peer review of multi tasking aspects of RoboSpice by Henri Tremblay.
* Hosted on Sonar's Nemo.
Documentation :
* Added documentation on Wiki pages for Advanced RoboSpice usages and FAQ, samples, maven and non maven setup, software design, contributors, etc.
* Added samples for most of the RoboSpice extensions.
* Added maven site
* Added repository branch on GitHub to assist non maven users to setup RoboSpice.
* Enhanced javadocs
Bug fix :
* Minor bugs of undesired aggregation of offline requests solved. Thanks to djusv.
* Minor bugs solved in persistence module.
* Minor bug in GsonObjectPersister solved. Thx to Alessio Bianchi.
For contributors :
* Completely reviewed maven structure. Introduction of an easier extension mechanism and simpler samples. Thx to pommedeterresauté
* All project layouts inside RoboSpice are mavenized
* Added wiki pages for contributors, common tasks and so on.
Version 1.3.1 (december 2012)
-------------
* Bug fix release, listeners where not detached properly
Version 1.3.0 (december 2012)
-------------
* Added Google Http Java Client support via the robospice-google-http-client-module
* Added Google Http Java Client persistence module for Json (Xml support doesn't provide a generator and can't be added : see issue http://code.google.com/p/google-http-java-client/issues/detail?id=171&thanks=171&ts=1354436504)
* Dependency conflicts solved : excluded xpp3 dependency, updated jackson version
* Spring Android module classes have been renamed to make room for other REST clients implementations.
* Jerome Van Der Linden removed guava dependency, introduced Apache Commons dependency.
* Added tests for getAllDataFromCache on persisters
* Added test for ormlite module
* Solved listener notification bug. Thx to Vincent Lemeunier
* Refactored request cancelation mechanism. Thx to Philippe Prados for help with handlers.
* Added tests for request cancelation mechanism.
* RoboSpice reached the milestone of 103 tests. This is also a QA release.
Version 1.2.0 (november 12 2012)
-------------
* Added network stating indirection in RequestProcessor. Thx to Pierre Durand
* Added a check in request classes to verify that requests are not inner classes of activities
as this would create a memory leak. Thx to Cyril Mottier.
* fixed bug in InFileObjetPersister. Thx to florianmski
* fixed bug in json and xml persisters
* Added json gson and jackson and xml simple serializer tests.
* Added network state test.
* Added multiple object persister test.
Version 1.1.1 ( released ?)
-------------
Bug fix :
* enhanced SpiceManager cpu usage. There used to be a bug in case a service had no request to process that boosted cpu usage.
Thx to Riccardo Ciovati.
* enhanced ORM Lite support : tables are created fully dynamically for all POJOs saved via the ORMLiteObjectPersisterFactory.
No need to provide a specific factory for every class of IDs used by persisted POJOs.
* better RoboSpice Motivations icon
* Added RoboSpice Motivations to Google Play
Version 1.1.0 (released for DroidCon London, October 24th 2012)
-------------
* Added RoboSpice Motivations to repo as a RoboSpice demo app and in-depth argumentation for RoboSpice existence.
* Added RoboSpice Motivations to the Google Play store.
* Added Json Serialization support using Gson (Jackson is also supported since V1.0)
* Added Xml Serialization support using SimpleXMLSerializer
* Added Orm Serialization support using OrmLite
* Permission check : applications must declare both INTERNET and NETWORK_STATE permission.
* Added getFromCache method in SpiceManager to query cache content.
* Added progress monitoring for requests (both status and progress percent).
* Added common foreground service for all SpiceManagers using the same service class.
* Requests are now completely decoupled from Activity life cycle.
* Service stops when no more requests are active and no SpiceManager is bound.
* Added methods to get data in cache if present
* Added methods to add listeners to a pending request if present.
* Added support for creating notifications for a request through a new service helper.
* Allow to cancel pending requests from new Activity.
* All logs in RoboSpice now use a downgraded version of RoboGuice's logging facility :
http://code.google.com/p/roboguice/wiki/Logging
* Added the ability to provide a custom executor service to the SpiceService's RequestProcessor. Thx to Riccardo Ciovati.
* Added RoboSpice presentation in the download area of Git Hub
* Added all RoboSpice related gfx to GitHub repo.
* Added google discussion group
* Added Starter Guide on Git hub Wiki
Version 1.0.0
-------------
* Name changed from Content Manager to RoboSpice
* published on Github
* published on Maven Central
Version 0.0.13
--------------
* minor enhancement of simple requests, exception stack traces were lost.
Version 0.0.12
--------------
* back to previous dependency injection model inside services.
* content manager is now more robust and more stable
* dropped the idea of integrating AsyncTasks into the framework.
* minor enhancements.
Version 0.0.11
--------------
* configuration is now entirely mavenized. No libs folder anymore, every dependency is controlled by maven.
Most dependencies are standard although some of the android dependencies are still missing in maven, in that case,
developpers will have to create them through mvn import-file goal.
content-manager-it, the test app can't be used under eclipse yet (as the android configurator is not ready yet) : devs should disable maven nature and add the sample
as a project in the test app java build path.
* various attempts have been made to enable canceling a spring android request but that failed. It's not possible and won't be possible in a near future to cancel a request
that has started its network connection. That's a real concern but spring android doesn't support this feature yet.
* mostly released for Samy to give content manager a circuit run.
Version 0.0.10
--------------
* revisited maven configuration for deployment
Version 0.0.9
-------------
* life cycle of the ContentManager has improved
* InputStream based requests had a logical problem : they were processing InputStream on the UI Thread, and that is prohibited as of HoneyComb (and a bad practice),
they now process the network stream in the background and offer either a memory stream or file stream to be processed by listeners (who can still delegate the processing
to an asynctask for buttering).
* Injection Dependency changed to some more standard option : developpers will have to create an Application Class that will provide ContentService instances all their
required dependencies.
Version 0.0.8
-------------
* AndroidManifest check. ContentManager will get sure a ContentService has been declared in manifest
Version 0.0.6
-------------
* changed deploy url
Version 0.0.5
-------------
* async operations for ObjectPersisters are available (and optional)
* persistence layer cleaning, refactoring and renaming
* added BigInputStream and SmallInputStream requests
* added README
* testing
* more cache cleaning methods
* removed roboguice dependency :(
* split of spring android and json modules
Version 0.0.4
-------------
* first maven and jenkins integrations
* renaming of maven artefacts
* nexus deployment
* local service binding
* removed all bundlization stuff
Version 0.0.1 (June 23rd 2012)
------------------------------
* extracted project from c*t*l*m app
* gitified project