Releases: firecmsco/firecms
Releases · firecmsco/firecms
v3.0.0-rc.1
- Firebase 12 Upgrade: Updated to Firebase 12 for improved performance and features.
- History Plugin Enhancements:
- Added previous values tracking to history plugin
- Added programmatic creation of history entries
- Reference Properties Improvements:
- Added reference as string field configuration
- Fixed additional columns not showing in reference selection
- Fixed reference properties not rendering correctly with no path but with a custom Field
- UI Updates:
- Updated default SaaS icon
- Button color updates
- Collapsing home sections
- Small web updates and removed Algolia DocSearch
- Fixes:
- Fixed Google Cloud login issue
- Fixed error returning from subscription view
- Fixed storing recent project
- Fixed TipTap imports
- Fixed passing gclid correctly to app
- Website CLS (Cumulative Layout Shift) fix
- CLI: Added npm instructions to CLI
- Dependencies: Various dependency updates and cleanup
- Documentation: Corrected typo in custom_previews.md
- Import/Export: Cleaned up imports
- Roles Management: Added ability to set roles programmatically in code
v3.0.0-beta.15
- Survey Feature: Added initial user survey with analytics tracking to improve user experience and gather feedback.
- Entity Actions Improvements:
- Added entity actions registry for better organization
- Added form context to entity actions
- Entity actions now available in full screen mode
- Improved entity actions page
- Subscription Management:
- Added Stripe portal link for easy subscription management
- Improved subscription view in project settings
- Added ability to change payment method
- Added analytics events for subscription success or failure
- Price updates
- Home Page Enhancements:
- Added drag and drop functionality to home page sections
- Added back default empty view in home page
- Implemented group drop behavior
- Added ability to rename groups
- Collections can now be edited within the entity edit view
- Fixed home page search re-rendering issue
- UI/UX Improvements:
- Changed default buttons from primary to neutral color
- Added smallest switch size
- Updated hero background gradient
- Minor styling updates
- Added currency toggle in pricing page
- Made collection icons smaller
- Landing page mobile optimizations
- Added small animation to login views
- Updated logo
- Small drawer visual updates
- Analytics:
- Added campaign tracking to analytics
- Added landing analytics events
- Added analytics events for surveys
- Component Updates:
- Changed Alert class props
- Added
viewportClassNameto Select component - File upload visual update
- Allow use of React components as icons
- Added
previous valuesto history plugin - Allow disabling focus in dialog
- Performance & Bug Fixes:
- Fixed loading button size
- Fixed entities getting dirty on creation due to markdown field
- Fixed filtering for null values bug
- Fixed useMemo with changing arguments error
- Fixed id paths bug
- Fixed merged collections order
- DND (drag and drop) performance optimizations and bugfixes
- Fixed collection groups path handling
- Custom Fields: Improved custom fields page
- Reference Dialog Fix: Fixed reference dialog sorting issue when filters are applied in main collection
- Product Demo: Improved product sync demo action
- Web Updates:
- Web design updates
- Web mobile optimizations
- Enhanced getPath function
- Added data attributes to Button component
v3.0.0-beta.14
- JSON View Toggle: Added toggle in collections editor view for accessing raw JSON data.
- UI Consistency: Improved UI consistency for select and multiselect components.
- Form Improvements: Enhanced popup form field resizing and boundary handling.
- Entity History Plugin: Added history tracking functionality to FireCMS Cloud and FireCMS PRO.
- Fixes:
- Fixed text overflow in entity titles
- Fixed errors displayed incorrectly in array of maps
- Fixed truncating buttons
- Fixed read-only entities getting obscured by bottom bar
- Fixed overlay text color in dark mode
- Fixed errors not being cleared on collection editor
- Fixed mergeDeep to handle null cases correctly
- Fixed scroll resetting x-axis on pagination
- Added back table cell error indication
- Drag and Drop: Replaced
@hello-pangea/dndwith@dnd-kitfor better performance and flexibility.
v3.0.0-beta.13
- JSON Preview: Added JSON preview tab to entities, providing a raw data view. Can be disabled with
disableJsonTabprop. - TextField Enhancements: Added
maxRowsandminRowsprops to TextField component for better control of multiline inputs. - AuthController in PropertyBuilder: Added
authControllerto PropertyBuilder callback, allowing access to authentication context. - Storage Improvements: Added
processFileto storage properties for pre-processing files before upload. - Secondary Forms: Secondary forms are now always rendered, even if disabled, for better consistency.
- UI Improvements:
- Adjusted small and smallest field sizes for better visual hierarchy
- Updated Button neutral color styling
- Improved layout for long entity IDs
- Various minor layout tweaks
- Fixes:
- Fixed array reference field with incorrect add button
- Fixed subcollections not resolving path correctly
- Fixed complex subcollection with alias navigation bug
- Fixed export functionality when flatten arrays is false (double quotes are now escaped correctly)
- Fixed CollectionDetailsForm enum select issues
- Fixed entity creation bug
- Fixed URL update for entities with default selected view
- Fixed values not resetting correctly
- Fixed read-only entity views missing tabs
- Fixed camel case related bug
- Demo: Added MultiSelect component demonstration
v3.0.0-beta.12
- Full-screen entity views: You can now open entities in a full-screen view. This is useful when you want to
focus on the entity you are editing. You can enable this feature by setting theopenEntityModeprop tofull_screen
in the collection view. The default mode continues to beside_panel. There has been a big navigation revamp to
accommodate all the new use cases. - Scroll preservation: When you open an entity in a full-screen view, the scroll position of the collection view is preserved.
- Drafts saved locally: Drafts are now saved locally in the browser. This means that if you accidentally close the browser or navigate away, your changes will still be there when you come back.
- URL state preservation: The state of filters and sorting is now preserved in the URL.
- Undo/redo functionality: Added ability to undo and redo changes when editing entities.
- Added
alwaysApplyDefaultValuesflag to collections. This flag allows you to enforce the default values when updating
entities, not just when creating them. - Secondary forms now preserve their width when in side panel mode. You can create full secondary forms
that live in their own tab. Secondary forms are built as custom components and can include any components, including
field bindings. - Added system color mode besides dark and light modes. The button is now a dropdown instead of a toggle.
- Form improvements including fixed initial state reset after save and detached entity form actions.
- Warning when leaving unsaved forms to prevent accidental data loss.
- You can now override default entity actions by providing an action with one of the keys
edit,copyordelete
in theentityActionsprop. - Fix: String properties with storage now take preference in previews.
- Fix for URL encoding for collections.
- Fixed dialog actions scrolling when they shouldn't.
- Fix for navigating to new entities from side panel.
v3.0.0-beta.11
- New Next.js template for FireCMS PRO. You can now create a new project with the PRO template using the CLI.
- [BREAKING] Removed
userRolesfrom AuthController. You can now access therolesprop in the user object directly - [BREAKING] Many FireCMS UI sizes have been adjusted for better consistency. This will affect you only if you are using
custom components.smallestortinyhave been renamed tosmall.smallhas been renamed tomedium.mediumhas been renamed tolarge.
- [BREAKING] For self-hosted versions, there has been a change in the API for the data management controllers. The
authControlleris now passed to the User Management controller, instead of the other way around. The
userManagementControllercan be used as an auth controller, but with all the added logic for user management.
❌ Code before:
/**
* Controller in charge of user management
*/
const userManagement = useBuildUserManagement({
dataSourceDelegate: firestoreDelegate
});
/**
* Controller for managing authentication
*/
const authController: FirebaseAuthController = useFirebaseAuthController({
firebaseApp,
signInOptions,
loading: userManagement.loading,
defineRolesFor: userManagement.defineRolesFor
});✅ Code after:
/**
* Controller for managing authentication
*/
const authController: FirebaseAuthController = useFirebaseAuthController({
firebaseApp,
signInOptions
});
/**
* Controller in charge of user management
*/
const userManagement = useBuildUserManagement({
dataSourceDelegate: firestoreDelegate,
authController
});- Added many "use client" directives to UI components.
- Fixed issues in collection editor code dialog.
- Updated web styles and integrated improvements in Docusaurus.
- Enhanced styling for empty references and minor design tweaks.
- Continued work in progress on Editor custom components.
- Reintroduced dark primary color variant for better theme options.
- Minor web updates for improved aesthetics and functionality.
- Fixed a bug where the Editor was not saving false values.
- Replaced all instances of gray and slate colors with more unified
surfaceandsurface-accentcolors for UI
consistency. - Added Avatar component fallback and integrated ESLint configuration into templates.
- Enhanced error handling in forms and improved cloud error messages.
- Refactored user management logic for better code organization.
- Improved the handling of boolean switch properties in configurations.
- Introduced state management for children in ArrayContainer.
- Added a recipe for slug creation, improving URL handling and SEO.
- Fixed crash issues in repeat fields for subproperties and addressed various minor styling and functionality bugs.
- Made improvements to heatmap responsiveness (HMR fixes).
- Refactored text search functionalities for better efficiency and added relevant documentation.
- Fixed issues with number input fields blocking scroll and replaced date picker with native HTML date input for
consistency. - If you are using the
Selectcomponent, you don't need to provide arenderValuefunction anymore. The component
will handle it automatically. - Custom preview properties are now rendered if the value is undefined.
- Fixed for Cloud version refreshing navigation too often.
- Fix for local search not working when returning to a collection.
- Fix for bug when selecting a read only entity.
- Fixed selection bug in collection groups for entities sharing id.
- Reference previews now take into account arrays of images for the preview image.
v3.0.0-beta.10
- Fixed issues with wrong licenses.
- Resolved TipTap dependencies.
- Addressed various minor styling updates across the web.
- Moved body CSS from default imports to individual files for better modularity.
- Implemented several web updates, including select style fixes and dialog title adjustments for text search.
- Updated the collection editor property select view and improved widget selection layout.
- Applied AppBar tweaks to enhance behavior on mobile devices.
- Improved console outputs and cleaned up miscellaneous code segments.
- Enhanced UI with the addition of a Slider component and updated related documentation.
- Replaced entity edit icon with a pencil for clarity.
- Updated dependencies and refined project management with a license check feature.
- Improved Formex handling of number inputs and fixed DateTimeField export in Next.js.
- Added API key generation and project selection capabilities.
- Introduced a past-due warning message and improvements in collection and subcollection data handling.
- Provided better error handling and layout consistency in the application.
v3.0.0-beta.9
- NEW MARKDOWN EDITOR: The markdown editor has been completely revamped. It now supports a live preview, and a much
improved editing experience. It now includes a slash menu you can access by typing/in the editor. Also a new
toolbar with buttons for common markdown operations. The new editor also includes an AI auto-complete feature, that
suggests markdown elements as you type, and displays the generated markdown in real time, and highlighted. - Additional fields are also now displayed in the entity side dialog.
- Import/export is now broken into 2 separate plugins.
- Packages now are not minified, leaving that responsibility to the client bundler.
- Added max size field in the collection editor for files.
- Improved error handling of wrong file uploads.
- Improving error when opening a non accessible entity in the side view.
- Select component tweaks and removed
multipleprop. - New
MultiSelectcomponent with a much improved UX. - Introduced AppCheck directly in FireCMS Cloud.
- Added MongoDB support for FireCMS PRO.
- Multiple fixes in the user management plugin for PRO projects.
- Updated react-router dependencies.
- Improved customization, you can now define the styles for each typography entry, including font size, typography...
- Improved home page search, now using fuse.js
- Fix for missing index and wrong keys in array of maps with property builder.
- Fix for drag handle position in editor.
- Renamed
partOfBlocktominimalistViewin field props. - It is now possible to define preview properties at the collection level.
- Updated references styling.
- Tooltips have been revamped to use less divs.
- Fix for data enhancement plugin position.
- Fix for how you can override the data source for specific collections.
- You can now also define a different database other than
(default)in the data source. - User Management plugin now saves users with the email as key, instead of a random value.
- Fix for side panels adjusting to the right size when window changes size.
- Some drawer styling updates.
RepeatFieldBindingcan now use unresolved array properties.
v3.0.0-beta.8
- Fix for excessive re-renders in the form view.
- You can now use
PropertyFieldBindingcomponents in your custom entity views, and they will be treated as regular
fields. - For additional entity views, you can now preserve the bottom actions bar, with the prop
includeActions. - For map properties, if they are not required, the value might me
undefined, but if a child property has a value,
validation will be triggered for all children. - Fix for data maps not getting traversed correctly with null value.
- CLI pro template now supports creating web app config.
- Fix for collection editor data inference for enums.
- Small Sheet styling improvement.
- Fixed local search loading issue with cached data.
- Small visual fix for IDs.
- AppCheck updates.
- Fixed inconsistent opening of reference preview side dialogs.
- Fixed icons for image previews.
- Navigating to home URL when logging out.
- Added
previewUrlprop in storage options (#639). - Fixed XLSX security issue CVE-2024-22363 (#654).
- Fix for the removal of keys in KeyValue fields.
- Added large size for boolean switches.
- Updated eslint to the latest version and config.
- Types fix for
removePropsIfExisting. - Fix for video drag bug in array fields.
- Added option to ask for password reset, in PRO login view
- Allowing null default values for properties.
- Added count to array field bindings.
- Fixed default values in nested maps in arrays.
- Resolving entity collection path with the one coming from the entity, not the view config.
- Small fix for logo image.
- Fixed conditional fields not updating correctly.
- Hide new user button if
disabledSignupScreen. - Improved docs navigation bar styling.
- Allowing maps to be completely undefined.
- Disabled add button in collection groups.
- Big entity refactor, custom views are now under the formex provider.
- CLI fix for not logged in users.
- Fix for datamaps not getting traversed correctly with null values.
- Scaffold prop updates.
v3.0.0-beta.7
- Renamed the
cnutility class tocls, while keepingcnavailable with a deprecation warning. - Added Menubar documentation and missing skeleton docs.
- Corrected properties order type to allow subcollections.
- New UI section added to the landing page.
- Improved saving and closing dialog flow.
- Allow hiding IDs and entity links in references and previews.
- Removed some CSS transitions.
- Allow hiding the color mode toggle.
- Added JSON view example.
- Changed virtual table to use size in pixels.
- Some design updates for better user experience.
- Added back collection group column with parent IDs.
- Improved empty results output.
- Added sample prompts and suggestions for DataTalk.
- Enhanced side entity view, dynamically calculated based on collection property depth.
- Fixed mergeDeep types.
- Fixed issue with exporting non-existing properties defined in
propertiesOrder. - Fixed PRO template issues without Cloud projects.
- Improved handling for enum values with value 0.