I released `v0.3.2` of Ktor Panel This patch upda...
# feed
m
I released
v0.3.2
of Ktor Panel This patch update contains important fixes related to the session validation, form generation and creation logic (for MongoDB and JPA entities). Fixes: - Corrected session validation logic to ensure proper authentication checks. - Fixed
MongoDao
to support entities with immutable (
val
) IDs, ensuring correct persistence and retrieval. - Fixed `MongoDao`'s
find
method to properly return the document from the
MongoAdminUser
collection. - Fixed `MongoDao`'s
createTable
method to use the actual entity class name for the collection, instead of the reflection class name. - Fixed creation logic for MongoDB and JPA entities. - Improved password hashing logic: Password fields are now dynamically detected and securely hashed before saving, supporting multiple common password field names. - Ensured that LocalDateTime fields are correctly detected and mapped to the appropriate HTML input type ( datetime-local) in form generation logic for MongoDB entities. Source: https://github.com/believemanasseh/ktor-panel Demo: https://ktor-panel.daimones.xyz/ Docs: https://ktor-panel.readthedocs.io/