Changelog History
-
v1.15 Changes
August 27, 2015- ๐ Small bug fixes
-
v1.14 Changes
August 25, 2015- ๐ Sync request fix
- ๐ Unnecessary type conversions are removed
-
v1.13 Changes
August 09, 2015- ๐ RxJava support
- ๐ Sync request support
- min sdk is 8 now
-
v1.11 Changes
June 29, 2015- FormUrlEncoded mime type added
- Field and FieldMap parameter annotations added
- ๐คก Mocks are delayed by 1 second as default
Request cancel option added
WaspRequest request = service.getFoo(); request.cancel();
RequestManager added in order to cancel all requests at once.
Path values are encoded automatically
๐ Wasp.Image now uses the same httpstack as network, thus you can take advantage of everything you set with the builder.
Callback is changed, now it contains Response parameter
-
v1.9 Changes
March 20, 2015- ๐คก Mock create bug fix
- Network stack bug fix
-
v1.8 Changes
March 09, 2015- ๐ OkHttp's Interceptor support added
- โ Adds OkHttpLogInterceptor: An implementation of OkHttp's Interceptor for logging which can be used as an alternative for Wasp's default logging
- ๐คก Parser will throw RunTimeException in MOCK network mode and will call onError method of CallBack in LIVE network mode instead of silently logging error.
- ๐ Fixes issues: 58, 68
-
v1.7 Changes
February 12, 2015- ๐ ImageHandler is introduced, volley image loader is removed.
- Flicker issue for the recycled views is issued.
- ๐ Parser is reachable from Wasp.getParser() now.
- ๐จ Major refactoring for parser.
-
v1.6 Changes
February 03, 2015- ๐ Parsing operation is moved to network stack from network handler. This will allow to make the parsing in the worker thread.
- WaspResponse is public, it will be reachable when there is a need.
-
v1.5 Changes
January 30, 2015๐ NetworkMode added in order to avoid clearing mock annotations for real server, it can be set via setNetworkMode method of Wasp.Builder
NetworkMode.MOCK //Mocks response if mock annotation is present for request NetworkMode.LIVE //Retrieves response from server regardless of mock annotation
๐ Parse errors will no longer cause crashes but will give error for request
๐ WaspError improved, it provides methods for getting parsed object by providing a type and getting raw body
๐ฒ Logger will chunk messages that are longer than 4000 characters (i.e response bodies) since Android Log allow at most ~4076 bytes
๐คก MockFactory improved, it will return response body in case of http status code other than 2xx
RequestQueue is no longer static.
ApplicationContext is used as context even if the activity context is passed. This will decouple the wasp with the activities.
-
v1.4 Changes
January 22, 2015- ๐ฒ Rest API log output is improved
- ๐ฒ Wasp.Image log output is improved
LogLevel has more options now.
LogLevel.NONE // No logs are printed. This is default LogLevel.FULL // Print logs both for REST and Images request LogLevel.FULL_REST_ONLY // Print logs for REST LogLevel.FULL_IMAGE_ONLY // Print logs for Images
QueryMap annotation added. You can use this annotation to add multiple query parameters.
๐ Query encode issue is fixed