Releases: voidlabs/mosaico
Releases · voidlabs/mosaico
v0.18.0
New:
- Declare accept format (images) for input files #586
- Preliminary support for data-ko-height (vertical resizer)
- Slider+Spinner widget for integer values
- New arabian language file + update many language files
- Improved conditional comments handing/replacement
- Image preloading: client side placeholders + replace images only when they are fully loaded
Developer notes:
- Many dependencies/build system updates
- Fix main source map generation
- Moved tinymce to devDependency
- Rewrote development backend to remove jquery-file-upload-middleware
- Added support for knockout 3.5.0 and 3.5.1
- Refactored undo/redo handing for "move" actions
- Bumped build requirements to Node 8 and Npm 8.3: build works with older npm but they don't correctly handle package overrides.
v0.17.5
- Update master template versafix to 1.1.19 ( https://github.com/voidlabs/versafix-template/releases/tag/v1.1.19 )
- Added Telegram and Whatsapp social icons
- Windows 10 Mail workaround to prevent some weird "colouring", see
- Minor fix to remove ALT attribute when it is left empty
- New Turkish language translation
- Minor development environment improvements.
v0.17.4
v0.17.3
Fix
- Prevent downloading resources while parsing the master template (fixed only when using jQuery 3+)
- Prevent double tooltips on image upload button (safari/edge)
- Refactored hover/selection visual outlines/borders for element/blocks so to avoid WebKit (safari/midori/otter) bugs
v0.17.2
Post-release notes
We have feedback of flickering issues while editing in Safari (see #430), so we don't recommend using this in production.
New
- Added image tool to browser the gallery
- Improvements on the TinyMCE binding:
- Option
ko.bindingHandlers.wysiwyg.getContentOptions = {};
to use standard getContent instead of "raw" getContent (it could work better) with regard to empty contents (see #428 and #426). - Option
ko.bindingHandlers.wysiwyg.useTarget = true;
to stop creating id attributes for every editable element and run tinymce against the dom element instead of the selector. - Option
ko.bindingHandlers.wysiwyg.initializingClass = 'yourclass';
defaulting to "wysiwyg-loading" that will add the class to the element during the tinymce initialization. - Option
ko.bindingHandlers.wysiwyg.removeSelectionOnBlur = false;
defaulting to "true" that will force browser selection to be emptied when you unfocus an editor (set this to false to revert to the old behaviour). - Option
ko.bindingHandlers.wysiwyg.emptyClass = 'emptyclass';
defaulting to "wysiwyg-empty", that will add the class on contents with no "text" (remove html tags and trims to check this), so you can add CSS to add behaviour. By default we don't include styles related to this class. - Use inline-block for inline editables, force a min-width, add hacks to prevent element from collapsing + new debug console error when wysiwyg is started on inline elements (inline-block or block support is better)
- Also added some CSS to prevent the editable to be clickable during initialization and show a fade animation in that timeframe.
- Option
Fix
- Revert dependency declaration for load-image and canvas to keep npm3 compatibility
v0.17.1
Post-release notes
- The build requires npm v5. Previous npm releases (we have reports from v3) produce an invalid mosaico-libs.min.js because it is missing a couple of dependencies.
New:
- Added pt_BR language
- Passive events for more "responsive" events on touch devices
Developer Notes:
- added license_check and release goals
- dependencies css/js bundle
- DOWNGRADE tinymce to 4.5.8 because of issues with 4.6.0+
Fix:
- Support quoted strings in template language declarations
- deal with both JSON and JS for the data parameter during startup
- trim options key/labels for select widget/variants
- Missing localization string for gallery paginator
- Attempt to catch some TinyMCE exceptions
v0.17.0
Post-release notes
- we have feedback of TinyMCE 4.6.0+ issues with this release, so we suggest downgrading to version 4.5.8 (mosaico v0.17.1 downgrade the declared dependency).
New
- added Russian and Serbian language packs
- added decodeURI, encodeURI, decodeURIComponent and encodeURIComponent to functions available to template authors.
- updated versafix-1 template to 1.1.16 with new blocks and new options: see release notes
Updates
- compatibility with jquery up to latest 3.3 (using jquery migrate)
- compatibility with knockout 3.4.2
compatibility with latest TinyMCE 4.7.x
Fixes
- fix for -ko-attr-name-with-dashes attributes
- fix colorpicker labels color
- fix scrolling behaviour for floating Tinymce toolbar and improve compatibility with newer versions of Tinymce
Developers notes
- major build refactoring to remove bower and improve build reproducibility over time (previous releases are not anymore buildable because of bower and no package.lock mechanisms in older npm).
- fix watch/autoreload feature
- fix nodejs demo backend way to generate images (to workaround imagemagick security policy that created issues on some platform)
- use browserify incremental builds for better build/rebuild times
- removed makethumb task (and dependency on phantomjs): thumbnail generation is not needed for mosaico itself, you can see/get the old code here
- dockerfile to build on alpine + dockerfile to build on CentOS (both configured on docker.io as CI)
- updated TravisCI configuration according to updated build
- overall dependency updates: jsep 0.3.1, knockout-reactor 1.4.0, knockout-sortable 1.0.0, evol-colorpicker 3.3.1, juice 4.2.2, fileupload packages.
- removed knockout-wrap in favor of custom code
- included own own knockout-undomanager code in the tree instead of relying on the external project.
- removed all "github" dependencies in favor of direct npmjs bundle references
v0.16
Fixed issues
- css inliner was overriding custom inline-styles added by editing long-texts manually
Templates
- versafix-1: "smart" unsubscribe-link color that will ensure readability against the background color.
New
- Created an example Docker file to show how mosaico runs in a centos distribution
Massive dependencies update
- added compatibility with KO 3.4.0 and KO 3.4.1
- updated knockout to 3.4.1
- updated knockout-sortable from 0.11 to 0.15
- updated jquery-file-upload from 9.8.0 to 9.12.5
- updated jquery from ~1.11.2 to ~1.12.4
- updated jquery-ui from ~1.11.3 to ~1.11.4
- updated knockoutjs-reactor to official ~1.3.9
- updated knockout-jqueryui to official ~2.2.3
- updated tinymce from ~4.3.2 to ~4.4.3
- updated juice to official ~3.0.1
- updated tinycolor from ~1.2.1 to ~1.4.1
- NOTE: jQuery-UI >= 1.12 is not compatible with Mosaico because of backward incompatible changes introduced by jQuery-UI on button and "checkboxes"
- requires node >= 6 to build
- massive updates of build dependencies
v0.15
v0.14
This is a minor maintenance release.
Improvements:
- Dutch and Swedish translations!
- Update bower-npm-install to 0.5.10 to support npm 3 enhancement
- Complaint/Warn about missing dependencies enhancement
Fixed issues:
- Fix an issue with KO 3.3.0: 0.13 problems with knockout 3.3.0 bug
- iPhone email rendering issues when avast extension is installed in the browser using mosaico enhancement
- Fixed an issu with Tinymce skin and newer Tinymce: Modal button text is invisible bug
- Fixed "simpleTranslationPlugin": "Undo (#COUNT#)" and "Redo" not translatable? bug
- Fixed issues with wrapping spaces in input type="url": Trim urls in the model bug
- Metadata is lost when passing both the templateFile and metadata bug
- Sometimes clicking a button (e.g: undo/redo) result in the underlying link being followed (if you use base href the page changes, otherwise you see the hash changes).