Skip to content

Version 3.7.4

Compare
Choose a tag to compare
@carltongibson carltongibson released this 20 Dec 14:38
· 1215 commits to master since this release
a81e60f

Point Release for 3.7.x series.

  • Schema: Extract method for manual_fields processing #5633

    Allows for easier customisation of manual_fields processing, for example
    to provide per-method manual fields. AutoSchema adds get_manual_fields,
    as the intended override point, and a utility method update_fields, to
    handle by-name field replacement from a list, which, in general, you are not
    expected to override.

    Note: AutoSchema.__init__ now ensures manual_fields is a list.
    Previously may have been stored internally as None.

  • Remove ulrparse compatability shim; use six instead #5579

  • Drop compat wrapper for TimeDelta.total_seconds() #5577

  • Clean up all whitespace throughout project #5578

  • Compat cleanup #5581

  • Add pygments CSS block in browsable API views #5584 #5587

  • Remove set_rollback() from compat #5591

  • Fix request body/POST access #5590

  • Rename test to reference correct issue #5610

  • Documentation Fixes #5611 #5612

  • Remove references to unsupported Django versions in docs and code #5602

  • Test Serializer exclude for declared fields #5599

  • Fixed schema generation for filter backends #5613

  • Minor cleanup for ModelSerializer tests #5598

  • Reimplement request attribute access w/ __getattr__ #5617

  • Fixed SchemaJSRenderer renders invalid Javascript #5607

  • Make Django 2.0 support official/explicit #5619

  • Perform type check on passed request argument #5618

  • Fix AttributeError hiding on request authenticators #5600

  • Update test requirements #5626

  • Docs: Serializer._declared_fields enable modifying fields on a serializer #5629

  • Fix packaging #5624

  • Fix readme rendering for PyPI, add readme build to CI #5625

  • Update tutorial #5622

  • Non-required fields with allow_null=True should not imply a default value #5639

  • Docs: Add allow_null serialization output note #5641

  • Update to use the Django 2.0 release in tox.ini #5645

  • Fix Serializer.data for Browsable API rendering when provided invalid data #5646

  • Docs: Note AutoSchema limitations on bare APIView #5649

  • Add .basename and .reverse_action() to ViewSet #5648

  • Docs: Fix typos in serializers documentation #5652

  • Fix override_settings compat #5668

  • Add DEFAULT_SCHEMA_CLASS setting #5658

  • Add docs note re generated BooleanField being required=False #5665

  • Add 'dist' build #5656

  • Fix typo in docstring #5678

  • Docs: Add UNAUTHENTICATED_USER = None note #5679

  • Update OPTIONS example from “Documenting Your API” #5680

  • Docs: Add note on object permissions for FBVs #5681

  • Docs: Add example to to_representation docs #5682

  • Add link to Classy DRF in docs #5683

  • Document ViewSet.action #5685

  • Fix schema docs typo #5687

  • Fix URL pattern parsing in schema generation #5689

  • Add example using source=‘*’ to custom field docs. #5688

  • Fix format_suffix_patterns behavior with Django 2 path() routes #5691

See 3.7.4 Milestone