Automagic-rest

Latest version: v2.1.1

Safety actively analyzes 702445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.1.1

What's Changed
* Don't add an underscore when appending the suffix. A variable with `__` is not valid in Django REST Framework and creates errors.
**Full Changelog**: https://github.com/wharton/automagic-rest/compare/2.1.0...2.1.1

2.1.0

What's Changed
* Add the `AUTOMAGIC_REST_RESERVED_WORD_SUFFIX` setting, defaulted to `var`, to append to reserved words and columns ending in an underscore. By FlipperPA in https://github.com/wharton/automagic-rest/pull/7
**Full Changelog**: https://github.com/wharton/automagic-rest/compare/2.0.1...2.1.0

2.0.1

What's Changed
* BREAKING CHANGE: columns that are reserved words append `_var` (again), rather than `_`, to avoid issues with filters.
* Formatted with ruff.
**Full Changelog**: https://github.com/wharton/automagic-rest/compare/1.1.0...2.0.1

1.1.0

What's Changed
* POTENTIAL BREAKING CHANGE: columns that are reserved words will only append `_` rather than `_var` by FlipperPA in https://github.com/wharton/automagic-rest/pull/6
* Bug fix: the `_` is also appended to the `OPTIONS` metadata so the column name identifiers match by FlipperPA in https://github.com/wharton/automagic-rest/pull/6
* Max line length of 88 fixed by FlipperPA in https://github.com/wharton/automagic-rest/pull/6
**Full Changelog**: https://github.com/wharton/automagic-rest/compare/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**: https://github.com/wharton/automagic-rest/compare/0.4.3...1.0.0

0.4.3

What's Changed
* Add support for `range` by noeldvictor in https://github.com/wharton/automagic-rest/pull/4
**Full Changelog**: https://github.com/wharton/automagic-rest/compare/0.4.2...0.4.3

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.