ChangelogΒΆ

0.7.0 2016-05-17

  • [Feature]: Added ability to edit responses within ‘after’ event handlers
  • [Bug] #128: Build ES params when body provided
  • [Bug] #121: Fixed issue with nested resources referencing parents
  • [Support]: Scaffold defaults to Pyramid 1.6.1
  • [Support]: Added support for Pyramid 1.6.x
  • [Support] #130: Added support for Elasticsearch 2.x

0.6.1 2015-11-18

  • [Bug]: ‘request.user’ is now set to None when using ‘auth = False’
  • [Bug]: Fixed a bug with GET ‘/auth/logout’
  • [Bug]: Added ‘event.instance’ to ‘event’ object to access newly created object (if object is returned by view method)

0.6.0 2015-10-07

  • [Feature]: Added ‘_hidden_fields’ model attribute to hide fields while remaining editable (e.g. password)
  • [Feature]: Nested relationships are now indexed in bulk in Elasticsearch
  • [Feature]: Removed unnecessary extra ‘__confirmation’ parameter from PATCH/PUT/DELETE collection requests
  • [Feature]: Refactored field processors to use the new event system
  • [Feature]: Event system is now crud-based as opposed to db-based
  • [Bug]: Fixed nested relationships not respecting ‘_auth_fields’
  • [Bug]: Fixed a bug causing polymorchic collections to always return 403
  • [Support]: Added support for ‘nefertari-guards’

0.5.1 2015-09-02

  • [Bug]: Simplified ACLs (refactoring)
  • [Bug]: Fixed a bug allowing to update hidden fields
  • [Bug]: Fixed an error preventing RelationshipFields’ backrefs to be set as _nested_relationships
  • [Bug]: Fixed a bug when using reserved query params with GET tunneling
  • [Bug]: Fixed ‘_self’ param for /api/users/self convience route

0.5.0 2015-08-19

  • [Feature]: Routes can now have the same member/collection name. E.g. root.add(‘staff’, ‘staff’, ...)
  • [Feature]: Model’s save()/update()/delete()/_delete_many()/_update_many() methods now require self.request to be passed for ‘_refresh_index’ parameter to work
  • [Feature]: Added the ability to apply processors on ‘Relationship’ fields and their backrefs
  • [Feature]: Renamed setting debug to enable_get_tunneling
  • [Feature]: Refactored authentication
  • [Feature]: Renamed field ‘self’ to ‘_self’
  • [Bug]: Fixed error response when aggregating hidden fields with auth = true, it now returns 403
  • [Bug]: Fixed _count querying not respecting public_max_limit .ini setting
  • [Bug]: Fixed 400 error returned when querying resources with id in another format than the id field used in URL schema, e.g. /api/<collection>/<string_instead_of_integer>, it now returns 404
  • [Bug]: Fixed duplicate records when querying ES aggregations by ‘_type’
  • [Bug]: Fixed formatting error when using _fields query parameter
  • [Bug]: Fixed 40x error responses returning html, now all responses are json-formatted
  • [Bug]: Fixed bug with full-text search (‘?q=’) when used in combination with field search (‘&<field>=’)
  • [Bug]: Removed unused ‘id’ field from ‘AuthUserMixin’
  • [Bug]: Fixed sorting by ‘id’ when two ES-based models have two different ‘id’ field types
  • [Support]: Added support for Elasticsearch polymorphic collections accessible at /api/<collection_1>,<collection_N>

0.4.1 2015-07-07

  • [Bug]: Fixed response of http methods POST/PATCH/PUT not returning created/updated objects
  • [Bug]: Fixed errors in http methods HEAD/OPTIONS response
  • [Bug]: Fixed a bug when setting cors.allow_origins = *
  • [Support]: Added support for Elasticsearch polymorphic collections accessible at /api/<collection_1>,<collection_N>

0.4.0 2015-06-14

  • [Feature]: Added ability to empty listfields by setting them to “” or null
  • [Feature]: Reworked ES bulk queries to use ‘elasticsearch.helpers.bulk’
  • [Feature]: Added ES aggregations
  • [Support]: Added python3 support

0.3.4 2015-06-09

  • [Bug]: Fixed bug whereby _count would throw exception when authentication was enabled

0.3.3 2015-06-05

  • [Bug]: Fixed bug with posting multiple new relations at the same time

0.3.2 2015-06-03

  • [Bug]: Fixed race condition in Elasticsearch indexing by adding the optional ‘_refresh_index’ query parameter
  • [Bug]: Fixed bug with Elasticsearch indexing of nested relationships

0.3.1 2015-05-27

  • [Bug]: Fixed ES mapping error when values of field were all null
  • [Bug]: Fixed posting to singular resources e.g. /api/users/<username>/profile
  • [Bug]: Fixed PUT to replace all fields and PATCH to update some

0.3.0 2015-05-18

  • [Feature]: Implemented API output control by field (apply_privacy wrapper)
  • [Feature]: Added ability to PATCH/DELETE collections
  • [Bug]: Fixed several issues related to Elasticsearch indexing
  • [Support]: Increased test coverave
  • [Support]: Step-by-step ‘Getting started’ guide

0.2.1 2015-04-21

  • [Bug]: Fixed URL parsing for DictField and ListField values with _m=VERB options

0.2.0 2015-04-07

  • [Feature]: Started adding tests
  • [Feature]: Added script to index Elasticsearch models
  • [Support]: Improved docs
  • [Support]: Listing on PyPI

0.1.1 2015-04-01

  • [Support]: Initial release after two years of development as ‘Presto’. Now with database engines! Originally extracted and generalized from the Brandicted API which only used MongoDB.