Skip to content

🚀 0.5.0 - QOL document handling changes

Compare
Choose a tag to compare
@ChillFish8 ChillFish8 released this 28 Aug 13:35
· 187 commits to master since this release
0d16c72

This update is a breaking change from 0.4.0 in the area of removing documents.

What's new

  • Multivalue and single-value inserts are now supported. Things like {"title": "foo"} are supported now.
  • Deleting documents now expect single-value entries not multi-value. This doesn't change the behaviour due to only the first value in the old version which leads to some confusing behaviour.
  • Lax values are now supported, so things like date fields can be any of an i64 timestamp, u64 timestamp or an RFC 3339 formatted string.
  • If a field has an incompatible value according to the schema and cannot be converted, an error is returned instead of erroring in logs but returning 200 OK.

What's fixed

  • Date fields are now correctly handled on upload.
  • The writer-actor no longer panics if an invalid type is given to the document which is different to the schema defined type.