Skip to content

Releases: vinyguedess/alcherializer

v0.5.0

20 Dec 15:31
Compare
Choose a tag to compare

Feature

  • Serializer accepts context kwarg which receives a dictionary of things to be passed down to other serializers also

Chore

  • Adds .pytest_cache to gitignore
  • Creates a docker container to be used as dev environment
  • Create contribution guidelines

v0.4.0

23 Dec 19:02
ca58d4f
Compare
Choose a tag to compare

Feature

  • Parse enum.Enum classes values when serializing #2

v0.3.0

07 Nov 22:57
bfb9219
Compare
Choose a tag to compare

Feature

  • Serialize related models
  • alcherializer.fields.MethodField allowing add custom fields to serializer

Style

  • Refator code with black, flake8 and isort

Tests

  • Refactor tests with pytest

v0.3.0rc3

05 Nov 22:05
Compare
Choose a tag to compare

Docs

  • how to use related fields
  • how to use alcherializer.fields.MethodField

v0.3.0rc2

05 Nov 21:53
Compare
Choose a tag to compare

Feature

  • alcherializer.fields.MethodField

v0.3.0rc1

05 Nov 19:54
Compare
Choose a tag to compare

Feature

  • Serialize related models

Tests

  • Refactor tests to work with pytest

Style

  • Using black, flake8 and isort to guard code style

v0.2.0

24 Jun 13:54
Compare
Choose a tag to compare

Feature

Fields

fields.BooleanField

Casting a field value and validating if is a valid boolean

v0.1.0 - Initial relase

21 Jun 15:34
Compare
Choose a tag to compare

Feature

Data

  • Serialize into an object model base attributes
  • Can serialize an array of models too

Is Valid

  • Validate required fields
  • Validate string fields max length based in SQL attribute size