Releases: wharton/automagic-rest
Releases · wharton/automagic-rest
1.1.0
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 theOPTIONS
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
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
What's Changed
- Add support for
range
by @noeldvictor in #4
Full Changelog: 0.4.2...0.4.3
0.4.2
What's Changed
- Lock
django-filter
at version21.1
- Version
22.1
breaks support fordjangorestframework-filters==1.0.0.dev2
, the latest release.
- Version
- 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
What's Changed
- Add support for
json
andjsonb
PostgreSQL columns - Ignore un-supported columns with a warning (such as
ts_vector
)
Full Changelog: 0.4.0...0.4.1
0.4.0
What's Changed
__in
lookups are now supported for all filter fields, such asticker__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
0.2.6
Upgrade Django REST Framework Filters and Support DurationField
- Upgrades Django REST Framework Filters to
1.0.0dev2
from1.0.0dev0
- Adds support in the mapping for
internal
->DurationField
.
Support for DRF version 3.11.
0.2.4
- Support for DRF version 3.11 (
base_name
must becomebasename
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 thebuild_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.
- This has been replaced by a view method called
0.1.2
- Add support for
DecimalField
withmax_digits
anddecimal_places
frominformation_schema.columns
fields.
0.1.1
- Switched to naming models and serializers with a combination of
schema_name
andtable_name
to avoid model naming conflicts in Django if the same table exists across multiple schemata.
0.1.0
- Initial release.