RESTe Versions Save

A simple JavaScript REST / API helper for Titanium

1.5.8

2 years ago
  • Fixes bug where using a model only (with no collection) and the api returns an object say, rather than an array.
  • return the HTTPClient to abort the call
  • added a warning if you crate a duplicate method name
  • remove getters and setters for SDK 9+ support

1.5.4

6 years ago
  • Package.json changes

1.5.3

6 years ago
  • Security Manager support and linting courtesy of @hansemannn -- thanks!
  • Clean up some code preventing packaging.

1.5.2

6 years ago
  • Fixes an issue where no content property prevented a collection populating.

1.5.0

7 years ago
  • fixes around model creation

1.4.8

7 years ago
  • logging improvements
  • more error handling
  • additional event beforeSend to go with beforePost
  • code clean up
  • minor fixes

Thanks to @Claymm for his PR which wasn't accepted but elements used to help with the changes above

1.4.7

7 years ago
  • Fixed issue where recent PR merged in broke global error handling

1.4.6

7 years ago
  • improved logging
  • added error message to error object

1.4.5

7 years ago
  • added new .errorsAsObjects = true support to config
  • added warnings of future breaking changes

NOTE: You should set

.errorsAsObjects = true

and update any error handling you have in your apps to support new, better errors that provide status codes etc. If you don't add it, existing apps should work fine.

1.4.4

7 years ago
  • execute local onError handler OR Global OR both