Skip to content

Releases: rs/rest-layer

Development Update

04 Sep 15:49
Compare
Choose a tag to compare
Development Update Pre-release
Pre-release

This is another development release, offering several enchantments and bug fixes.

Because it's very long since we last did a release, there are two many major changes to list. Below you can however find an incomplete list of breaking changes:

  • PR #151: ValuesValidator FieldValidator attribute in schema.Dict struct replaced by Values Field.
  • PR #179: ValuesValidator FieldValidator attribute in schema.Array struct replaced by Values Field.
  • PR #204: Storage drivers need to accept pointer to Expression implementer in query.Predicate.
  • filter parameters in sub-query will be validated for type match.
  • filter parameters will be validated for type match only, instead of type & constrains.
  • PR #228: Reference projection fields will be validated against referenced resource schema.
  • PR #230: Connection projection fields will be validated against connected resource schema.
  • PR #241: Always call OnUpdate field hook on HTTP PUT for existing documents. Deleting a field with Default value set, will always be reset to its default value.

Initial dev release

04 Jan 00:15
@rs rs
Compare
Choose a tag to compare
Initial dev release Pre-release
Pre-release
Add a more complex schema benchmark (#78)

- Complex schema 1 is based off a request and Complex schema 2 is based off
 a response schema in real world schema usage.
- Move allocation of byte.Buffer outside of benchmark loop, as we're
 not interested in measuring that.
- Set Buffer to 512Kb to avoid dynamic schema growth for expected test
 usage.