Skip to main content

What's new in SpartanFX

Track every feature, improvement, and fix across all releases.

8Releases
21Features added
35Improvements
4Bugs fixed

v1.0.7

Latest
Mar 25, 202613 changes

Breaking2

  • !BreakingPlanner: `colorMapping` type changed from `Record<string, string>` to `Record<string, IColorMappingEntry>`. Each entry is now an object `{ background, textColor? }`. Plain string values are still handled at runtime for backward compatibility but the type no longer allows them — migrate to the object format.
  • !BreakingPlanner: Removed `customInnerElementType` prop. Use `onRenderItem` instead.

Added7

  • +AddedPlanner: New optional `categories` prop to define an explicit, ordered list of group rows. Empty categories render as labeled rows with no items. Extra categories from items are appended after the explicit list.
  • +AddedPlanner: New optional `nonWorkingWeekdays` prop (defaults to Saturday and Sunday) to configure which recurring weekdays are styled as non-working days.
  • +AddedPlanner: New optional `nonWorkingDates` prop to mark specific dates as non-working days, independent of the recurring weekday rule.
  • +AddedPlanner: New optional `onRenderItem` callback prop `(item: IPlannerItem, props: IPlannerComponentProps) => React.ReactNode` to render custom inner elements. All wrapper behaviour (drag, resize, click, context menu) is preserved.
  • +AddedDataTable: Multi-level grouping support via `groupByLevel1`, `groupByLevel2`, `groupByLevel3` props. Renders collapsible group headers using Fluent UI's native DetailsList grouping. Supports up to 3 nesting levels with `groupsDefaultCollapsed` and `onRenderGroupHeader` customization.
  • +AddedDataTable: New `IDataTableColumn.onGetFormattedValue` prop — a platform-agnostic formatter that extracts plain text from complex field values, used by grouping (and available for export or other features).
  • +AddedDataTable: Exported `buildGroups` utility and `IGroupingResult` type for external use.

Updated4

  • UpdatedPlanner: Non-working day styling now applies to both header cells and drop zone cells (previously only drop zones had weekend styling).
  • UpdatedDataTable: SharePoint adapter (`useSharePointDataTable`) automatically sets `onGetFormattedValue` for complex field types (User, Lookup, MultiChoice, Boolean, DateTime, Currency, URL).
  • UpdatedDataTable: SharePoint adapter loads all items when grouping is active to ensure complete, consistent groups regardless of list size. Infinite scroll is disabled in grouped mode.
  • UpdatedDataTable: Grouping is automatically disabled in Tile View and when the built-in Pager is enabled.