Changelogs » Adrest

Adrest

3.2.3

* Drop python2.6 support
* Minor release

3.2.1

* Fix serialization for paginated content (c) lispython

3.1.0

* Content parsing before resource's parsing.

3.0.3

* Returned support of emit_include, emit_exclude and etc. options
Them will be translated in 'emit_models' dictionary

3.0.0

* ``api.register`` method could be used as decorator;

* Added `emit_format` option;

* WARNING! Changed mixin and resources API.
All service attributes moved to Meta classes;

* WARNING! Model's emit options moved to `emit_models` option.
Before
class Resouce
emit_include = ...
emit_exclude = ...
emit_related = ...
After
class Resource
class Meta
emit_models = dict(include=..., exclude=..., related=...)

* WARNING! Pagination parameter `max` should be defined with prefix
`adr-max` by default. You can change prefix using Meta.dyn_prefix.

2.2.2

* Fix bugs in serializer

2.2.1

* Support Django 1.5

2.1.14

* Update default form initialization (one instance in arguments);

2.1.12

* Respect resource name;
* Improvement folding (thanks alvinfrancis);

2.1.11

* Added field `emit_options` to resource class.
Ex. emit_options = dict(ensure_ascii=False)
* [WARNING] Changed format of serializer's options
_fields -> fields, _include -> include and etc.

2.1.5

* Added num_pages property in paginator serialize result;

2.1.4

* Fix Pagination (dont raise server error in invalid values);

2.1.3

* [WARNING] Change resource.template attribute
template -> emit_template
* [WARNING] Change Paginator attribute, next -> next_page, previous -> previous_page;
* Added to_simple__<fieldname> method support to resources;
* Added to_simple method to resources (finished serialization);

2.0.11

* RPC scheme could be defined as string;
* Minor bugfixes

2.0.9

* Respect resource.name;
* '***_resource' test helper now supported json=True;
* Pagination can be disabled by set `limit_per_page=0` in resource
class. Also you can send max=0 for disable it dinamicly;
* You can proxy a request to rpc methods (use get_request);

2.0.7

* Add ensure_ascii=False by default in json.dumps

2.0.6

* Fix OPTIONS method in RPC calls

2.0.5

* Fix serialization errors

2.0.4

* Change serialize parameters

2.0.2

* Refactored RPC support.

1.9.10

* Fix serialization

1.9.9

* Fix access logging

1.9.4

* Upgrade default serialization

1.9.1

* Added exclude support to filters (field__not=...). Thanks Lispython
* Refactor authentication. Some custom authenticators can be not worked.

1.8.9

* Fix adrest's admin integration'
* Fix adrest's log saving

1.8.7

* Fix FrozenDict repr in logs

1.8.5

* Fix 'get_resources'

1.8.4

* Beta Google Analytics support

1.8.3

* Support multivalues in FormParser
* request.data is immutable now

1.8.1

* Fix bulk operation

1.8.0

* Code-refactoring

1.7.0

* Added BSON support

1.6.0

* Upgrade 'adrest_include'

1.5.0

* Added manytomany field tests.

1.4.3

* Fixed RPC callbacks.

1.4.0

* Upgraded PUT and DELETE methods.
* Support for many resources.

1.3.0

* Fixed parsing of resources

1.2.11

* API-map has been updated.
* Fixed RPC headers.
* Added JavaScript templates.
* Added `adrest_jsonify` tag.

1.2.2

* Add JSONP emitters, add jsonp support to rpc

1.2.1

* Add simple JSON RPC

1.1.21

* Parse resources from POST and PUT
* Fix pagination

1.1.20

* Fix accesskey admin

1.1.19

* Not resource checking on options request (ALLOW_OPTIONS)

1.1.17

* Add field label to map.

1.1.15

* Delete returned empty response.

1.1.14

* Add ordering to adrest models

1.1.12

* Minor fix of allow header

1.1.11

* Do not change data in request from forms

1.1.10

* Add ADREST_ACCESSKEY option
* Fix PUT and PATH requests

1.1.7

* Allows fields query (field__startswith) in GET filters

1.1.6

* Authenticators refactoring

1.1.3

* More usefull api map

1.1.2

* Fix accesskey admin

1.1.0

* Add not string content for HttpError
* Add TextEmitter
* Add SerializedHttpResponse (HttpResponse now returned as is)
* Add api owned signals

1.0.18

* More information in adrest signals.
* Fix API urls

1.0.15

* Add 'api_prefix' option to API
* Fix templates
* Append http HEAD method support by default
* New resource method: as_url
* Resources now parse from URL and GET
* get_resources_from_uri -> get_resources

1.0.6

* More accurate html (hogart)
* Append ADREST temlatetags (adrest_include)

1.0.4

* !!! No backward compatible (get_filter_options -> get_queryset)

1.0.3

* More information in mail about errors
* Tests refactoring (lispython)
* Fixed json emmiter (lispython)
* Added pagination headers (lispython)

1.0.2

* Minor release

1.0.1

* Add API errors email notifications

1.0.0

* Global refactoring
* Fix access log

0.7.93

* Minor fix of api map
* Set is now json serialized

0.7.92

* Model in resource maybe in string format

0.7.9

* Reverse uri in tests by resource name

0.7.7

* Fix settings and cross domain 'OPTIONS'

0.7.5

* Fix filter_options

0.7.4

* Fix precache queryset in handlers

0.7.2

* Minor fix

0.7.1

* Add version information to django access admin

0.7.0

* Add version to access log
(Manual migration: ALTER TABLE adrest_access ADD COLUMN version varchar(25);)

0.6.62

* Fix throttle cache key length

0.6.5

* Fix prefix on partitial form

0.6.4

* Allow to create api without version

0.6.3

* Add django 1.3.1 support and some test utils

0.6.0

* Allow filter has many values from GET

0.5.97

* Fix partitial form

0.5.95

* Fix map for user auth

0.5.94

* Fix partitial form.

0.5.93

* Add html map

0.5.92

* Add fields to map
* Fix check owner code (if child FK to parent is None -- it's, nobody owns this
child, so everyone can get it)

0.5.3

* Extract check owners method

0.5.2

* Upgrade JSON emitter
* Add XML emitter

0.4.7

* Add some tests

0.4.4

* Add some tests
* Add map of api resources
* Begin code refactoring

0.3.11

* Fix access key admin

0.3.1

* Fix access log bug

0.2.98

* Fix put method

0.2.97

* In OPTIONS method always used only JSONEmitter

0.2.96

* Allow disable authentication on OPTIONS http methods

0.2.95

* Add OPTIONS method

0.2.92

* Fix access for nested objects

0.2.9

* Fix DEBUG mode

0.2.7

* Fix statuses. https://github.com/klen/adrest/issues/4

0.2.6

* Fix handlers and forms

0.2.5

* Add form_exclude option to resource

0.2.4

* Some more frendly Access logs

0.2.3

* Fix accesslog truncate content
* Improve access log admin

0.2.1

* Add `log` resource param
* Truncate response content in log to 5000 symbols
* Add throttle

0.1.9

* Add server timestamp to all request

0.1.8

* Minor fixes

0.1.5

* Fix empty content-type

0.1.4

* Add api_request_started and api_request_finished signals

0.1.3

* Add method field in access log model

0.1.2

* Fix tests fail for PUT requests

0.1.1

* Fix bug with empty request.data on PUT method when content-type is 'application/x-www-form-urlencoded'

0.1.0

* Fix invalid identifier in url
* Add queryset parameter to handler class

0.0.8

* Add owner resource checks

0.0.7

* Fix url regex generate bug

0.0.6

* Many bugs fixed
* Access logging work on

0.0.2

* First public release