A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jakerella/jquery-mockjax/releases below:

Releases · jakerella/jquery-mockjax · GitHub

Releases: jakerella/jquery-mockjax

Releases · jakerella/jquery-mockjax

Support jQuery 4.x beta

This release primarily adds support for jQuery 4.0.0-beta.

Note that until jQuery 4.x is released, this release will also be beta!

* Removed deprecated calls to $.isArray() and $.isFunction()
* Updated cross-origin tests to use a safe domain
Update license, dev dependencies, and testing

See PR #361. This release does not change the source code, but because the development dependencies have been updated (and they were very out of date), the minified version has changed significantly.

You should test thoroughly if you use the minified version of Mockjax!

Remove IE 9 & 10 support; add support for regex URLs with namespace 2020-08-22 v2.6.0 Header Bug Fix

This release fixes a minor bug encountered with testing with jQuery 3.4.1 with the capitalization of headers.

Browserstack fixes and reordering of mock handlers

This release fixes some issues with the automated Browserstack testing and adds an option to reorder the mock handlers from first-in to last-in.

Switch to Chrome Headless for Testing and add Variable Status Codes

This update adds a new feature: an array of status codes in the mock response.

It also updates the entire test suite to using Chrome Headless for the automated tests rather than PhantomJS since it has been deprecated.

Testing and Documentation Updates

This is a patch release to include testing for jQuery 3.x and some testing and documentation around tools like Browserify and webpack. Also included is an update to the keywords in the package.json file to (hopefully) get us back into the jQuery plugin registry.

Efficiency gains, logging updates, and bug fixes

This release brings with it numerous bug fixes, both to the source code and the tests. There are also a few new features added to the API:

Bug fix release

This release fixes a number of small bugs that had been waiting for some time (see the CHANGELOG) for more information. The newest 1.x branch of jQuery was also added to our test suite, and tests were reorganized to make them easier to maintain and to test specific features with.

URL namespaces, bug fixes, and test updates

This version includes a big update to the QUnit tests and the testing setup. In addition to updating the QUnit version, we're now using the new API and the tests are a bit more mainatainable and easier to find. Additionally, there were some bug fixes for cross domain requests and proxy data. And we have a new feature: global URL namespaces!

Thanks to @danpaz you can now do:

$.mockjaxSettings.namespace = "/api/v1";
$.mockjax({
  url: "/rest"
});
$.mockjax({
  url: "/foobar"
});

$.ajax({
  url: '/api/v1/rest',
  // ...
});
$.ajax({
  url: '/api/v1/foobar',
  // ...
});

Many thanks to the folks that helped with the work in this release: @danpaz, @stas-vilchik, @udnisap, @gyoshev, @LeopoldoFu, @r4j4h, and @ScottONeal

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4