# SVG-Edit CHANGES ## ? - Fix (Accessibility): Avoid duplicate IDs - Testing: Switch to Cypress with code coverage for UI testing - npm: Add peerDeps ## 5.1.0 - Deprecated: Should now use `avoidClientSideDownload` in place of `avoidClientSide` (config for `ext-server_opensave.js`). - Fix: IE 11 issue; fixes #363 - Fix: Avoid race condition in `jQuery.svgIcons.js` (evident when attempting to load from `file:` URL in Chrome) - Fix: Input width (@seahindeniz) - Fix: Use change event to be sure that file is loaded before the function (@Moliman) - Enhancement: Added `avoidClientSideOpen` config for `ext-server_opensave.js` - Optimization: Re-rerun image optimization per update - Linting (ESLint): Adjust per now applied rules - Linting (ESLint): Add HTML files to linting - Linting (ESLint): Avoid shadowing - Linting: Assorted changes; ensure license versions are valid semver - Refactoring: Use `static` keyword for classes - Refactoring: Prefer `for...of`, `event.key` (newly enforced linting) - Refactoring: Better var. names - Testing: Accessibility test API update - Docs: Clarify need for Node.js/npm being installed - Build: Remove `types-docs` script as being handled in ESLint - Maintenance: Add `.editorconfig` - npm: Add script to fix eslint errors - npm: Rename `build-config` to `build-by-config` - npm: Update devDeps (including switching from deprecated opn-cli package to open-cli); update core-js-bundle copy; add new axe testing peer dep. axe-core in devDeps ## 5.0.0 - Breaking change: Switch from deprecated `@babel/polyfill` to `core-js-bundle` and `regenerator-runtime` replacements - Build: Require Node 8.5 - Fix: Ensure PHP files are present in `dist/extensions` alongside JavaScript extension files using them - Fix: Bug in obtaining `extPath` in `ext-server_opensave.js` - Fix: Fully redirect extension entrances for lacking browser support - Enhancement: Add config `avoidClientSide` to avoid using client-side support by default (and always require server) - Enhancement: Return a Promise for Editor's `setCustomHandlers`, `loadFromString`, `loadFromDataURI` so known when ready and set - Refactoring: Destructuring, templates, label Unicode code point - Linting (JSDoc): Update per newly enforced `require-returns`; avoid Closure syntax; reenable `jsdoc/valid-jsdoc` as fixed; notes re: valid-jsdoc replacement; use same namepath - Linting: Update per ash-nazg/plugin-node update - Docs: Simplify comments in HTML files re: script purposes - Docs: Update release instructions - Docs (Refactoring): Formally specify `Promise` resolve type; add `typedef` for dialog result object; add an `ArbitraryCallbackResult` type; prefer `void` - npm: Rename (`build-doc` to `build-docs`, `types-doc` to `types-docs`); add `open-docs` script - npm: Update devDeps - npm: Remove unused devDeps; update insecure devDeps ## 4.3.0 - Fix: Droplets for gradient pickers can now be double-clicked in other browsers in addition to Firefox such as Chrome to allow change of color (fixes #181) (@ajinkyas); may be different between the browsers as a result of - Fix: Delay icon setting until locales available (fixes #323) - Fix: Extension with no `placement` to be added to end; for #326 (@sjernigan) - Fix: Error on dragging control point of arc; fixes #268 (@cuixiping) - Fix: With locales loading before extensions, ensure extensions' `langReady` runs properly; fixes #334 (@cuixiping) - Optimization fix: Properly run code conditionally on browser check; fixes #312 (@ianli-sc) - Enhancement: Add CAD Placemark extension (@NeiroNx) - Enhancement (svgIcons): Fix JSDoc param def; add `alt` options - Accessibility: Begin work, add aria-label to some buttons and form controls; add `role=main`; ``; `