Skip to content

Latest commit

 

History

History
166 lines (127 loc) · 6.77 KB

CHANGELOG.md

File metadata and controls

166 lines (127 loc) · 6.77 KB

0.4.4

  • Object ACL middleware should check the jwt token when user model is used
  • Email is not required anymore to make a fb account using the FID instead as a username
  • Added support for sendgrid emails
  • Account confirmation endpoint will redirect the user now to a specified address
  • Implemented email templates for password reset flow and for new user accounts confirmation
  • The endpoints with password reset flow now can accept a callback url from clients which will redirect them to that url in the response
  • Default API key added in case application is created without one. Thanks dmitriz
  • Fixed the unit tests
  • BUGFIX: /admin/user/update should correctly update a users password
  • BUGFIX: device/register should now create a new device if persistent udid is missing
  • BUGFIX: Fixed 500 error on /object/count when model is user

0.4.3

  • Fixed /user/update and /admin/user/update and their notifications
  • Replace usage of jwt.sign() with security.createToken
  • Implemented start/stop/restart npm commands

0.4.2

  • Implemented permissions to access objects based on creator/others (admins are exempt from this)
  • Subscription objects from users no longer show username & email fields
  • SystemMessages are being sent when manipulating application info

0.4.1

  • Added suport for SSL
  • Removed the APPID, SIGN and UDID required headers in /user/refresh_token
  • Removed APP headers from /admin/app/update & remove
  • Added new route: /admin/user/search
  • TelepatIndexedLists.get now returns the object if it's found
  • Bugfix: fixed jwt errors when it's expired or invalid

0.4.0

  • Added support for geolocation sorting
  • Implemented CRUD methods for TelepatIndexedLists
  • Added support for merging an account with Facebook
  • Added /email route for clients to send an email
  • Added /proxy route for clients to proxy a HTTP(S) request through the API
  • Added support for subscribing without subscribing (classic get)

0.3.0

  • Added some old routes back for backwards compatibility (admin/user/all for example)
  • Endpoints to retrieve and update user metadata
  • User password hash removed from subscribe results

0.2.8

  • Context ID is not necessary when subscribing to channels which refer to an object id
  • Added stack trace to logger when API has an >= 500 error
  • /context/* routes no longer requier authentication or device ID
  • Implemented email confirmation and password reset features
  • /admin/update should now be able to correctly update its password
  • /object/count returns the response in an object
  • Bugfix: /device/register device is updated accordingly when supplying an existent UDID in the info
  • /object/count Added aggregation support
  • /object/subscribe Added support for sorting results

0.2.7

  • Added support for loging/registering with Facebook. Register/login endpoints have changed:
    • /user/login is now /user/login-facebook and /user/login-twitter
    • /user/register is now /user/register-facebook, /user/register-twitter and /user/register-username
  • Env variables related to logger and login providers are optional
  • Added instant flag to admin context/user operation messages
  • Logged requests now show request duration in milliseconds
  • Fixed #7
  • /object/create|delete|update|count no longer require device ID
  • /object/create bugfix when user is not logged in

0.2.6

  • Changed all methods that delete resources to use DELETE HTTP method
  • Fixed a bug on deathorizing admin
  • Context operations also send messages to workers in order to notifiy clients
  • API uses TelepatLogger instead of console.log
  • context is not required if subscribing/unsubscribing from user or context builtin models

0.2.5

  • Fixed /user/update when updating password
  • Further improved the tests, now each test has an ID displayed for easy lookup. Tests should run faster.
  • Variable checks for message queue client and main database
  • Added pagination support for subscribe requests
  • Removed tokenValidation in object routes because objectACL was already doing that
  • /object/count should now work
  • Applications loaded on boot up are saved in Application object from telepat-models
  • Fixed some minor bugs

0.2.4

  • Implemented /admin/authorize and /admin/deauthorize to add/remove admins to an application
  • Replaced "manual" patch forming with Delta.formPatch
  • Updated code to use Messaging Client instead of directly kafka
  • Updated code to use the TelepatError class for API errors
  • Improved input validation and documentation

0.2.3

  • Replaced couchbase with elasticsearch through adapters
  • Implemented mocha tests, added istanbul code coverage and integrated with travis CI
  • Lots of bug fixes
  • All update endpoints require patches
  • Admin routes are separated in more than 1 file
  • Passwords are stored using bcrypt
  • There's only one configuration file in the root folder. The example provided should be used. The original config file was added to .gitignore

0.2.2

  • Fixed lots of bugs and server crashes
  • User info is returned on login calls (user & admin)
  • Separated user login and user register endpoints
  • Admin endpoint for deleting users sends messages to aggregator to delete objects (1 message per object removed)
  • Standardized /admin endpoints responses
  • Each patch from /object/update is sent in 1 message to the aggregator
  • Standardized and fixed lots of inconsistencies in HTTP status codes in responses
  • Added more input validation, especially to /admin routes
  • /user/logout, /user/refresh_token uses GET method
  • Devices with no device ID should use the string TP_EMPTY_UDID in the X-BLGREQ-UDID header when registering

0.2.1

  • Added context id to kafka messages in /object/subscribe and /object/create

0.2.0

  • New api endpoint for users to login with a password: /user/login_password
  • Couchbase bucket replaced with redis database
  • Fixed lots of crashes and bugs
  • 404 status code is used when unsubscribing from a non existent subscription

0.1.5

  • Application ID is verified if it exists in all requests that require it
  • Standardized response of get context and get all contexts
  • The npm package now requires the correct telepat-models module from the npm registry

0.1.4

  • Added license and readme files
  • Improved documentation
  • /object/subscribe results are returned in an array instead of hash map
  • API responses are more consistent
    • Success responses follow the format: {status: 200, content: {}}
    • Failure/error responses follow the format: {status: 500, message: {}

0.1.3

  • Update operation messages now include a timestamp which is used to filter late patches affecting the same object and property

0.1.2

  • Updated documentation
  • 200 status codes are now 202 when creating/deleting/updating objects

0.1.0

  • Initial pre-alpha release