Skip to content

Releases: codeworksdev/mochi-1.0

v1.4

02 Mar 19:21
Compare
Choose a tag to compare

The first stable release of 2018 is finally here! This distribution fixes 7 bugs, adds full support for service workers, and includes 39 other essential updates. See below for the full changelog.

RELEASE HIGHLIGHTS

  1. Fixes 7 bugs.
  2. Bootstrap v4 installed natively.
  3. Built-in UI notifications (powered by Bootstrap v4).
  4. Full service worker support.
  5. Includes new JavaScript libraries.
  6. Includes new FontAwesome API (900+ SVG-powered icons).
  7. Enhanced LESS/CSS functions.

BUGS (7)

  • #78: The service worker responded to the navigation request with a redirected response
  • #116: FontAwesome icons loading and shifting layout or text
  • #121: FontAwesome API fails to initialize if no icons found in document
  • #125: Service worker not fetched within application scope
  • #127: Service worker won't fetch favicons
  • #128: Far-future expires headers in .htaccess prevent offline caches working properly
  • #135: Old service worker not expiring due to browser cache

DEPRECATIONS (6)

  • #99: LESS function "border-radius"
  • #101: Bootstrap v3 theme files
  • #102: IE conditional CSS files
  • #105: "X-UA-Compatible" meta tag
  • #118: LESS mixin "fa"
  • #119: LESS mixin "filter"

LIBRARY UPDATES (4)

  • #96: Update to Bootstrap 4.0
  • #97: Update to jQuery 3.3.1
  • #115: Update to Font Awesome 5.0.6
  • #137: Update to Apache Server Configs to 2.15.0

NEW LIBRARIES & FEATURES (7)

  • #91: New folder "plugins"
  • #92: New folder "themes"
  • #117: Preload project.appcache and sw.js with offline assets
  • #134: Built-in UI notifications
  • #95: New library: ViewerJS
  • #100: New library: Popper.js
  • #104: New library: Holder.js

API (22)

  • #88: Update LESS mixin "size"
  • #98: Add new color variables to _mixins.less
  • #103: Update viewport settings in index.html
  • #106: Add minimal SEO to index.html
  • #107: Add more Modernizr detects
  • #108: Update public function Mochi.sanitizeTitle()
  • #109: Move dynamic CSS class names from body to head
  • #110: Update native MutationObserver constructor
  • #111: #container and #content tags no longer mandatory
  • #112: Update LESS mixin "font"
  • #113: New LESS variable "@_helvetica"
  • #120: Rename LESS mixin "css-gradient" to "gradient"
  • #122: Update LESS mixin "img"
  • #123: Update LESS mixin "reset"
  • #124: Moch JS hooks must be all lowercase
  • #126: New public variable "__head"
  • #129: New flags for native service worker
  • #130: Update public function Mochi.setOption()
  • #131: New public function Mochi.onDownloading()
  • #132: New public function Mochi.onUpdateReady()
  • #133: Attach events to Application Cache (AppCache) interface
  • #136: Update sw.js

v1.3.3

02 Aug 17:26
Compare
Choose a tag to compare

Core Functions

  • #81: Update media queries for higher device pixel ratios
  • #87: Update HTACCESS with Apache HTTP Server Boilerplate Configs
  • #82: New LESS mixin "zoom"
  • #83: New LESS mixin "visible"
  • #84: New LESS mixin "hidden"

Libraries

  • #79: Update to jQuery 3.2.1
  • #80: Update to Modernizr 3.5.0
  • #85: Update to Basil 0.45
  • #86: Update to sprintf-js 1.1.1

v1.3.2

10 Apr 17:14
Compare
Choose a tag to compare
  • #77: New breakpoints added to standard LESS files

New breakpoints were added to the standard LESS files to provide better consistency with commonly used breakpoints by other developers. The new breakpoints are listed below.

New Breakpoints

These apply to both the "frontend/less" and "mochi/less" folders.

  • 375px (Mobile M)
  • 425px (Mobile L)
  • 1024px (Laptop)
  • 1440px (Laptop L)
  • 2560px (4K)

v1.3.1

24 Mar 16:58
Compare
Choose a tag to compare

NEW FEATURES

  • #68: Add support for service workers
  • #69: Update the manifest.json starter file
  • #71: Update to jQuery 3.2.0
  • #72: Implement options framework
  • #73: Add option to modify the Mochi "click event" name
  • #74: Add "print" stylesheets
  • #75: Default class for #container changed to "container"
  • #76: Add "ie" stylesheets

BUG FIXES

  • #70: The favicon is 4x resolution instead of 1x

v1.3

19 Feb 22:58
Compare
Choose a tag to compare

This is the 10th release! Includes over 30 changes.

Note: This major release is not backwards-compatible with older versions. You’ve been warned.

NEW FEATURES

  • #59: Add "Print" media queries and pre-compiled CSS (LESS)
  • #60: Several API optimizations
  • #63: Changes to this.sanitizeTitle()
  • #64: MyWebApplication global function renamed to MyApplication
  • #66: New global function MochiException()
  • #67: this.extend() enforces a new naming convention

BUG FIXES

  • #58: Avoid viewport values that prevent users from resizing documents
  • #61: this.extend() cannot be chained
  • #62: HTML body tag not given the proper class name in some instances
  • #65: PHP script execution was disabled

v1.2.3

06 Dec 17:59
Compare
Choose a tag to compare
  • #50: API: $m.extend() method updated
  • #51: Deprecated some methods and properties
  • #52: New function: Mochi_onMutation()
  • #53: New LESS function: .img_src(@url, @w: 100%, @h: auto)
  • #54: Update Font Awesome to 4.7.0
  • #56: Update: Mochi.onClick() function
  • #57: Add version information to index.html

v1.2.2

02 Nov 19:07
Compare
Choose a tag to compare
  • #48: Update jQuery to 3.1.1
  • #49: New: Basil.js Library
  • #46: Add: Bootstrap media query breakpoints
  • #45: Fix: Minor typo in the default .appcache file
  • #44: Add: New function cache()

v1.2.1

12 Sep 19:08
Compare
Choose a tag to compare
  • #39: Fix: Remove redundant jQuery version checker
  • #40: Fix: Decimal numbers are not detected in the "data-page" and "data-view" attributes
  • #41: Add support for decimal numbers in "data-page" and "data-view"
  • #42: Use mochi.min.js instead of mochi.js in index.html
  • #43: New function: sanitize_title()
  • #38: Add "lang" attribute to html tag inside index.html

v1.2.0

10 Aug 19:05
Compare
Choose a tag to compare
  • #23: Add new JS library "sprintf-js"
  • #24: Add modernizr with html5shiv option
  • #25: Update LESSHat to 4.1.0
  • #26: Update _tweaks.less
  • #27: Update _mixins.less
  • #28: Add sprintf.min.js to index.html
  • #29: Add simplified manifest.json file
  • #30: New brand icons
  • #31: New theme color definitions
  • #32: Added new icon definitions to index.html
  • #33: Add simplified title to index.html
  • #34: Remove "mobile-web-app-capable" meta definition
  • #35: Update Bootstrap to 3.3.7
  • #36: Update jQuery to 3.1.0
  • #37: Demo packages and plugins placeholder removed

v1.1.1

14 Jul 16:24
Compare
Choose a tag to compare
  • #22: Added Mochi_Page0_load function definition to onload.js
  • #21: New LESS mixin .img()

BUG FIXES

  • #20: The current instance is not being passed with Mochi.extend()
  • #19: "instance" argument for Mochi_init() is undefined