All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support SQLAlchemy v2 in aminalaee#411
- Support PostgreSQL arrays in aminalaee#414
- Add custom form converters in aminalaee#399
- Support SQLAlchemy composite types in aminalaee#421
- Add sqlalchemy_utils
PhoneNumberType
,ColorType
andArrowType
in aminalaee#422
- Fix re-rendering create/edit page with existing data in aminalaee#385
- Fix exclude columns breaking order in aminalaee#407
- Fix control relationships in list page in aminalaee#409
- Fix asyncpg BigInt query in aminalaee#416
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.8.0...0.9.0
- Add
save_as
option by @aminalaee in aminalaee#377 - Add
save_as_continue
option by @aminalaee in aminalaee#379 - Add extra Save buttons for Create/Edit page by @aminalaee in aminalaee#373
- Display errors in alert for create/edit page by @aminalaee in aminalaee#382
- Fix
_url_for
methods ignoring root_path by @aminalaee in aminalaee#371 - Fix export to use
list_query
option by @villqrd in aminalaee#381
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.7.0...0.8.0
- Add
on_model_change
andafter_model_change
methods by @dima23113 in aminalaee#342 - Add
on_model_delete
andafter_model_delete
methods by @aminalaee in aminalaee#343
- Fix search by uuid column by @aminalaee in aminalaee#366
- Update tests after starlette upgrade by @aminalaee in aminalaee#344
- Remove hard-coded related model limit by @aminalaee in aminalaee#354
- Improve items list UI by @ischaojie in aminalaee#349
- Make navbar work on small screens by @aminalaee in aminalaee#362
- Add mypy check with config no_implicit_optional by @ischaojie in aminalaee#360
- Support test-suite py311 by @ischaojie in aminalaee#365
- Add py.typed for the package to ship its typing information by @franciscorode in aminalaee#346
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.6.1...0.7.0
- Fix Boolean field for both nullable and non-nullable cases in aminalaee#336
- Fix Flatpickr not respecting readonly inputs in aminalaee#336
- Disable batch delete when can_delete permission is not provided in aminalaee#335
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.6.0...0.6.1
- Add bulk delete action by @aminalaee in aminalaee#317
- Handle null values when column is nullable by @aminalaee in aminalaee#323
- Switch Boolean field to select field by @aminalaee in aminalaee#321
- Fix form_ajax_refs example in documentation by @GitBib in aminalaee#311
- Remove watch in mkdocstrings mkdocs's config by @ischaojie in aminalaee#306
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.5.0...0.6.0
- Add
remote_ajax_refs
in aminalaee#292
- Avoid select query with ajax_form_refs in aminalaee#300
- Add docs for form_ajax_refs in aminalaee#302
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.4.0...0.5.0
- Add Date and DateTime pickers using Fatpickr in aminalaee#288
- Add Time picker using Flatpickr in aminalaee#294
- Remove MomentJS in aminalaee#289
- Remove Select2 widgets in aminalaee#293
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.3.0...0.4.0
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.2.1...0.3.0
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.2.0...0.2.1
- Add
list_query
,count_query
andsearch_query
options in aminalaee#243 - Add
BaseView
for custom pages in aminalaee#244 - Add
expose
for BaseView in aminalaee#251 - Rename
ModelAdmin
toModelView
in aminalaee#249
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.12...0.2.0
- Add time field converter by @ischaojie in aminalaee#214
- Add Edit button for "Details" page by @cuamckuu in aminalaee#222
- Add column_type_formatters by @aminalaee in aminalaee#239
- Fix lazy subuqery in list query by @aminalaee in aminalaee#212
- Fix missing browser tab title by @cuamckuu in aminalaee#229
- Remove sourceMappingURL in JS files by @aminalaee in aminalaee#231
- @ischaojie made their first contribution in aminalaee#214
- @cuamckuu made their first contribution in aminalaee#222
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.11...0.1.12
- Add
form_include_pk
option by @aminalaee in aminalaee#207
- Fix handling of iterable fields by @okapies in aminalaee#204
- Fix nullable Enum form by @aminalaee in aminalaee#205
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.10...0.1.11
- Add support for one-to-one relationship by @okapies in aminalaee#182
- Add support for UUIDType from sqlalchemy_utils by @okapies in aminalaee#183
- Add sqlalchemy_utils URL, Currency and Timezone by @aminalaee in aminalaee#185
- Add form_widget_args by @aminalaee in aminalaee#188
- Add column_default_sort by @aminalaee in aminalaee#191
- Fix link relationship to details page when null by @aminalaee in aminalaee#174
- docs: fix typos by @pgrimaud in aminalaee#161
- Allow QuerySelectField override object_list with form_args by @aminalaee in aminalaee#171
- Fix form fields order when specifying columns by @okapies in aminalaee#184
- Fix ModelConverter when
impl
is not callable by @aminalaee in aminalaee#186
- @pgrimaud made their first contribution in aminalaee#161
- @okapies made their first contribution in aminalaee#183
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.9...0.1.10
- Add column_formatters by @skarrok in aminalaee#140
- Add column_formatters_detail by @aminalaee in aminalaee#141
- Handling for sqlalchemy_utils EmailType and IPAddressType by @colin99d in aminalaee#150
- Link relationships to detail page by @aminalaee in aminalaee#153
- Function signature typing, and renames by @dwreeves in aminalaee#116
- Fix SQLModel UUID type by @aminalaee in aminalaee#158
- @skarrok made their first contribution in aminalaee#140
- @colin99d made their first contribution in aminalaee#150
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.8...0.1.9
- Add csv export support by @dwreeves in aminalaee#101
- Expose Starlette middlewares and debug to the Admin by @tr11 in aminalaee#114
- Fix Export unlimited rows by @aminalaee in aminalaee#107
- Add form and export options docs by @aminalaee in aminalaee#110
- fix docstring issues by adding an explicit handler by @dwreeves in aminalaee#106
- Fix get_model_attr with column labels by @aminalaee in aminalaee#128
- Delay call to
self.get_converter
to useform_overrides
by @lovetoburnswhen in aminalaee#129
- @tr11 made their first contribution in aminalaee#114
- @lovetoburnswhen made their first contribution in aminalaee#129
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.7...0.1.8
- Add SQLModel support by @aminalaee in aminalaee#94
- Add form-specific functionality to ModelAdmin by @dwreeves in aminalaee#97
- Add
UUID
field converter by @aminalaee in aminalaee#82 - Add PostgreSQL
INET
andMACADDR
converters by @aminalaee in aminalaee#83
- Fix Boolean field checkbox UI by @aminalaee in aminalaee#88
- Fix PostgreSQL UUID PrimaryKey by @aminalaee in aminalaee#92
- Fix Source Code Link by @baurt in aminalaee#95
- @baurt made their first contribution in aminalaee#95
- @dwreeves made their first contribution in aminalaee#97
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.6...0.1.7
- FontAwesome6 icons in aminalaee#78
- Add
column_sortable_list
in aminalaee#65 - Add JSON column converters in aminalaee#74
- Fix URL search regex in aminalaee#67
- Fix Enum in Edit page in aminalaee#71
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.5...0.1.6
- Cleanup DB queries in #51
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.4...0.1.5
- Improve pagination in #36
- Instantiate ModelAdmin internally to avoid class methods in #31
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.3...0.1.4
- Add
title
andlogo
options in #20 - Adding
order_by
to list pagination query in #25 - Allow Relationship properties in list and detail views in #22
Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.2...0.1.3