Release notes
2026-02-23
- Performance & Caching Architecture:
- QueryCache System: Introduced a unified caching layer via
keyv(with out-of-the-box Redis support) to cacheNMAdapter.readandcountoperations, dropping recurring API latencies from >1s down to <100ms. - Auto-Invalidation: Write operations (
create,update,delete) now automatically invalidate the cache namespace for the affected collection and its parent schemas. - Virtual Field Bypass: Radically optimized sorting and filtering for extended schemas. Queries sorting by
createdAtorupdatedAtnow execute natively on the child collection table, bypassing costly base-collection memory loads. - Schema Extension Consistency: Fixed critical routing bugs where explicitly overridden fields in extended schemas (like
profilePicturein aDoctorextendingUser) were previously discarded or incorrectly merged into the base entity during creations and updates. - Resilient Default Sorting: List APIs and the internal Query Engine now gracefully cascade default sorts (
createdAt DESC->_id DESC->id DESC), ensuring chronological consistency even if a schema lacks a formal createdAt timestamp. - SQLite Architecture: Resolved a deep-level TypeORM compatibility flaw by universally mapping MongoDB
ObjectIdreferences tovarcharunder the SQLite dialect, ensuring seamless local development. - Includes Search Operator: Expanded the Cross-Model Search API and generic query parses to explicitly support
searchType=includes, activatingLIKE %term%partial string searches across all indexed fields.
- QueryCache System: Introduced a unified caching layer via
- nextmin-react: Admin Panel & Datatables:
- JSON Summarizer Sanitization: Hardened the
jsonSummaryextraction logic inDynamicViewer. It now aggressively filters out stray MongoDB ObjectIDs, Amazon S3 Image URLs, and massive comma-separated arrays to prevent them from leaking into the viewer UI as “supporting text”. - Custom DataTable Actions: Developers can now seamlessly inject custom localized Action Buttons horizontally into specific rows of the
<DataTableHero>to trigger external modals, side-effects, or navigation hooks distinct to that document. - Role-Based Passwords: The internal user-creation logic now actively monitors selected roles in the UI, conditionally requiring or entirely hiding the password inputs depending on whether the targeted role necessitates explicit credential generation.
- JSON Summarizer Sanitization: Hardened the
2026-01-30
- Advanced Search & Query Engine:
- $nestedSearch: Efficiently search across referenced collections in standard CRUD list queries.
- Regex Operators: Added support for prefix (
^) and postfix ($) matching in both standard and nested searches. - Automatic Global Search: The
qparameter now automatically indexesarray,json, andobjectfields for a truly “search everything” experience.
- Database Maintenance:
- Cleanup Utility: Automated identification and removal of unused fields (MongoDB) or columns (SQL) that are no longer present in schemas. Includes a safe confirmation flow in the Admin UI.
- Unified NMAdapter: Enhanced the primary adapter to handle maintenance tasks across all supported database dialects.
- nextmin-react: Enhanced Forms & Views:
- Recursive JSON Groups:
SchemaFormnow supports infinite nesting ofjson-groupfields with full support for references, dates, and other complex types at any level. - Rich Text Rendering:
DynamicViewernow features secure HTML sanitization and professionalprosestyling for rich text content. - Validation Sync: Schema constraints like
minLength,maxLength, andpatternare now automatically propagated and enforced by the UI components.
- Recursive JSON Groups:
- Architecture Evolution:
- Adapter Deprecations: Formally deprecated
MongoAdapterandInMemoryAdapterin favor of the universalNMAdapter(TypeORM). - Socket Refresh: Unified
SchemaServiceinto the more robustRealtimeServicefor live updates.
- Adapter Deprecations: Formally deprecated
2026-01-22
- Unified Event Architecture: Transitioned to a granular, namespaced event system.
- Model-Specific Events: Backend now emits events like
posts:created,users:updated, allowing for precise business logic hooks. - Refined Socket IO: Streamlined broadcasting of model-specific events via Socket.io.
- Model-Specific Events: Backend now emits events like
- nextmin-react: Performance & Hook Improvements
- Dynamic useRealtime: Updated the hook to automatically capture any backend event via
onAny, eliminating the need for hardcoded event lists. - Granular Dashboard Reloads: Optimized the dashboard to only refresh individual cards affected by an event, significantly reducing API overhead.
- Dynamic useRealtime: Updated the hook to automatically capture any backend event via
- nextmin-node: Developer Experience
- Logger Development Mode: Internal logs (info, warn, error) are now strictly hidden in
productionmode and improved stack-trace formatting for dev mode. - Internal Event Helpers: Added
getModelEventhelper to standardize event names across the package.
- Logger Development Mode: Internal logs (info, warn, error) are now strictly hidden in
2026-01-21
-
NextMin Re-architecture: Event-Driven & Multi-Database Support
- New Database Engine: Added
NMAdaptersupporting SQLite, PostgreSQL, MySQL, MariaDB, and MongoDB. - Universal Event System: Integrated a central
EventEmitterfor global and model-specific hooks (before:doc:create,after:doc:create, etc.). - Adapter-Agnostic QueryEngine: Refactored filtering logic to return standardized Intermediate Representation (IR), ensuring full backward compatibility with
MongoAdapter. - Real-time Client/Server: Replaced legacy sync with a robust Socket.io-based
RealtimeServiceandRealtimeClient. - Unified Auth/Session: Implementation of
AuthClientfor consistent session handling across the React ecosystem. - Fluent Query Builder: Added
QueryBuilderfor easy construction of complex filters on the frontend. - Unit Testing Suite: Established a formal testing infrastructure using Vitest with 15+ core tests.
- New Database Engine: Added
-
nextmin-node: Robust Policy Lookups & Auth Improvements
- Dot-notation Support: Enhanced policy lookup logic to correctly resolve dot-notated role keys (e.g.,
roles.admin) within the schema’saccesspolicy. - Auth Response Enrichment: Added
roleNameto the user object in/loginand/meresponses, simplifying role identification on the frontend.
- Dot-notation Support: Enhanced policy lookup logic to correctly resolve dot-notated role keys (e.g.,
-
nextmin-react: Improved Admin Experience
- SchemaForm Robustness: Updated privacy bypass logic to use
roleNameand case-insensitive role comparisons. - Fixed Admin Password Field: Resolved an issue where the password field was hidden for admin users during account creation due to role name/ID mismatches.
- SchemaForm Robustness: Updated privacy bypass logic to use
2025-12-28
- nextmin-react: Schema-driven Auto Slug Generation
- Auto-populate: Introduced
populateSlugFromattribute to automatically generate slugs from other fields (e.g.,populateSlugFrom: "title"orpopulateSlugFrom: "firstName,lastName"). - Unique Slugs: Built-in uniqueness handling that appends auto-incrementing suffixes (e.g.,
-1,-2) scoped to the model. - Extended Schema Support: Can generate slugs using fields inherited from base schemas.
- Smart Validation: Automatically marks slug fields as
required.
- Auto-populate: Introduced
- nextmin-react: Reference Select Improvements
- RefMultiSelect: Added alphabetical sorting for options.
- RefSingleSelect:
- Added search functionality with clear button.
- Added alphabetical sorting for options to match multi-select behavior.
- Improved state management for better data loading and syncing.
2025-12-19
- nextmin-node: SEO Meta Fields Auto-injection
- Auto-injection: Automatically injects
metafield (title, description, keywords, jsonLd) for any schema withschemaType: "page".
- Auto-injection: Automatically injects
- nextmin-react: UI improvements
- Textarea Support: Added support for
format: "textarea"withinjson-groupfields. - Numbered Groups: Repeated
json-groupitems now show numbered headers (e.g., “Chamber 1”) for better readability. - Dependency Update: Updated
@heroui/reactto latest version.
- Textarea Support: Added support for
2025-12-10
- nextmin-react: Advanced Rich Text & Layouts
- Layout Support: Added 2-column and 3-column layout blocks to the editor.
- Image Improvements:
- Added floating menu for images with alignment and size controls.
- Support for
object-fit(Cover, Contain, Fill) settings. - Improved image resizing experience.
- Grid System: New Grid extension for complex layouts.
- nextmin-node: Local File Storage
- Introduced
LocalFileStorageAdapterfor storing uploaded files on the local filesystem. - Useful for development environments or simple deployments without S3.
- Introduced
2025-12-08
- nextmin-react: Rich Text Editor Support
- Added full support for rich text editing in SchemaForm.
- New
rich: trueattribute option for string fields. - Implemented using Tiptap with custom HeroUI styling.
- Slash Command System: Type
/to embed other schema data dynamically. - Schema Embedding: Supports embedding data as Tables, Grids, or Lists directly in the editor.
2025-11-25
- nextmin-react: Added View Drawer with schema-driven DynamicViewer
- New View (eye) icon in list tables opens a right-side Drawer to display row details.
- Introduced
useViewDrawerhook andDynamicViewercomponent for reusable viewing. - Drawer width increased to ~50% of viewport on desktop (full width on mobile).
- nextmin-react: Privacy and readability improvements
- Hides technical keys (
id,_id,v,__v,baseId,exId,__childId). - Masks password/secret-like fields generically (by key patterns and schema type/format) — never rendered.
- For models that extend a base, if
baseIdis hydrated, its fields are merged into the view (the link field is hidden).
- Hides technical keys (
- nextmin-react: Generic JSON summarizer
- New
jsonSummary.tsconverts arrays/objects (including JSON stored as strings) into concise, human-friendly strings. - Integrated into table cells and the viewer for consistent display.
- New
- Docs
- Added a new page: Viewer (Drawer) explaining behavior and API.
- Updated nextmin-react overview with a link to the viewer docs.
2025-10-16
- nextmin-node: Added cross-model Search API (POST /search)
- Search across multiple models by text with per-model select and limit. Results grouped by model and masked by policy.
- See docs: /docs/nextmin-node/search
- nextmin-node: Added file upload APIs
- POST /file (API key) for server-to-server uploads.
- POST /files (auth) for authenticated user uploads.
- DELETE /files/:key to delete an uploaded file by key.
- nextmin-node: Query and sorting improvements
- New parseSort supports +field/-field, multi-field sorts, and only applies a default when none provided.
- parseQuery supports fields projection (?fields=a,b), page/limit, and returns a skip value.
- Introduced virtual sort keys (createdAt, updatedAt, id, _id).
- Added buildPredicateForField to build robust filters for string/number/boolean/date/objectId and arrays.
- nextmin-react: FileUploader revamped
- Supports multiple files, progress, cancel/delete, preview, and validation (maxFilesCount, maxFileSize, fileTypes).
- Configurable endpoint and auth headers; maps server response to value.
- nextmin-react: SchemaForm improvements
- Better date/time/range handling (withTime), masked number input, and address autocomplete pairing (address -> latLng).
- Docs: Updated schema examples to include file fields, repeatable JSON groups, and ref page size.
2025-10-09
- Updated the multiple select with the select values
- Updated both single and multi select with virtualization
- Added the fields errors to the create or edit page
2025-10-05
- Resolved extended schema id issue. it won’t overlap the child id or _id.
2025-10-02
- Updated schema extending process.
- Optimized the db adapters for optimizing the db loads.
2025-09-27
- Added schema extending process that any schema can extend any other schema but the nextmin-node will optimize the db tables/docs
2025-09-25
- Docs homepage (docs/app/page.tsx): Enhanced hero copy and added a prominent “Launch Playground” button linking to https://nextmin-playground.gscodes.dev .
- Docs: Updated release notes.
Earlier updates
- Updated settings page
- Updated auth error
- Creating example for the public viewers
- Currently supports mongodb only
Last updated on