mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Merge pull request #4280 from jgonggrijp/prepare-release
Prepare release 1.5.0
This commit is contained in:
2
backbone-min.js
vendored
2
backbone-min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
// Backbone.js 1.4.1
|
||||
// Backbone.js 1.5.0
|
||||
|
||||
// (c) 2010-2022 Jeremy Ashkenas and DocumentCloud
|
||||
// Backbone may be freely distributed under the MIT license.
|
||||
@@ -44,7 +44,7 @@
|
||||
var slice = Array.prototype.slice;
|
||||
|
||||
// Current version of the library. Keep in sync with `package.json`.
|
||||
Backbone.VERSION = '1.4.1';
|
||||
Backbone.VERSION = '1.5.0';
|
||||
|
||||
// For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns
|
||||
// the `$` variable.
|
||||
|
||||
1003
docs/backbone.html
1003
docs/backbone.html
File diff suppressed because it is too large
Load Diff
@@ -356,7 +356,7 @@ have an id of it’s own.</p>
|
||||
</div>
|
||||
<p>localSync delegate to the model or collection’s
|
||||
<em>localStorage</em> property, which should be an instance of <code>Store</code>.
|
||||
window.Store.sync and Backbone.localSync is deprectated, use Backbone.LocalStorage.sync instead</p>
|
||||
window.Store.sync and Backbone.localSync is deprecated, use Backbone.LocalStorage.sync instead</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
44
index.html
44
index.html
@@ -300,7 +300,7 @@
|
||||
<div id="sidebar" class="interface">
|
||||
|
||||
<a class="toc_title" href="#">
|
||||
Backbone.js <span class="version">(1.4.1)</span>
|
||||
Backbone.js <span class="version">(1.5.0)</span>
|
||||
</a>
|
||||
<ul class="toc_section">
|
||||
<li>» <a href="http://github.com/jashkenas/backbone">GitHub Repository</a></li>
|
||||
@@ -608,11 +608,11 @@
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a class="punch" href="backbone.js">Development Version (1.4.1)</a></td>
|
||||
<td><a class="punch" href="backbone.js">Development Version (1.5.0)</a></td>
|
||||
<td class="text"><i>72kb, Full source, tons of comments</i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="punch" href="backbone-min.js">Production Version (1.4.1)</a></td>
|
||||
<td><a class="punch" href="backbone-min.js">Production Version (1.5.0)</a></td>
|
||||
<td class="text" style="line-height: 16px;">
|
||||
<i>7.9kb, Packed and gzipped</i><br />
|
||||
<small>(<a href="backbone-min.map">Source Map</a>)</small>
|
||||
@@ -4501,6 +4501,44 @@ ActiveRecord::Base.include_root_in_json = false
|
||||
|
||||
<h2 id="changelog">Change Log</h2>
|
||||
|
||||
<b class="header" id="1.5.0">1.5.0</b> — <small><i>Jul. 28, 2023</i></small>
|
||||
— <a href="https://github.com/jashkenas/backbone/compare/1.4.1...1.5.0">Diff</a>
|
||||
— <a href="https://cdn.statically.io/gh/jashkenas/backbone/1.5.0/index.html">Docs</a>
|
||||
<br />
|
||||
<ul style="margin-top: 5px;">
|
||||
<li>
|
||||
Added a <tt>trailingSlash</tt> option to the
|
||||
<tt>Backbone.history.start</tt> method. When this option is
|
||||
<tt>true</tt>, the trailing slash of the <tt>root</tt> is always
|
||||
retained in the route, even if the path segment of the current URL is
|
||||
empty.
|
||||
</li>
|
||||
<li>
|
||||
Fixed a bug that caused collection <tt>add</tt> events to include an
|
||||
irrelevant <tt>options.index</tt> if other models were removed during
|
||||
the same call to <tt>Collection.set</tt>.
|
||||
</li>
|
||||
<li>
|
||||
Fixed a corner case where a collection would not forward
|
||||
the <tt>error</tt> event if <tt>Collection.create</tt> was invoked
|
||||
with <tt>{wait: true}</tt>.
|
||||
</li>
|
||||
<li>
|
||||
Adapted CoffeeScript Model test to CoffeeScript version 2.
|
||||
</li>
|
||||
<li>
|
||||
Added a security policy and a code of conduct.
|
||||
</li>
|
||||
<li>
|
||||
Added a <tt>.editorconfig</tt> to the project root in order to promote
|
||||
consistent whitespace handling across editors.
|
||||
</li>
|
||||
<li>
|
||||
Many clarifications, corrections and refinements to the documentation,
|
||||
as well as some code comments.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<b class="header" id="1.4.1">1.4.1</b> — <small><i>Feb. 26, 2022</i></small>
|
||||
— <a href="https://github.com/jashkenas/backbone/compare/1.4.0...1.4.1">Diff</a>
|
||||
— <a href="https://cdn.statically.io/gh/jashkenas/backbone/1.4.1/index.html">Docs</a>
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "backbone",
|
||||
"version": "1.4.1",
|
||||
"version": "1.5.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "backbone",
|
||||
"version": "1.4.1",
|
||||
"version": "1.5.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"underscore": ">=1.8.3"
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"prepublishOnly": "npm run test && npm run build && npm run alias-sourcemap && npm run doc"
|
||||
},
|
||||
"main": "backbone.js",
|
||||
"version": "1.4.1",
|
||||
"version": "1.5.0",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user