Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Releases: blutorange/primefaces-monaco

v0.22.0

30 Jan 19:37
Compare
Choose a tag to compare

See also the changelog of monaco-editor.

  • Update to monaco editor 0.22.0 and update EditorOptions

v0.21.1

29 Nov 00:10
Compare
Choose a tag to compare
  • Update to monaco editor 0.21.1 and update EditorOptions
  • Implement #16, new option scheme for widgets and method createModel for extender
  • Update NPM and maven dependencies

v0.20.0

29 Feb 01:03
Compare
Choose a tag to compare
  • Update to monaco editor 0.20.0
  • Add documentation to the EditorOptons and related classes (taken from the monaco editor API docs).

v0.19.0

29 Feb 01:03
Compare
Choose a tag to compare
  • Add a new widget: monacoEditorFramed. It load the monaco editor in an iframe for improved encapsulation.
  • Update to monaco editor 0.19.3

v0.18.1

20 Nov 01:28
Compare
Choose a tag to compare
  • Fix some issues: #11, #13, #14
  • Update primefaces-monaco.d.ts: Use import types instead of triple-slash directive for monaco-editor

v0.18.0

06 Oct 06:42
Compare
Choose a tag to compare

See also the changelog of monaco-editor.

  • Update to monaco editor 0.18.1
  • Update EditorOptions with the new available options

v0.17.2

31 Aug 15:52
Compare
Choose a tag to compare
  • Feature #9. Add new method to extender: createEditorOverrideOptions. This lets you pass specify custom override services to the
    editor.
  • Fix #10. Load CSS worker when language is set to SCSS or LESS
  • Fix a missing localization (CSS specificity tooltip)
  • Fix microsoft/monaco-editor#1353 (scrolling does not work in Firefox). It will be fixed in
    the next release of monaco-editor. Since it seems to be taking some time, this includes the proposed patch
    microsoft/vscode#72832
  • Demo project: change from cargo to jetty

v0.17.1

26 Jun 23:19
Compare
Choose a tag to compare

See also the changelog of monaco-editor.

0.17.1

  • Update to monaco editor 0.17.1
  • Add transparent getValue / setValue methods to the widget API, see #7
  • Keep scrolling position during AJAX update, see #8
  • The widget is now a PrimeFaces.widget.DeferredWidget, so that it works better with
    p:tabs etc, see #6

v0.17.0

11 May 20:21
Compare
Choose a tag to compare

0.17.0

  • update to PrimeFaces 7.0 (no guarantees it will work with PrimeFaces 6)
  • update to monaco editor 0.17.0
  • no more uses of eval.
  • due to the above: the property extender of the monacoEditor component, if given, must now be a valid JavaScript expression evaluating to an extender object. Loading the extender from an URL is not supported anymore. The recommended way is to define a factory function in an external file and call that.
  • client-side script widget.js now gets minified
  • add method whenReady to client-side widget
  • update npm and maven dependencies

v0.16.1

15 Mar 21:41
33b37d9
Compare
Choose a tag to compare

0.16.1

  • update to monaco editor 0.16.1 (solves an issue with IE)
  • add new languages to the Enum of available code languages (see EditorOptions#setLanguage)
  • add an optional hook to the extender: createWorker. This lets you load your own workers instead of using the default ones.
  • add 3 new options to the monacoEditor tag: directory, basename, extension. This may be useful in case you need to customize the editor on the client side.
  • updated and corrected type definitions
  • When the editor is instantiated, create an ITextModel manually instead of just passing a value and language in the IEditorConstructionOptions. If you are using an MonacoExtender, the properties language and value are still available in the IEditorConstructionOptions passed #beforeCreate, but they will be removed in version 0.17. Use the property model instead.