Releases: Kinto/kinto
Releases · Kinto/kinto
1.10.0
1.10.0 (2015-12-01)
Breaking changes
- When using cliquet-fxa, the setting
multiauth.policy.fxa.use
must now
be explicitly set tocliquet_fxa.authentication.FxAOAuthAuthenticationPolicy
- Fields in the root view were renamed (mozilla-services/cliquet#600)
Bug fixes
- Fix redis default host in kinto init (fixes #289)
- Fix DockerFile with default configuration (fixes #296)
- Include plugins after setting up components (like authn/authz) so that plugins
can register views with permissions checking - Remove
__permissions__
from impacted records values inResourceChanged
events (mozilla-services/cliquet#586)
Protocol
Changed the naming in the root URL (hello view) (mozilla-services/cliquet#600)
- Added
http_api_version
- Renamed
hello
toproject_name
- Renamed
protocol_version
tocliquet_protocol_version
- Renamed
documentation
toproject_docs
- Renamed
version
toproject_version
New features
- New options in configuration of listeners to specify filtered actions and
resource names (mozilla-services/cliquet#492, mozilla-services/cliquet#555) - Add ability to be notified on read actions on a resource (disabled by
default) (mozilla-services/cliquet#493)
Internal
- Clarified how Kinto is versionned in the documentation (#305)
1.9.0
- Upgraded to Cliquet 2.11.0
Breaking changes
- For PostgreSQL backends, it is recommended to specify
postgresql://
.
Protocol
- In the hello view:
- Add a
bucket
attribute inuser
mapping allowing clients
to obtain the actual id of their default bucket - Add the
protocol_version
to tell which protocol version is
implemented by the service. (mozilla-services/cliquet#324)
- Add a
_since
and_before
now accepts an integer value between quotes"
,
as it would be returned in theETag
response header.- A batch request now fails if one of the subrequests fails
(mozilla-services/cliquet#510) (see new feature about
transactions)
New features
- Add a Kinto command for start and migrate operation. (#129)
- Add a Kinto command to create a configuration file. (#278)
- A transaction now covers the whole request/response cycle (#194).
If an error occurs during the request processing, every operation performed
is rolled back. Note: This is only enabled with PostgreSQL backends. In
other words, the rollback has no effect on backends like Redis or Memory. - New settings for backends when using PostgreSQL:
*_max_backlog
,
*_max_overflow
,*_pool_recycle
,*_pool_timeout
to
control connections pool behaviour.
Bug fixes
- Fix 500 error response (instead of 503) when storage backend fails during
implicit creation of objects ondefault
bucket. (fixes #236) - Fixed
Dockerfile
for PostgreSQL backends. - Fix JSON schema crash when no field information is available.
Internal changes
- Optimization for obtention of user principals (#263)
- Do not build the Docker container when using Docker Compose.
- Add Python 3.5 on TravisCI
- Add schema validation loadtest (fixes #201)
- Multiple documentation improvements.
- The PostgreSQL backends now use SQLAlchemy sessions.
See also Cliquet changes
1.8.0
- Upgraded to Cliquet 2.10.0
Protocol breaking changes
- Moved
userid
attribute to a dedicateduser
mapping in the hello
view (#242).
New features
- Follow redirections in batch subrequests (fixes mozilla-services/cliquet#511)
- Set cache headers only when anonymous (fixes mozilla-services/cliquet#449)
- Add a
readonly
setting to run the service in read-only mode. (#241) - If no client cache is set, add
Cache-Control: no-cache
by default,
so that clients are forced to revalidate their cache against the server
(ref #231)
Bug fixes
- Fixed 503 error message to mention backend errors in addition to unavailability.
- When recreating a record that was previously deleted, status code is now
201
(ref mozilla-services/cliquet#530). - Fix PostgreSQL error when deleting an empty collection in a protected
resource (fixes mozilla-services/cliquet#528) - Fix PUT not using
create()
method in storage backend when tombstone exists
(fixes mozilla-services/cliquet#530) - Delete tombstone when record is re-created (fixes mozilla-services/cliquet#518)
- Fix crash with empty body for PATCH (fixes mozilla-services/cliquet#477, fixes mozilla-services/cliquet#516)
- Fix english typo in 404 error message (fixes mozilla-services/cliquet#527)
1.7.0
- Upgraded to Cliquet 2.9.0
- Update cliquet-fxa configuration example for cliquet-fxa 1.4.0
- Improve the documentation to get started
New features
- Added Pyramid events, triggered when the content of a resource has changed. (#488)
- Added
kinto.includes
setting allowing loading of plugins once Kinto
is initialized (unlikepyramid.includes
). (#504)
Protocol
- Remove the broken git revision
commit
field in the hello page. (#495).
Please read the full Cliquet 2.9.0 changelog for more information
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
- Add Disqus comments to documentation (fixes #159)
New features
- Allow POST to create buckets (fixes #64)
- Control client cache headers from settings or collection objects (#189)
Internal changes
- Remove dead code (#187, ref #53)
- Add pytest-capturelog for better output on test failures (#191)
- Install cliquet middleware (no-op if disabled) (#193)
- Many optimizations on
default
bucket (#192, #197) - Many optimizations on number of storage hits (#203)
- Fix contributing docs about tests (#198)
- Added more batched actions to loadtests (#199)
1.4.0
New features
- Partial collection of records when user has no
read
permission on collection (fixes #76).
Alice can now obtain a list of Bob records on which she has individualread
permission! - Collection can now specify a JSON schema and validate its records (#31).
The feature is marked as experimental and should be explicitly enabled
from settings (#181) - Accept empty payload on buckets and collections creation (#63)
- Allow underscores in Kinto bucket and collection names (#153, fixes #77)
- Collection records can now be filtered using multiple values (
?in_status=1,2,3
) (mozilla-services/cliquet#39) - Collection records can now be filtered excluding multiple values (
?exclude_status=1,2,3
) (mozilla-services/readinglist#68) - Current userid is now provided when requesting the hello endpoint with an
Authorization
header (mozilla-services/cliquet#319) - UUID validation now accepts any kind of UUID, not just v4 (mozilla-services/cliquet#387)
- Querystring parameter
_to
on collection records was renamed to_before
(the former is now
deprecated) (mozilla-services/cliquet#391) - Allow to configure info link in error responses with
cliquet.error_info_link
setting (mozilla-services/cliquet#395)
Bug fixes
- Fix consistency in API to modify permissions with PATCH (fixes #155)
The list of principals for each specified permission is now replaced by the one
provided. - Use correct HTTP Headers encoding in both Python2 and Python3 (#141)
- ETag is now returned on every verb (fixes #110)
Internal changes