Skip to content

Releases: firecmsco/firecms

v3.0.0-beta.11

13 Dec 17:43
Compare
Choose a tag to compare
  • New Next.js template for FireCMS PRO. You can now create a new project with the PRO template using the CLI.
  • [BREAKING] Removed userRoles from AuthController. You can now access the roles prop 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.
    • smallest or tiny have been renamed to small.
    • small has been renamed to medium.
    • medium has been renamed to large.
  • [BREAKING] For self-hosted versions, there has been a change in the API for the data management controllers. The
    authController is now passed to the User Management controller, instead of the other way around. The
    userManagementController can 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 surface and surface-accent colors 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 Select component, you don't need to provide a renderValue function 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

13 Dec 17:43
Compare
Choose a tag to compare
  • 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

07 Oct 17:37
Compare
Choose a tag to compare
  • 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 multiple prop.
  • New MultiSelect component 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 partOfBlock to minimalistView in 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.
  • RepeatFieldBinding can now use unresolved array properties.

v3.0.0-beta.8

10 Jul 13:53
Compare
Choose a tag to compare
  • Fix for excessive re-renders in the form view.
  • You can now use PropertyFieldBinding components 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 previewUrl prop 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

19 Jun 16:11
Compare
Choose a tag to compare
  • Renamed the cn utility class to cls, while keeping cn available 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.

v3.0.0-beta.6

19 Jun 16:11
Compare
Choose a tag to compare
  • Added AppCheck to every FireCMS variant.
  • Various fixes for datasource delegate.
  • Fix in saving cleaned data.
  • Cloud new user roles creation issue fixed.
  • Error message display issue in table cells fixed.
  • Subcollections updating issue fixed.
  • Import/export analytics and related data mapping conversions updated.
  • Updated and improved handling of user roles and permissions.
  • Enhanced the handling of service account files and project creation using SA.
  • Updated the behavior of unindexed queries.
  • User management connection to demo removed.
  • Dependency updates to mitigate security issues.
  • Exposing additional methods from data inference for better customization.
  • Pro template updates for improved UI/UX.
  • Updated documentation for collections and user management.

v3.0.0-beta.5

22 Apr 18:46
Compare
Choose a tag to compare
  • [BREAKING] The main component for FireCMS Cloud has been renamed from FireCMSApp to FireCMSCloudApp. Please update
    your imports accordingly.
  • Fixes related to the CLI. You can now install the CLI globally with npm install -g @firecms/cli.

v3.0.0-beta.4

01 Apr 16:46
Compare
Choose a tag to compare
  • [BREAKING] The package name for FireCMS Cloud has changed from firecms to @firecms/cloud. This is done
    to avoid conflicts with the main FireCMS package. If you are using FireCMS Cloud, you will need to update your
    imports.
  • [BREAKING] If you are importing the tailwind configuration, you can now find the import at:
    import fireCMSConfig from "@firecms/ui/tailwind.config.js";
  • [BREAKING] In that case, you also need to add @tailwindcss/typography to your dev dependencies.
  • [BREAKING] You need to update your vite.config.js and replace the package name in the federated configuration:
    import { defineConfig } from "vite"
    import react from "@vitejs/plugin-react"
    import federation from "@originjs/vite-plugin-federation"
    
    // https://vitejs.dev/config/
    export default defineConfig({
        esbuild: {
            logOverride: { "this-is-undefined-in-esm": "silent" }
        },
        plugins: [
            react(),
            federation({
                name: "remote_app",
                filename: "remoteEntry.js",
                exposes: {
                    "./config": "./src/index"
                },
                shared: ["react", "react-dom", "@firecms/cloud", "@firecms/core", "@firecms/firebase", "@firecms/ui"]
            })
        ],
        build: {
            modulePreload: false,
            target: "esnext",
            cssCodeSplit: false,
        }
    })
  • Minor performance improvements and bug fixes.
  • Enhanced filtering and sorting capability for indexed fields.
  • Extended StorageSource to support custom bucketUrl.
  • Cleanup for navigation controller generics and Markdown prose classes.
  • Addressed User Management saving issues and renamed Cloud template.
  • Fixed ReferenceWidget.tsx rerenders.
  • Fixed homepage new collection button issue.
  • Fixed CLI templates path.
  • Roles integrated into AuthController.
  • Small change to plugins API.
  • Added user details to navigation bar dropdown.
  • Dependencies updated.
  • Entity view preview and title refactor.
  • Kanban board work in progress.
  • Fix for new radix empty select values.
  • Fixes for undefined properties in arrays and editor.
  • Additional parameters added in auth controllers.
  • Navigation cards refactor and Plugin API cleanup.
  • Fix for importing data with non-string IDs.
  • Documentation: Added recipe for managing entity callbacks.
  • Web updates and CLI fix for yarn.

v3.0.0-beta.3

05 Mar 19:29
Compare
Choose a tag to compare
  • Fix for importing data in subcollections.
  • Code reordering.
  • Removed minification. Changed EntityReference type checks.
  • Editor image upload updates.
  • Cosmetic.
  • Moved tailwind.config.js editor plugin.
  • Removed callbacks in side navigation views, prevents bug.
  • PRO template fix.
  • PRO Login view cleanup.

v3.0.0-beta.2

27 Feb 18:28
Compare
Choose a tag to compare
  • Added Formex package to handle forms across the platform. Formex is an in-house
    form management library with a similar API to Formik, but with better performance,
    and much more lightweight.
  • Enhanced onboarding process for new users.
  • Fixed data import issues for new collections.
  • Tweaked SaaS onboarding for better user experience.
  • Implemented regexp validation for input fields.
  • Improved login error feedback.
  • Extracted navigation controller for better manageability.
  • Updated styles for consistency.
  • Updated Vite and dependencies for performance and security.
  • Refactored user and role forms to use Formex.
  • Fixed table header forms and collection editor issues.
  • Addressed incorrect JSON import problems.
  • Removed Formik, enhancing form management with Formex.
  • Made minor HTML nesting and debounce fixes.
  • Fixed array container menu and multiline input bugs.
  • Migrated Tailwind configuration to lib for easier management.
  • Adjusted Sentry configuration for error reporting.
  • Fix for subcollections edit view showing empty.
  • Fixes for block and group properties in editor saving multiple entries when editing an existing sub property.