Skip to content

Releases: voidlabs/mosaico

v0.18.10

04 Jul 11:01
Compare
Choose a tag to compare

New

  • update versafix-template to 1.3.5 (workaround for samsung email app) (b967fed)
  • Refactor selectable/hoverable editable item UI to workaround Chrome issue (ad4a7aa)

Fixes

  • Prevent "p" insertion by shift-enter in singleline editables (regression) (4d8908b)
  • Fix regression preventing "incompatible template" popup to appear on loading (c2cae9d)
  • fix regression about client side image resizing (624439b)

Dev notes

  • Accomodate for new MIT-0 license for nodemailer (a579884)
  • update dev dependencies (1923afc)
  • update dependencies (2ac43d0)
  • security audit fix for decode-uri-component (d7b5f8a)

v0.18.9

10 Nov 13:42
Compare
Choose a tag to compare
  • update versafix to 1.3.4 (fix sideArticle regression with short texts) (97b1f6d)
  • Make sure resizing works with integer pixels (c706e5d)
  • expose undoserializer through viewModel as an extension point (8be1758)
  • Major: fix regression preventing html export! (189ba7c)

Notes

  • we found a regression in this release about automatic image down-resizing before upload for images larger than 1920x1080: in order to re-enable the client side resizing for big images you can pass the fileuploadConfig.disableImageResize property set to "false" as an option to mosaico.init.

v0.18.8

07 Nov 10:10
Compare
Choose a tag to compare
v0.18.8 Pre-release
Pre-release

Warn

  • this release break html export support

New

  • sample retina images support (3189d42)
  • introduce placeholderText() function to define the text for image placeholders (d7aeec5)

Fixes

  • Improve select widget so to avoid following hints when hints data is incomplete (7849abb)
  • Fix template string translation for new select widget ("ut" instead of "t" call) (f1c55e6)
  • reuse .input-select mixin for new selectize widget (b3628e5)

Developer notes

  • dependencies update (94f8033)
  • remove timed-call "performanceAwareCaller" loading time debug (5d228f1)
  • fileupload: explicit width/height risizing + remove obsolete option (492fbd9)
  • refactoring to remove "timed-call" dependency from viewModel (2630190)
  • fix dependabot alert about xmldom, again (d5bb72f)
  • fix dependabot alert about xmldom (c131aec)
  • update dependencies (376f861)

Notes

  • don't use this release as it contains a major bug preventing export

v0.18.7

06 Oct 11:02
Compare
Choose a tag to compare

Improvements

  • Update versafix-1 from 1.1.22 to 1.3.2 (1bd64fa)
  • Template cleanup refactoring with support for known code-breaking extensions (744f47a)
  • Add check for block-level function support in the preflight compatibiliy test (e30fa33)

Developer notes

  • Update dependencies (45b172c)
  • node >= 14 to node >= 15 (node 15 included npm 7 that is the first to support the new lockfile version) (fee0007)
  • no need to support old node versions (move to 14/16/18) (1392bf3)

Notes

  • Please note versafix version bundled with this release is buggy. Update it to latest 1.3.x if you use this release.

v0.18.6

22 Jun 16:21
Compare
Choose a tag to compare
v0.18.6 Pre-release
Pre-release

Fix

  • refactor virtualAttrStyle binding to fix #661 (9b60f09)
  • let text-decoration: underline flow through the new editing divs (edfe1b8) (regression introduced by v0.18.3 )

Improvements

  • Update model importer function to deal with model "updating" (4b9d961)

v0.18.5

08 Jun 07:59
Compare
Choose a tag to compare
v0.18.5 Pre-release
Pre-release

New

  • Add support for deprecated blocks (61fdc50)
  • Add support for block "visibility:" option so that fixed blocks can "reuse" the delete button to switch the block visibility (a302738)
  • url conversion for @ font-face declarations (37fa7d5)
  • Better accessibility for boolean and select widgets ("replaced checkbox" and selectize) (bc2ec39)
  • Improve accessibility for new selectize elements (focusing and movement by keyboard) (f25eed9)

Fix (regressions since 0.18.x)

  • fix new variant code when applied to themed (style) properties (8cc8a97)
  • Fix automatic usage-tracking for src when using the new widget (a1d8a10)
  • Fix conditional bindings for css properties (-ko-prop-if and -ko-prop-ifnot) when used together with other css properties (1ed994d)
  • fix removal of data-ko-properties after processing when applied to data-ko-block elements. (60b7412)
  • Make sure to include the Url utility (c2d9710)
  • fix: new "buttonset" does not update selection when the value is updated outside from the widget (e.g: undo/redo) (e4cebd6)
  • fix error results for new development backend image manipulation functions. (704175a)
  • prevent small flickering introduced by the new debounce mode (4ae5ad9)

Developer notes

  • did some code refactoring
  • very basic tests for the checkDef method (9d7dd19)

v0.18.4

25 May 14:18
Compare
Choose a tag to compare
v0.18.4 Pre-release
Pre-release

Feature:

  • implemented new widgets and major improvements for existing widgets:
    • color widget: support for transparent option (8ef45f7)
    • select widget cleanup (9f19b57) (ee72908)
    • support for better options widgets (a1bd793)
    • Support for url conversion in the blockdef style section (3709d4e), needed to be able to use template relative images in the definition.
    • new basic 'src' widget for background images (02eac98)
    • basic textarea widget (45fc3f7)
    • placeholder "https://..." for url widget (9f97f37)
    • Add support for -ko-bind-stylesheet (36599cd) (used with the textarea widget to give users the ability to add their own css styles)
  • improvements for the new data-ko-height feature:
    • updated data-ko-height (extresizable) to supports the min/max options from the linked integer widget definition. (6f823c6) (2cf3589)
    • updated data-ko-height to provide "linked hovers" for resizing handles dealing with the same variable (6d0bb60)
    • debounce code for image loading (b555634) this is indirectly related to data-ko-height, just because data-ko-height made it clear we needed debouncing.
  • Update versafix-template to 1.1.22 (make use of new widget hints) (b53cbae)

Developer notes:

  • replaced grunt-release with "release-it" (4be4645)
  • we now use pure javascript image manipulation in the development backend instead of ImageMagick (aaf61fa)
  • added a test "aspect" method for development backend (88f63e3)

v0.18.3

12 May 13:07
Compare
Choose a tag to compare
v0.18.3 Pre-release
Pre-release

Feature:

  • updated tinymce to 4.9.11
  • updated tinymce integration so to be able to upgrade to newer tinymce releases (we stuck to 4.5.x because of tinymce issues): core should be now compatibile with 5.x (and maybe 6.x) releases too (#644)

Fix:

  • make scrollIntoView less prone to exceptions

Developer notes:

  • extracted editing widgets to their own files in form of widget plugins
  • added experimental Url.templatePath and Url.imageProcessor methods for the templating language (NOTE: the code was published here, but included in runtime only after 0.18.5)

v0.18.2

04 May 11:43
Compare
Choose a tag to compare
v0.18.2 Pre-release
Pre-release

Fix:

  • Let toastr escape contents to prevent XSS issues.

Developer notes:

  • content._unwrap() does not exists anymore: now you have to use content._plainObject().
  • content._plainObject(object) can be used to replace the content with a previously exported content.

Then more fixes a few regressions/bugs introduced in 0.18.0/0.18.1!

Fix:

  • Fix image dropzones #643
  • Fix undo/redo and editing with adding/removing blocks and undoing the action #641
  • Prevent template flickering on block variant changes (introduced with image preloading)

v0.18.1

28 Apr 17:46
Compare
Choose a tag to compare
v0.18.1 Pre-release
Pre-release

Just fixes a few regressions/bugs introduced in 0.18.0!

Fix:

  • New integer widget (slider) broken on some browser #640
  • IE11 compatibility broken in 0.18.0 #639
  • Fontawesome css included twice: #638
  • Workaround for Cheerio broken versions cheeriojs/cheerio#2500