github Kinto/kinto 4.0.0

latest releases: 25.0.2, 25.0.1, 25.0.0...
9 years ago

Breaking changes

  • kinto --version was renamed kinto version
  • ResourceChanged and AfterResourceChanged events now return
    old and new records for the delete action. (#751)
  • Redis backends are not part of the core anymore. (#712).
    Use kinto_redis.cache instead of kinto.core.cache.redis
    Use kinto_redis.storage instead of kinto.core.storage.redis
    Use kinto_redis.permission instead of kinto.core.permission.redis
  • Redis listener is not part of the core anymore. (#712)
    Use kinto.event_listeners.redis.use = kinto_redis.listeners instead of
    kinto.event_listeners.redis.use = kinto.core.listeners.redis
  • Notion of unique fields was dropped from kinto.core resources.

Protocol

  • Added a /__version__ endpoint with the version that has been deployed. (#747)
  • Allow sub-object filtering on plural endpoints (e.g ?person.name=Eliot) (#345)
  • Allow sub-object sorting on plural endpoints (e.g ?_sort=person.name) (#345)

Protocol is now at version 1.9. See API changelog_.

New features

  • Added a new built-in plugin kinto.plugins.history that keeps track of every action
    that occured within a bucket and serves a stream of changes that can be synced.
    See API documentation.
  • Added a new --dry-run option to command-line script migrate that will simulate
    migration operation without executing on the backend (thanks @lavish205! #685)
  • Added ability to plug custom StatsD backend implementations via a new kinto.statsd_backend
    setting. Useful for Datadog™ integration for example (fixes #626).
  • Added a delete-collection action to the kinto command. (#727)
  • Added verbosity options to the kinto command. (#745)
  • Added a built-in plugin that allows to define quotas per bucket or collection. (#752)

Bug fixes

  • Fix bug where the resource events of a request targetting two groups/collection
    from different buckets would be grouped together.
  • Fix crash when an invalid UTF-8 character is provided in URL
  • Fix crash when provided last_modified field is not divisible (e.g. string)

Internal changes

  • Huge rework of documentation after the merge of Cliquet into kinto.core (#731)
  • Improve the documentation about generating docs (fixes #615)
  • Switch from cliquet-pusher to kinto-pusher in Dockerfile and tutorial.
  • List posssible response status on every endpoint documentation (#736)
  • Remove duplicated and confusing docs about generic resources
  • Replace the term protocol by API in documentation (fixes #664)
  • Add load tests presets (exhaustive, read, write) in addition to the existing random. Switched integration test make loadtest-check-simulation to run the exhaustive one (fixes #258)
  • Remove former Cliquet load tests (#733)
  • Add a flag to to run simulation load tests on default bucket. Uses blog
    bucket by default (#733)
  • Add command-line documentation (#727)
  • The --backend command-line option for kinto init is not accepted as first
    parameter anymore
  • Improved parts of the FAQ (#744)
  • Improve 404 and 403 error handling to make them customizable. (#748)
  • kinto.core resources are now schemaless by default (fixes #719)

Don't miss a new kinto release

NewReleases is sending notifications on new releases.