wasp v1.5 Release Notes

Release Date: 2015-01-30 // over 6 years ago
    • ๐Ÿ— 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.