Skip to content

Zepto.js 1.1.6

@mislav mislav released this Dec 12, 2014 · 86 commits to master since this release

  • Fix crossDomain detection in $.ajax with regard to IE's treatment of port numbers


Zepto.js 1.1.5

@mislav mislav released this Dec 11, 2014 · 86 commits to master since this release

Many serialization improvements:

  • Don't serialize form fields without a name attribute
  • Don't try to serialize <input type=file>
  • Fix serializing <select multiple> values
  • Fix serialize()/serializeArray() on empty Zepto collections
  • Serialize null values as empty strings in $.param()
  • Support functions as values in $.param()
  • Only deserialize number from data-* attributes if that doesn't change its string representation

Other fixes:

  • Improve detection of whether an $.ajax request is crossDomain or not
  • Fix find(falsey) to return an empty Zepto collection instead of an empty Array
  • Fix css() on empty Zepto collection causing exceptions when "ie" module is not included
  • Ensure that $.animate completion callback doesn't fire prematurely if the animation is configured with a delay
  • Actually focus() & blur() elements when these events are manually triggered
  • Fix installing auto-cancelling event handlers with shorthands such as submit(false), click(false)
  • Prevent removeClass/addClass from affecting window objects
  • Enable removeAttr to remove space separated list
  • Ensure recognition of Safari on Windows


Zepto.js 1.1.4

@mislav mislav released this Jul 7, 2014 · 95 commits to master since this release

  • Detect IE 11, Windows Phone, Safari on OS X

  • .find() with falsy values now returns an empty array

  • Fix how .attr('value') and .val() interact on <input> (#939)

  • Have .text() accept a function argument

  • Make .text(undefined) assign an empty string

  • Do not eval <script> tags if parent element is not in the DOM

  • Second argument to .attr/prop/data() is always a setter, even if undefined

  • $.proxy() now accepts additional arguments

  • $.ajax() uses HTTP cache-busting parameter for dataType: jsonp/script by default

  • Fix $.contains and related features on Firefox 4 โ€“ 8.0


Zepto 1.1.3

@mislav mislav released this Feb 12, 2014 · 126 commits to master since this release

  • Fix automatic parsing of JSON responses in $.get/post
  • Don't falsely detect requests to URLs such as /foo=?a=b to be JSONP requests; the = is part of the request path in this case
  • Use native Array.isArray if available
  • Update to Uglify v2, saving ~1.6 kB in minified version

โœจ ๐ŸŒŸ Download Zepto.js ๐ŸŒŸ โœจ


Zepto 1.1.2

@mislav mislav released this Dec 12, 2013 · 145 commits to master since this release

  • Enabled xhr.setRequestHeader() in beforeSend Ajax handler


Zepto 1.1

@mislav mislav released this Dec 5, 2013 · 152 commits to master since this release

Notable changes

  • IE10+ support
  • Huge speed optimizations for simple CSS selectors (classname, ID) and DOM element creation
  • Provide $.Callbacks and $.Deferred in optional modules
  • Removed fx and detect modules from default build

Download Zepto.js:


  • New supported $.ajax() options:
    • xhrFields
    • mimeType
    • jsonpCallback
    • username & password
  • Promise interface supported when loading the optional "callbacks" and "deferred" modules:
    • xhr.done(function(data, status, xhr){ ... })
    •, errorType, error){ ... })
    • xhr.always(function(){ ... })
  • Enable mutating Ajax settings in the beforeSend callback
  • Fix JSONP callbacks for errored responses on Android
  • Ensure consistent Accept request HTTP header across browsers
  • Fix $.param() for jQuery compatibility when handling complex nested objects
  • Support IIS JavaScript MIME type
  • Pass "abort" and "timeout" status to global ajaxError event handlers


  • Provide isDefaultPrevented(), stopImmediatePropagation(), and related methods for all events
  • Support the data argument in .bind(), .on(), and .one()
  • Support CSS selector argument in .one() for event delegation
  • Support .on('ready') as an alias for .ready()
  • Enable event handlers on plain old JS objects
  • Many fixes related to event delegation


  • Cleanup .data() values on DOM element removal with .remove/empty()
  • .data() now assumes that numbers that begin with zeroes are strings
  • .removeData() (no argument) now removes all data on the element
  • Enable reading data-* attributes that have underscores in the name


  • Support simple DOM property names in .prop(name) such as for, class, readonlyโ€ฆ
  • Implement the .scrollLeft([value]) method
  • Support setting .scrollTop(value)
  • Fix $(document).width/height()
  • Support fetching multiple CSS values via array in .css(['prop1', 'prop2', ...])
  • Support setting CSS transition delay via delay option for .animate()
  • Ensure that .animate() callback always fires


Something went wrong with that request. Please try again.