Skip to content

v1.5

Compare
Choose a tag to compare
@codeworksdev codeworksdev released this 07 Jun 16:51
· 39 commits to master since this release

The 2nd major release of 2018 is finally here! This distribution package fixes 7 bugs, includes a completely re-written API, includes new libraries, adds stronger integration with the Service Worker API, and includes 63 other improvements. More details below.

RELEASE HIGHLIGHTS

  1. Fixes 7 bugs.
  2. Bootstrap v4.1.1 installed natively.
  3. Full Service Worker API support for writing high-performance apps.
  4. New library: Animate.less v2.0
  5. New library: jQuery UI
  6. New library: iScroll
  7. Enhanced Less.js CSS preprocessor support.
  8. Includes an API tech demo.
  9. Plugins!

BUGFIXES (7)

  • #187: Bug: MutationObserver context issue
  • #181: Bug: Error when trying to auto-generate favicon
  • #175: Bug: Mochi.onStateChange() not triggering load/unload hooks
  • #173: Bug: Less import _print.less does not import Bootstrap CSS
  • #161: Bug: Compile errors in print.less
  • #156: Bug: Incorrect message shown for legacy cache during sync
  • #155: Bug: MutationObserver not scanning descendants

API (28)

  • #210: API: Update Mochi.extend()
  • #208: API: Update Mochi.setOnClickName()
  • #207: API: Update Mochi.sanitizeTitle()
  • #206: API: Update Mochi.onClick()
  • #205: API: New hook mochi_onchange
  • #204: API: New mochi_load_page/mochi_load_page hooks
  • #203: API: New mochi_load/mochi_unload hooks
  • #202: API: Update list of supported hooks
  • #201: API: New public method Mochi.getDefaultOption()
  • #200: API: New property Mochi.default
  • #199: API: Update Mochi.widgetOnUpdateReady()
  • #198: API: Update Mochi.widgetOnDownloading()
  • #197: API: New public method Mochi.isSimpleObj()
  • #196: API: New flag SW_VERBOSE_SYNCING_OPTIONS
  • #195: API: New flag SW_UPDATE_NOTIFICATIONS_OPTIONS
  • #194: API: Rename Mochi._observer() to Mochi._observe()
  • #189: API: New public method Mochi.log()
  • #188: API: New hook mochi_before()
  • #186: API: Update Mochi._init()
  • #185: API: Rename Mochi.onUpdateReady() to Mochi.widgetOnUpdateReady()
  • #184: API: Rename Mochi.onDownloading() to Mochi.widgetOnDownloading()
  • #183: API: New Mochi load/unload hooks naming convention
  • #177: API: New flag DEBUG_MODE
  • #176: API: Replace MochiException with MochiError
  • #174: API: Update Mochi.getOption()
  • #160: API: Update reserved words list
  • #154: API: Update onload.js starter template
  • #151: API: New flag LAZY_LOAD_PLUGINS

LIBRARIES (9)

  • #164: New library: iScroll
  • #146: New library: jQuery UI
  • #213: Update to ViewerJS 0.5.9
  • #168: Update to Animate.less 2.0
  • #167: Update to Bootstrap 4.1.1
  • #166: Update to Basil.js 0.4.9
  • #165: Update to Font Awesome 5.0.13
  • #153: Update to Apache Server Configs 3.0.0
  • #144: Update to Popper.js 1.14.3
  • #143: Update to Holder.js 2.9.4
  • #141: Update to Underscore 1.9.0

PLUGINS (2)

  • #150: New plugin: Dialog
  • #93: New plugin: Veeva CLM Application

MISC (12)

  • #215: New demo: Page/View States
  • #214: Add "demos" folder to root
  • #212: Add support for 576px responsive CSS media breakpoint
  • #211: Update index.html starter template
  • #193: Update frontend Less imports
  • #190: Use combined and minified CSS files by default
  • #182: Use a combined and minified JS file by default
  • #170: Move Less import _lesshat-prefixed.less to new location
  • #152: Update onload.js to support new flags
  • #149: Move plugins/themes folders to permanent locations
  • #148: Drop IE browser support
  • #147: Update sw.js and project.appcache cache list

DEPRECATED (12)

  • #209: Deprecated: Mochi.__reserved
  • #192: Deprecated: Less import dist/mochi/less/print.less
  • #191: Deprecated: Less import dist/mochi/less/style.less
  • #180: Deprecated: Mochi.onStateChange()
  • #179: Deprecated: Mochi.onViewChange()
  • #178: Deprecated: Mochi.onPageChange()
  • #172: Deprecated: Less import file _retina.less
  • #171: Deprecated: Less import file _tweaks.less
  • #169: Deprecated: Less import files _animate.less and _animate-nc.less
  • #159: Deprecated: Public method Mochi.cache()
  • #158: Deprecated: Public method Mochi.container()
  • #157: Deprecated: Public method Mochi.content()