All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Configuration variable for tag name to use instead of
<span>
for the replacement wrapper
0.9.9 - 2021-05-06
- Deprecate using
baseUrl
anduseBothWays
as individual parameters inDomWordReplacer.replace()
method. Useoptions
object instead.
- Replace
.replace(...)
method parameters with anoptions
config object
- Add 'suggestionMode' config option
- Add option to mimic capitalization in replacements
- Add jsdoc support
- Code cleanup, add Replacer class
0.9.8 - 2021-04-22
- Code cleanup; README update, add Utils class
- Verify case sensitivity for lookups, add tests
0.9.7 - 2021-04-21
- Fixed typo in entrypoint in extension.json
0.9.6 - 2021-04-21
- Add 'showDictionaryKeys' config option
- Make sure RegExp lookup ignore case sensitivity
- Build steps test and coverage changed
0.9.5 - 2021-04-19
- Ability to do two-way replacements without reserializing (optimization)
- Replace using xpath with NodeIterator (optimization)
0.9.4 - 2021-04-19
- Replace xmlserializer with jsdom serializer to fix a bug with reserializing the DOM
- Add tests for single words inside DOM elements
0.9.3 - 2021-04-18
- Add pre-publish build step to automate npm package publishing
0.9.2 - 2021-04-18
- Add .npmignore and exclude /dist folder; make the package actually work
0.9.1 - 2021-04-18
- Change using 'alt' prop to 'title'
- Escape search terms with word boundaries
0.9.0 - 2021-04-18
- Initial test release