Skip to content

Releases: arnabJ/starlette-admin-beanie-backend

v0.1.1

04 Jan 09:53
4d0e674

Choose a tag to compare

What's Changed

0.1.1 (2026-01-04)

Updated

  • pydantic Field description is now used as help_text if no help_text is manually set for any field (Optional, enabled by default)
  • Added auto_help_text boolean field to ModelView to enable/disable the above feature

Compatibility

  • Tested with
    • starlette-admin (0.15.1 & 0.16.0)
    • Beanie-ODM (2.0.0 & 2.0.1)
    • FastAPI (0.128.0)

v0.1.0

11 Oct 12:04
78c25ca

Choose a tag to compare

What's Changed

Full Changelog: v0.0.3beta3...v0.1.0

v0.0.3beta3

08 Oct 12:25
9e451c4

Choose a tag to compare

What's Changed

  • Field types List[Link[ModelName]] (OnetoMany relations) are now properly decoded as HasMany (Field) and rendered in Select2 with MultiSelect capability instead of being decoded as a ListField.
  • OneToOne and OneToMany fields are properly saved to DB without the need to explicitly wrap the fields in HasOne or HasMany in user's custom ModelView.
  • Add a small fix where in certain scenarios, the id filed may give the error ValueError: Can't find attribute with key id (fix provided by @hrz6976). GitHub Issue.

v0.0.2beta2

04 Aug 12:39
110d9dc

Choose a tag to compare

What's Changed

  • Bumped version to 0.0.2beta2 by @arnabJ in #9

Full Changelog: v0.0.2beta1...v0.0.2beta2

v0.0.2beta1

25 Jul 06:33
a978712

Choose a tag to compare

What's Changed

  • Updated Beanie support to 2.0.0 by @arnabJ in #8

Full Changelog: v0.0.1beta3...v0.0.2beta1

v0.0.1beta3

26 Jun 09:07
dbd443d

Choose a tag to compare

What's Changed


0.0.1beta3 (2025-06-26)

Added

  • Fixed __admin_select2_repr__ not working
  • Fixed List page taking a lot of time for a huge dataset even when the limit is set to very low.
  • Updated CHANGELOG.md

Todo

  • Create a proper README/Documentation

Compatibility

  • Tested with
    • starlette-admin (0.15.1)
    • Beanie-ODM (1.30.0)
    • FastAPI (0.115.13)

Full Changelog: v0.0.1beta2...v0.0.1beta3

v0.0.1beta2

23 Jun 08:07
af40809

Choose a tag to compare

What's Changed

Full Changelog: v0.0.1beta1...v0.0.1beta2

v0.0.1beta1

13 Jun 09:54
f01364e

Choose a tag to compare

v0.0.1beta1 Pre-release
Pre-release

🚀 Initial Beta Release

This release introduces support for:

  • starlette-admin >= 0.15.0

  • beanie == 1.29.0

  • Core CRUD functionality:

    • Create
    • List
    • Detail
    • Edit
    • Delete
  • Advanced capabilities:

    • Filtering
    • Ordering / Sorting
    • Full-text Searching

I've thoroughly tested this integration across several personal projects, and it's performing well. That said, to ensure robustness and broader compatibility, I'm releasing it as a beta and would greatly appreciate additional testing and feedback from the community.


⚠️ Known Issues

  1. List[Link[SomeModel]] Fields
    These are not automatically recognized as HasMany fields in the admin interface. To make them functional, you must explicitly define them in a custom ModelView.

  2. Using Indexed() on Link Fields
    Defining Link fields with Indexed() causes issues in form rendering. As a workaround, define indexes in the Settings class using the indexes list instead.

    ✅ Recommended pattern:

    class Post(BaseDocument):
        title: str = Field(..., description="Title of the post")
        slug: Indexed(str, unique=True) = Field(..., description="Unique slug for the post")
        excerpt: Optional[str] = Field(None, description="Short summary of the post")
        content: str = Field(..., description="Block-based format content, HTML or JSON")
        categories: List[Link[Category]] = Field(..., description="List of categories", min_length=1)
        created_by: Link[SystemUser] = Field(..., description="User who created the post")
    
        class Settings:
            name = "posts"
            indexes = [
                [("title", TEXT)],
                "categories",
                "created_by",
            ]

Feedback and contributions are welcome. Try it out and let me know how it performs in your projects!