2.6 KiB
2.6 KiB
Changes
4.2.3
- patch: fixes #147. Fixes the css style for the currently selected change.
4.2.2:
- patch: fixes issue where initial change was not being set causing next/prev and merge actions to not work as expected.
4.2.1:
- chore: updated dependencies, cleared security issues
4.2.0:
- minor: added new option
ignoreaccentsto ignore accented characters.
4.1.2:
- patch: fixes issue #134 where the readme had broken links.
4.1.1:
- patch: fixes issue #95 where cursor was not focusing correctly on init.
4.1.0:
- minor: emits 'updated' event after every change.
- patch: fixes
scrollTothat no longer functioned after a codemirror update. - patch: fixes
loadedbeing called prematurely and after every resize, and is now is called once, after the 'updated' event.
4.0.16:
- patch: fixes rendering beyond change constraint
4.0.15
- patch: removed unnecessary addon mark-selected
4.0.14
- patch: fixes issue #104 where diff text conflicted with selected text
4.0.13
- patch: fixed issue where
lhs_cmsettingsandlhs_cmsettingswere ignored - patch: updated documentation
- patch: fixed typos
- patch: fixes issue #115 merging deleted line(s) from lhs would munge rhs text
- patch: fixes two typos in README.md
4.0.11
- patch: fixes typo in example ajax.html
4.0.10
- patch: fixes bad 4.0.9 artifacts
4.0.9
- patch: fixes issue #106 merge edge-case with add
4.0.8
- chore: updated webpack
4.0.7
- chore: updated documentation
4.0.6
- patch: fixes issue #89 missing merge buttons
4.0.5
- patch: fixes issue #85 XSS vulnerability with DOM id
4.0.2
- patch: fixes issue #83 poor rendering performance
4.0.0
Breaking changes
- Now using
npmas the preferred distribution method. - Improved width/height options. Removed options
editor_widthandeditor_height, and addedwidthandheight. The options are equivalent. - Added license option to indicate which type of license to use.
- Only distributing the minimized version as
mergely.js(wasmergely.min.js). - No longer bundling CodeMirror. You will need to get the appropriate source files from a CDN.
Minor features
- Created
mergely-webpackexample. - Lighter distribution (no longer bundling CodeMirror or the Mergely editor).
- Made it easier to set CodeMirror settings via
cmsettingsfor both editors, then applieslhs_cmsettingsfor the left-hand editor, andrhs_cmsettingsfor the right-hand editor.
Fixes
- Previously
width: 'auto'would unnecessarily account for a scroll bar width, now it does not.