- Upgrade dependencies
- Add support for React 18
- Fix lodash import
- Upgrade dependencies
- Upgrade dependencies
- Setup a new package release process that will also release on GitHub Packages
Build package using tsc
instead of babel
.
Also use ts-jest to run tests.
Add onParse
property that exposes a callback used to rely on the internal Gherkin parser runs.
Remove window from codebase.
Update readme.
Reduce the maximum width of Gherkin linter annotations.
- Change the package structure from a single file generated using webpack to a
lib
folder generated using babel. - Upgrade dependencies
Fix linter was not triggered properly sometimes when the component was rerendered
Fix linting was not triggered when changing mode or locale
Add linting capabilities
- Update README informations
- Fix semi-column keyword highlighting using the 'gherkin_background_i18n' mode
- Rename 'c4j' theme by 'cucumber'
- Remove altaskit dependencies
- Prevent overloading ace options
- Improve codebase
- Add support for Gherkin Background/Scenario only highlighting
- Add a
mode
props to customize the highlighting mode
- Add a
- GherkinEditor improvements
- Security fix
- Dropped react v15 support.
Fix loading of the gherkin_i18n mode
- Upgrade react-ace dependency
- Migrate code to use the new react-ace version
- Create a new C4J theme
- Allow to hide language toolbar with 'hideToolbar' props
- We can pass a callback 'onSubmit' to the editor which is triggered when pressing Ctrl+Enter in the editor
- Fix language selector when the language prop is changed from the GherkinEditor component
- Disable language selector when readOnly prop is set
Editor can be resized horizontally
Fix indentation in I18n context
Breaking changes:
- OnValueChange => onChange
Features:
- Added I18n for gherkin syntax & keyword autocompletions
Initial release