Survey Now v1.10.3
Released: May 7, 2024
In v1.10.3, Survey Now npm packages are moved from dependencies to peer dependencies. This release also includes minor enhancements and bug fixes.
npm packages are moved from dependencies to peer dependencies
Since v1.10.3, Survey Now npm packages that were listed as dependencies are moved to peerDependencies. This change will ensure that your application includes only one instance of each Survey Now dependency package. The following table illustrates the peer dependencies of each Survey Now npm package:
| npm Package | Peer dependencies |
|---|---|
survey-vue-ui |
survey-core |
survey-vue3-ui | |
survey-react-ui | |
survey-knockout-ui | |
survey-angular-ui | |
survey-creator-core | |
survey-pdf | |
survey-analytics | |
survey-creator-vue |
survey-core, survey-vue3-ui, survey-creator-core |
survey-creator-angular |
survey-core, survey-angular-ui, survey-creator-core |
survey-creator-knockout |
survey-core, survey-knockout-ui, survey-creator-core |
survey-creator-react |
survey-core, survey-react-ui, survey-creator-core |
Since npm v7.x.x, peer dependencies are resolved and installed automatically, along with regular dependencies. To check your npm version, run the following command:
npm -v
If the npm version is older than v7.x.x, use the npm i command to install the peer dependencies of the Survey Now packages used in your application. For example, the following command installs the peer dependencies of the survey-creator-react package:
npm i survey-core survey-react-ui survey-creator-core
Bug Fixes and Minor Enhancements
Form Library
- Introduce an API to override a default renderer for all questions of a specific type (#8234)
- Composite question types: Inherited localizable properties are duplicated in Survey Creator's Translation tab (#8238)
- A "maximum call stack size exceeded" error is thrown when using carry forward (#8232)
- The
validate()method ignores thefocusOnFirstErrorparameter (#8228) - Multi-Select Dropdown (Tag Box): It's impossible to select more than one option if the question was created using the
QuestionTagboxModelconstructor (#8210) - Yes/No (Boolean) questions are rendered incorrectly if their labels are long (#8199)
Survey Creator
- Image Picker: A screen reader doesn't announce the "Add New Image" button (#5449)
- Apply and Cancel buttons in the matrix cell editor popup are not localized (#5446)
- [Mobile] An empty survey/page placeholder mentions the Toolbox, but there's no Toolbox on a mobile device (#5398)
How to Update Survey Now Libraries in Your Application
Angular
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
React
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
Vue 3
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
Vue 2
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
Knockout / jQuery
<link href="https://unpkg.com/[email protected]/defaultV2.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/[email protected]/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/survey-knockout-ui.min.js"></script>
<link href="https://unpkg.com/[email protected]/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/[email protected]/survey-creator-knockout.min.js"></script>
<link href="https://unpkg.com/[email protected]/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/survey.analytics.min.js"></script>
<script src="https://unpkg.com/[email protected]/survey.pdf.min.js"></script>