Skip to content

v0.5.3

Compare
Choose a tag to compare
@yosiat yosiat released this 08 Sep 16:21
· 139 commits to master since this release

Changes

this version includes changes from 0.5.0 to 0.5.3

  • Serialize json dates correctly - Until 0.5.3 we serialized dates as ISO8601 with milliseconds since this version we will serialize milliseconds as well. example: we serialized 2017-03-04T12:45:23Z instead of 2017-03-04T12:45:23.000Z
  • Handling concurrent use of the same serializer - Panko re-uses serializers for has-one/has-many associations between runs - which can cause a bug in concurrent serialization
  • Deeply nesting context and scope - passing MySerializer.new(user, scope: current_user) will pass the scope to all nested associations. (same as context)
  • Code cleanups