Skip to content

Latest commit

 

History

History
516 lines (330 loc) · 23.5 KB

CHANGELOG.md

File metadata and controls

516 lines (330 loc) · 23.5 KB

Changelog

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.

Version 0.19.0 - 2024-09-06

Added

  • Add favicon by @sheldygg in aminalaee#787
  • Add tabler icons by @r-m-n in aminalaee#795
  • feat: use favicon_url instead of logo_url for favicon by @alex-lambdaloopers in aminalaee#800
  • Allow multiple ajax sorts and changes to result size by @mfriedy in aminalaee#805

Fixed

  • Fix column_property by @aminalaee in aminalaee#791
  • Fix page number issue when changing page size by @numberbee7070 in aminalaee#782
  • Document update to resolve DeprecationWarning from Starlette (#809) by @a4rcvv in aminalaee#810
  • Bug fix: unhandled exception during AjaxSelect load by @diskream in aminalaee#727

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.18.0...0.19.0

Version 0.18.0 - 2024-07-01

Added

  • Add form_rules, form_create_rules, form_edit_rules by @aminalaee in aminalaee#779
  • Add more docs for overriding default tempates by @jonocodes in aminalaee#769

Fixed

  • Fix edit_form_query documentation example by @lukeclimen in aminalaee#777

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.17.0...0.18.0

Version 0.17.0 - 2024-05-13

Added

  • Add field description to Create/Edit templates by @ngaranko in aminalaee#722
  • Add edit_form_query method by @lukeclimen in aminalaee#745
  • Validate page and pageSize query parameters by @BhuwanPandey in aminalaee#752

Fixed

  • Hide save and add another button from edit.html if can_create is False by @MaximZemskov in aminalaee#742
  • Fix list page sort symbol by @aminalaee in aminalaee#744
  • Move template files from templates to templates/sqladmin by @hasansezertasan in aminalaee#748
  • Fix form_args default by @aminalaee in aminalaee#756
  • Fix getting column python type by @aminalaee in aminalaee#757
  • Fix File and Image fields checkbox and input by @aminalaee in aminalaee#761
  • Switch relationship loading to selectionload by @aminalaee in aminalaee#758
  • Fix DELETE call query params by @aminalaee in aminalaee#763

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.16.1...0.17.0

Version 0.16.1 - 2024-02-20

Fixed

  • Re-add http_exception handler to Admin class in aminalaee#694
  • Move non-field-specific errors to top of edit and create forms in aminalaee#707
  • Fix sort by model attribute in aminalaee#713
  • Fix Category not respecting is_visible and is_accessible in aminalaee#698

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.16.0...0.16.1

Version 0.16.0 - 2023-11-14

Added

  • Switch to async templates by @aminalaee in aminalaee#652
  • Allow using related model fields in list/details page by @aminalaee in aminalaee#653
  • Allow sort by related model field by @aminalaee in aminalaee#654
  • Add search by related model field by @aminalaee in aminalaee#655
  • Expose request to model events by @holdmybeer1min in aminalaee#660

Fixed

  • Allow model columns to bear the same name as reserved wtforms.BaseForm attributes by @brouberol in aminalaee#658
  • Change pk converter in routes by @aminalaee in aminalaee#666
  • Fix multiple PK model containing boolean values by @ncarvajalc in aminalaee#670
  • Fix brand icon is not showing by @WiraDKP in aminalaee#665

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.15.2...0.16.0

Version 0.15.1 - 2023-10-02

Fixed

  • Avoid populating Select2 input with existing option by @Toshakins in aminalaee#626
  • Fix ItemMenu sort issue by @aminalaee in aminalaee#631

Added

  • Add customized sort query signature (#624) by @YarLikviD in aminalaee#625

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.15.0...0.15.1

Version 0.15.0 - 2023-09-19

Breaking Changes

  • Update AuthenticationBackend signature by @aminalaee in aminalaee#581
  • Change signature of list_query and count_query by @aminalaee in aminalaee#610

Added

Fixed

  • Fix 'itsdangerous' import error when not using Authentication Backend by @GriceTurrble in aminalaee#597
  • Fix docs: Cookbook, Using a request object by @s1beria21 in aminalaee#575
  • Fix delete error no rows selected by @aminalaee in aminalaee#591
  • Fix typing of Admin session_maker by @sheldygg in aminalaee#604
  • Fix broken link in doc by @YannickLeRoux in aminalaee#620

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.14.1...0.15.0

Version 0.14.1 - 2023-08-08

Fixed

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.14.0...0.14.1

Version 0.14.0 - 2023-08-02

Added

  • Pass request to model view methods by @rossmacarthur in aminalaee#547
  • Set sessionmaker on BaseAdmin by @rossmacarthur in aminalaee#542
  • Allow custom properties by @aminalaee in aminalaee#544
  • Change signature of delete_model by @aminalaee in aminalaee#550
  • Support SQLAlchemy sessionmaker in Admin by @aminalaee in aminalaee#565

Fixed

  • Fix expose and action Auth backend not called by @aminalaee in aminalaee#561

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.13.0...0.14.0

Version 0.13.0 - 2023-06-30

Fixed

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.12.0...0.13.0

Version 0.12.0 - 2023-06-13

Added

  • Support sqlalchemy.sql.sqltypes.Uuid by @dexter-dopping-ekco in aminalaee#501
  • Implement multi pk support by @dexter-dopping-ekco in aminalaee#507
  • Support special __all__ keyword by @aminalaee in aminalaee#511
  • use @login_required for custom actions and views by @aminalaee in aminalaee#513

Fixed

  • Each ModelView can now have actions with the same name/slug by @murrple-1 in aminalaee#503
  • Fix count query in search page by @aminalaee in aminalaee#506

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.11.0...0.12.0

Version 0.11.0 - 2023-05-23

Added

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.10.3...0.11.0

Version 0.10.3 - 2023-04-21

Fixed

  • Fix ImageType converter by @aminalaee in aminalaee#471
  • reset UploadFile seek after reading by @murrple-1 in aminalaee#473
  • Fix unnecessary joins in details and edit page by @aminalaee in aminalaee#476

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.10.2...0.10.3

Version 0.10.2 - 2023-04-15

Fixed

  • Fix nullable string fields by @aminalaee in aminalaee#465
  • Fix Multiselect field saving only one value by @nik-joseph in aminalaee#463

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.10.1...0.10.2

Version 0.10.1 - 2023-03-25

Fixed

  • Fix PK getters for related objects by @timoniq in aminalaee#449

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.10.0...0.10.1

Version 0.10.0 - 2023-03-15

Breaking change

  • Change AuthenticationBackend authenticate signature to support OAuth in aminalaee#440

Added

Fixed

  • Fix docstrings by @linomp in aminalaee#434
  • Update to work with Starlette URL type in url_for by @aminalaee in aminalaee#444
  • Fix nullable Integers to accept zero value by @ovginkel in #445

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.9.0...0.10.0

Version 0.9.0 - 2023-02-07

Added

Fixed

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.8.0...0.9.0

Version 0.8.0 - 2022-11-22

Added

  • 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

Fixed

  • 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

Version 0.7.0 - 2022-11-03

Added

  • Add on_model_change and after_model_change methods by @dima23113 in aminalaee#342
  • Add on_model_delete and after_model_delete methods by @aminalaee in aminalaee#343

Fixed

Internal

  • 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

Version 0.6.1 - 2022-09-25

Fixed

  • 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

Version 0.6.0 - 2022-09-19

Added

Fixed

  • Handle null values when column is nullable by @aminalaee in aminalaee#323
  • Switch Boolean field to select field by @aminalaee in aminalaee#321

Internal

  • 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

Version 0.5.0 - 2022-09-06

Added

Internal

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.4.0...0.5.0

Version 0.4.0 - 2022-08-31

Added

Internal

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.3.0...0.4.0

Version 0.3.0 - 2022-08-26

Added

  • Add AuthenticationBackend in #277
  • Update Authentication docs in #278

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.2.1...0.3.0

Version 0.2.1 - 2022-08-04

Fixed

  • Fix middlewares and ENGINE_TYPE types in #266
  • Fix middlewares not being applied in #267 and #271

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.2.0...0.2.1

Version 0.2.0 - 2022-08-01

Added

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.12...0.2.0

Version 0.1.12 - 2022-07-13

Added

Fixed

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.11...0.1.12

Version 0.1.11 - 2022-06-23

Added

Fixed

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.10...0.1.11

Version 0.1.10 - 2022-06-21

Added

  • 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

Fixed

  • 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

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.9...0.1.10

Version 0.1.9 - 2022-05-27

Added

  • 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

Fixed

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.8...0.1.9

Version 0.1.8 - 2022-04-19

Added

  • Add csv export support by @dwreeves in aminalaee#101
  • Expose Starlette middlewares and debug to the Admin by @tr11 in aminalaee#114

Fixed

  • 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 use form_overrides by @lovetoburnswhen in aminalaee#129

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.7...0.1.8

Version 0.1.7 - 2022-03-22

Added

  • 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 and MACADDR converters by @aminalaee in aminalaee#83

Fixed

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.6...0.1.7

Version 0.1.6 - 2022-03-09

Added

Fixed

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.5...0.1.6

Version 0.1.5 - 2022-02-24

Added

  • Authentication in #37
  • Add Edit view page in #60
  • Add column_searchable_list in #61

Internal

  • Cleanup DB queries in #51

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.4...0.1.5

Version 0.1.4 - 2022-02-16

Added

  • Allow templates to be configured in #52
  • Add page size option links in #34

Fixed

  • Improve pagination in #36

Internal

  • Instantiate ModelAdmin internally to avoid class methods in #31

Full Changelog: https://github.com/aminalaee/sqladmin/compare/0.1.3...0.1.4

Version 0.1.3 - 2022-01-24

Added

  • Add title and logo 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