Skip to content

Upgrading marshmallow 0.6 to 0.7

Review needed0.6.0 → 0.7.0Deprecated1New2Changed3Fixed1

Review neededUpgrade verdict

1 deprecation.

  • The old way of post-processing data is deprecated; use the new decorator instead.
1 item needs code or config changes

Nothing in this upgrade needs a code or configuration change.

Deprecated1
Deprecates the process_data method in favor of the data_handler decorator.
process_datadata_handler

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • changed: constructor Marshaller(prefix=…, strict=…) → constructor Marshaller(prefix=…, strict=…, error_handler=…)
  • removed: method BaseSerializer.process_data(data)
  • added: static method BaseSerializer.data_handler(func)
  • added: static method BaseSerializer.error_handler(func)