How to read this changelog: Understanding SDK changelog urgency and impact
v2.56.2
Recommended if you use: File Upload question type, Session Replay, the Optimizely Full Stack integration, or screen readers with Surveys- add: Video files format support for File Upload question type
- fix: Optimizely Full Stack experiment decisions now reach Sprig on sites using Optimizely JavaScript SDK v6
- fix: [impact: performance] Session Replay resets after login or logout, and storage cleanup no longer slows the site
- fix: Accessibility improvements for screen readers on prompt cards and translated Surveys
v2.56.0
Recommended if you use: Multiple Choice dropdown in Surveys, or Validated Text questions with the Phone number format- add: File Upload question type, letting respondents attach files to a response
- fix: The border on phone number fields in Validated Text questions now displays correctly
- fix: [impact: behavior] Multiple Choice dropdown in Surveys now opens on the first press when its question is not active
v2.55.1
Recommended if you use: In-Product Surveys or Light and Dark themes- fix: [impact: behavior] Surveys and In-Product Surveys no longer flash an unstyled layout while loading; they now appear once their styles are ready
- fix: [impact: behavior] white box no longer appears behind In-Product Surveys on dark-mode sites
- fix: Additional accessibility improvements
v2.55.0
- add: A new setting that allows respondents to resume taking an unfinished link survey
- add: A new setting for In-Product Surveys and Feedback studies that allows respondents to navigate back and change a previous response in the study
- fix: Accessibility improvements for link Surveys
- fix: Quotas use the final answer when a respondent changes a quota answer while navigating back through a link survey
- fix: Choices stay visible below a long question description in Safari and Firefox
v2.48.0
- add: Update layout and navigation of Surveys
- fix: “Other” error state in Multi-Choice questions
- fix: Fixes for the setting to hide custom branding on Surveys
- fix: Alignment for answer options when they go beyond 1 line in Multiple Choice questions
- fix: Moved the survey close button for In-Product Surveys to accommodate images
- fix: Conversation format minor visual fixes
v2.47.0
- add: Support for Survey Quotas
- add: Support for Image in Question
- add: Option to hide branding on Surveys
- fix: Remove CTAs on answered questions in Conversation surveys
- fix: Matrix questions in Surveys now expand horizontally if space is available when on desktop
- fix: In-Product Surveys now advance correctly honoring both Display Logic and AI Follow-up questions
v2.46.0
- add: Display optional persona text beneath questions in Conversational surveys
- add: AI Follow-up Questions added to Rating scale, Single select, Multi select, NPS, Matrix, Rank Order questions
- add: Skip Logic now available for questions that have AI Follow-up Questions attached
- fix: Increased font size for text inputs in Conversational Surveys
- fix: Placeholder for Display Logic questions with attributes in the side-by-side preview
- fix: Likert/Rating Scale question visual and usability issues
v2.44.1
- fix: Matrix question accordian format - page jumping when user interacts with list
- fix: Mobile hover state for Rating Scale questions
- fix: Rating Scale question responsiveness
- fix: Conversation format - AI Follow-up question format for submitted Open Text questions
- fix: Conversation format - Input styling for “Other” option in Multiple Choice Multi-Select questions
v2.42.0
- fix: Last question too close to the bottom in Long-Form Surveys with multiple questions on a page
- fix: Rank order not auto-advancing to next question Long-Form Surveys with multiple questions on a page
- fix: Preview mode for AI Follow-up Questions
- chore: Remove calls to
windowinSprig.configure
v2.39.4
- add: Display asterisk for required Long-Form Survey questions
- add: Support
addResponseGroupMetaconfig that allows adding metadata before submits - add: Support
enableCspTrustedTypesconfig that allows compatibility with CSP trusted-types directives - fix: Add support for Android Play and Apple App Store links in Text/URL questions
- fix: Layout and interactions for MaxDiff questions on mobile (Long-Form Surveys only)
- fix: Layout of Long-Form Surveys on mobile
- fix: Matrix question accordions now collapse correctly on desktop
- fix: Prototype url not visible on mobile due to insufficient bottom padding on mobile
v2.35.0
- add: New Rank Order question type support
- add: Visual enhancements for Rating Scale and Text/URL questions
- add: Configuration for outstanding IndexedDB transactions limit for fine-grained memory control in Session Replay
- add: Long-form survey support
- fix: Ensure matrix usability on various screen widths/configurations
v2.32.3
- chore: Add logs to checkPendingHeatmapsUrl
- fix: Don’t resend attributes already sent in existing session
- fix: Fix skipping unanswered multiple choice single select questions if it has “answered” skip-logic rules
- fix: Fixes issue with clicks not being recorded for some elements on mobile safari.
- fix: Make question body scrollable, fix header and footer positions
- fix: Upload ready Heatmaps on initialization
v2.27.0
- add: Support for multiple choice questions with dropdown
- add: Support for rich text headers, descriptions and open text footers
- add: Show feedback button when received from pageURL event
- add: Call events/batch if survey opened while event tracked
- add: Adds properties accessible to mobile sdks for metrics reporting
- fix: Stop logging error when window.parent.Intercom is inaccessible
- fix: Live preview restarts on first question when survey finished/closed
- chore: Add size limit validator to the build process
v2.26.2
- add: none of the above multiselect option support
- fix: Add bundled version to the headers for diagnostics
- fix: Check browser quota before collecting replay events
- fix: Update thank you card footer styling
- fix: Fix build issues
- fix: Fix mobile SDK scaling in preview
- fix: Add right padding to matrix questions
- chore: Strip un-needed code from the sprig bundled package
- chore: Adds replay config info to sdk events
- chore: Port tests to different testing framework
- chore: Remove old testing framework
- chore: Better error reporting
- chore: Shrink down size for the shim bundle
v2.24.6
- fix: revert “add rrweb & upchunk to the bundle”
- add: Add public function _generateVideoUploadUrl to allow mobile to generate URL
- add: Add public function _completeSessionReplay to allow mobile to send completed mobile session replays
- add: Return surveyId and responseGroupUid after displaying questions
v2.24.4
- fix: Fixes error from tracking custom events without recording active
- fix: QuestionAnswered event wasn’t emitting because we weren’t using the internal binded event emitter
- add: Exposes trackPageView function for triggering no-code events
- chore: Fix trackPageView error stacktrace and send page view storage in extraInfo parameter instead
v2.24.3
- fix: Fixes bug with corrupted replays in Chrome when duplicating tabs
- fix: Fixes bug that caused replays to lose up to the most recent 30 seconds of data.
- fix: Improve accuracy of replay durations
- fix: During survey dismiss, remove survey container from its parent node, instead of document body
- chore: Add skip button css for voice + video skip button
- add: Pass userAgent info along with replay
- add: Inject custom sprig events into replay
- add: Upload replay events for IPS after question has been answered
- add: Emits question and its response after question submission
v2.23.0
- fix: Renames rrweb script
- fix: Fixes shorter-than intended recordings
- add: Send replayDuration on replay upload
- add: Ability to integrate LaunchDarkly with Sprig SDK
- add: Track events with LaunchDarkly metadata, if integration is enabled
- add: Adds storage usage information to error reports
- add: Support for “after” and “before and after” replay captures
v2.22.3
- fix: Prevent uploads of replays below duration threshold
- fix: Fix whitespace calculation to include border and margin space
- fix: Emit the calculated height instead of the client height on SURVEY_HEIGHT event
- fix: fix an issue when selector is invalid and sdk fails to process the no code events
v2.22.0
- fix: Handle invalid regex gracefully
- fix: Prioritize locally set config over dashboard provided config
- add: Session Replay: Controller and network/upload module. replaySettings config object. Capture session.
- add: Ability to test a new or draft study’s trigger logic
- add: Add Electron support to open external url based on user’s default browser
v2.21.6
- fix: Prevent share screen button to be clicked on multiple times
- add: Enable optional survey callback function when tracking events for an eligible survey to determine whether or not survey should be shown to visitor
- add: Add skip button on Start Task page for recorded tasks if the question is optional
v2.21.3
- fix: Progress bar on surveys was incorrect in some situations
- chore: skip rc tag creation if the release tag is already public
- chore: CSP blocked websocket / devserver connection which disable hot reloading
- chore: update the release merge to main process to run only when there’s newer diffs than dev
- chore: added LICENSE.md and CHANGE_LOG.md to sprig-browser as a build step
v2.21.0
- fix: Progress bar indicator showed incorrect progress
- fix: Consent legal red highlight did not show
- fix: “View Document” button missing on mobile surveys
- fix: Link preview wasn’t showing properly
- add: Allow Text URL question type to have skipped button customized text
- chore: Periodically check for webcam/audio permissions when applicable
v2.16.8
- fix: Video codec issue that was not working on safari/firefox
- fix: Video permission screen state transition now will skip to the next page for audio only, and will always show the video preview even if permission is previously given
- add: Upload card before thank you card when videos are uploading
- add: “Try again” button for retry permissions