Release Notes

SDK Release Notes

1.0.0 (Oct 8, 2025)

  • [Breaking] Replaced the boolean dismissible configuration option with a single dismissible enum that accepts 'always', 'never', or 'oncomplete'. This provides clearer control over modal dismissal behavior.
  • [Feature] Added a visible X to dismiss the survey modal that respects the dismissible configuration option.
  • [Feature] Added prevent_body_scroll configuration option. When true, prevents scrolling on the page body when the modal is open. Only applies when the SDK is displaying as a modal. Defaults to true.
  • [Enhancement] Modals are now dismissible by default (dismissible: 'always').
  • [Enhancement] Submit button now spans the full width at all viewport sizes. Modal max-width set to 450px to maintain good visual balance.
  • [Enhancement] Error messages now appear just above the Submit button instead of at the top of the modal, placing validation feedback closer to the action users need to take.
  • [Enhancement] Reduced vertical padding on error messages from 12px to 2px for a more compact, integrated appearance while maintaining readability.
  • [Enhancement] Reduced vertical padding on Other box for a more compact, integrated appearance.
  • [Enhancement] Background color and drop shadow of modal container now derived from the theme's base color instead of grey for more consistent color schemes.
  • [Enhancement] Implemented responsive typography that automatically scales font size based on container width, ensuring optimal readability across all devices.
  • [Enhancement] Implemented comprehensive fluid spacing system that scales proportionally across device sizes.
  • [Enhancement] Added automatic display mode setting based on container type ('modal' for full-screen containers, 'inline' for embedded containers) enables contextual UI behavior throughout the SDK.
  • [Enhancement] Centralized survey dismissal logic now fires standardized "fairing.survey.dismissed" events containing contextual information about dismissal method ('close_button', 'container_click', or 'programmatic'), current question state, and relevant IDs for analytics purposes.
  • [BugFix] Enabled native browser HTML5 validation for date questions. Users now see validation error messages when required date fields are empty.
  • [BugFix] Fixed blue text color in date select inputs on mobile device. Added explicit color declarations to override browser defaults, ensuring consistent text color across all platforms.

Did this page help you?