This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
Releases: MyScript/MyScriptJS
Releases · MyScript/MyScriptJS
v4.3.0
Features
- Addition of a new Recognition Assets Builder API to dynamically build text lexicons and math grammars
- Ability to import JIIX Math content
- Style and decoration support in the JIIX exports
- New configuration options for a finer tuning of JIIX exports
- Always connected is now the default mode for better end user experience
- Text, Math and Diagram can now be exported to Word, HTML and iink format
Bugs fix
- Fix multiple inputs example on Firefox
- Fix smartguide on Edge
- Fix vulnerabilites in dependencies
- Fix auto-reconnect
Others
- New examples :
- Recognition asset builder
- Export text to file (html, word, png, jpeg)
- Use highlight to extract information
- Import jiix with math
- Search and highlight demoing how to manipulate JIIX label
- Use recognition without UI for easy integration in existing ink capable applications
v4.2.0
Features
- New REST mode:
- Text, math and diagram recognition
- Examples for each recognition type
- Support for Raw Content type
- New build and development process:
- We now use Rollup to build our library,
- Two outputs are now generated, UMD and ES6 Modules,
- New always connected mode for WebSocket
- New getSupportedImportMimeTypes method
- New setGuides method used to add guides on a text part
Others
- New local storage example
- Add table of contents for examples page
- Multiple improvements
- Remove bower install from npm scripts
- Replace d3 to only use d3-selection
- Errors management
v4.1.3
Improves the connection errors management when the WebSocket is closed.
v4.1.2
Bug fixed
- Pointer move was not detected on new Firefox 59 due to support for pointer events.
v4.1.1
Features
- New export in
myscript.js
for better import using frameworks (as React).
Bugs fixed
- Multiple smart guides now working in case of multiple editors,
- Stix font removed from css as useless now,
- Languages list for v3 now displaying correct list.
Breaking changes
In order to be consistent with the native API :
guide
renamed toguides
in the configuration.
v4.1.0 (part of iink 1.1) Smart guide, lines, animations and more
Features
- New smart guide enabled by default:
- Show real time recognized text above writings,
- Change recognized words on click using candidates,
- Convert, copy or delete text using the action menu,
- Fade out animation to make the smart guide disappear after a certain duration,
- Google Fonts support (see the example)
- Custom resources support, upload your custom resources to modify the recognition behaviour. (see the text or the math example.)
- New
penStyleClasses
property. Used to change the theme using a classes passed using thetheme
property (see the example). - New guides for text using a svg DOM element behind the model layer.
- No more css background if api is set to
V4
. - New
isEmpty
,possibleUndoCount
andundoStackIndex
properties in details onchanged
event to help development of custom undo/redo stacks.
Breaking changes
In order to be consistent with the native API :
importContent()
andexportContent()
respectively renamed toimport_()
andexport_()
.importInk(strokes)
changed topointerEvents(events)
.
v4.0.0
Features
- Change the underlying
InkPaper
editor to a newEditor
class. - New events to be notified of editor changes.
- New
penStyle
property. Used to change current pen style. - New
theme
property. Used to change the editor's theme. - New
configuration
property. Changing the configuration will clear the underlying editor, all currents strokes and results will be lost.
Breaking changes
- Complete rewrite with ES6 syntax
- Internal design improved to allow extensibility and support of upcoming recognition types. See the documentation and examples to discover new behavior.
- Removal of all deprecated attributes and methods
- All configuration has been merged into the
configuration
property. - All events has been renamed.
getAvailableLanguages()
have been moved outside the editor. You can use it to retrieve the list of available languages for your configuration.