Skip to content

Releases: wharton/automagic-rest

1.1.0

03 Apr 22:13
f9c0319
Compare
Choose a tag to compare

What's Changed

  • POTENTIAL BREAKING CHANGE: columns that are reserved words will only append _ rather than _var by @FlipperPA in #6
  • Bug fix: the _ is also appended to the OPTIONS metadata so the column name identifiers match by @FlipperPA in #6
  • Max line length of 88 fixed by @FlipperPA in #6
    Full Changelog: 1.0.0...1.1.0

1.0.0

21 Nov 15:53
Compare
Choose a tag to compare

What's Changed

  • Release version 1.0.0: it has been used in production for years at Wharton.
  • Add a dictionary of columns positions to the view as self.positions by @FlipperPA
  • Refine CountEstimatePagination by @rgs258
    Full Changelog: 0.4.3...1.0.0

0.4.3

28 Nov 18:24
580ca6d
Compare
Choose a tag to compare

What's Changed

0.4.2

05 Jul 14:17
Compare
Choose a tag to compare

What's Changed

  • Lock django-filter at version 21.1
    • Version 22.1 breaks support for djangorestframework-filters==1.0.0.dev2, the latest release.
  • This is not ideal, but works for now. We will have to come up with a long-term plan, as it appears djangorestframework-filters is no longer maintained.

Full Changelog: 0.4.1...0.4.2

0.4.1

22 Apr 18:20
Compare
Choose a tag to compare

What's Changed

  • Add support for json and jsonb PostgreSQL columns
  • Ignore un-supported columns with a warning (such as ts_vector)

Full Changelog: 0.4.0...0.4.1

0.4.0

15 Mar 19:09
Compare
Choose a tag to compare

What's Changed

  • __in lookups are now supported for all filter fields, such as ticker__in=IBM,MSFT,AAPL.
  • A bug was fixed that caused the filter fields to be rendered twice in the DRF HTML browsable interface.
  • README was updated.

Full Changelog: 0.3.0...0.4.0

0.3.0

16 Feb 18:35
Compare
Choose a tag to compare
  • Add support for get_extra_sql, to customize the WHERE clause in the information_schema query.
  • Remove errant exclusion of tables ending in chars

0.2.6

16 Apr 20:19
Compare
Choose a tag to compare
  • Fixes a bug exposed in Django 3.2 with AppConfig. This will now work properly with Django 3.2.

Upgrade Django REST Framework Filters and Support DurationField

07 Dec 14:43
d79f2e0
Compare
Choose a tag to compare
  • Upgrades Django REST Framework Filters to 1.0.0dev2 from 1.0.0dev0
  • Adds support in the mapping for internal -> DurationField.

Support for DRF version 3.11.

13 Dec 19:12
Compare
Choose a tag to compare

0.2.4

  • Support for DRF version 3.11 (base_name must become basename in routes). Must use at least DRF version 3.9.

Prior Releases, before moving release notes to GitHub.

0.2.3

  • Add support for oid field types in the field mapping. Last version to support DRF versions before 3.9.

0.2.2

  • Ensure defaults for field type NUMERIC populate.

0.2.1

  • Pull the reserved word list from Python dynamically.

0.2.0

  • Refactored to use a generic serializer created on the fly. This is potentially a breaking change if you overrode the get_serializer method of the build_data_models command.
    • This has been replaced by a view method called get_serializer_class_name.
    • The serializer is now built on-the-fly rather than by the code generator.

0.1.2

  • Add support for DecimalField with max_digits and decimal_places from information_schema.columns fields.

0.1.1

  • Switched to naming models and serializers with a combination of schema_name and table_name to avoid model naming conflicts in Django if the same table exists across multiple schemata.

0.1.0

  • Initial release.