Skip to content

Commit

Permalink
Merge pull request #4280 from jgonggrijp/prepare-release
Browse files Browse the repository at this point in the history
Prepare release 1.5.0
  • Loading branch information
jgonggrijp authored Jul 28, 2023
2 parents 25f8a54 + dad6ad9 commit b763e52
Show file tree
Hide file tree
Showing 9 changed files with 582 additions and 463 deletions.
2 changes: 1 addition & 1 deletion backbone-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backbone-min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backbone-min.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions backbone.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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.
Expand Down
983 changes: 532 additions & 451 deletions docs/backbone.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/examples/backbone.localStorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ <h1>backbone.localStorage.js</h1>
</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>

Expand Down
44 changes: 41 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>&raquo; <a href="http://github.com/jashkenas/backbone">GitHub Repository</a></li>
Expand Down Expand Up @@ -608,11 +608,11 @@ <h2 id="downloads">

<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>
Expand Down Expand Up @@ -4501,6 +4501,44 @@ <h2 id="examples-tzigla">Tzigla</h2>

<h2 id="changelog">Change Log</h2>

<b class="header" id="1.5.0">1.5.0</b> &mdash; <small><i>Jul. 28, 2023</i></small>
&mdash; <a href="https://github.com/jashkenas/backbone/compare/1.4.1...1.5.0">Diff</a>
&mdash; <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> &mdash; <small><i>Feb. 26, 2022</i></small>
&mdash; <a href="https://github.com/jashkenas/backbone/compare/1.4.0...1.4.1">Diff</a>
&mdash; <a href="https://cdn.statically.io/gh/jashkenas/backbone/1.4.1/index.html">Docs</a>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b763e52

Please sign in to comment.