Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Release version 0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ansman committed Jun 15, 2019
1 parent 648695a commit 40e06a1
Show file tree
Hide file tree
Showing 8 changed files with 199 additions and 131 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "validate",
"description": "Declarative validations for JavaScript",
"main": "validate.js",
"version": "0.12.0",
"version": "0.13.1",
"moduleType": [
"amd",
"globals",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repo" : "ansman/validate.js",
"main" : "validate.js",
"scripts" : ["validate.js"],
"version" : "0.12.0",
"version" : "0.13.1",
"license" : "MIT"
}

267 changes: 173 additions & 94 deletions docs/validate.html

Large diffs are not rendered by default.

41 changes: 15 additions & 26 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@
<li>
<a href="#changelog">Changelog</a>
<ul>
<li><a href="https://github.com/ansman/validate.js/releases/tag/0.13.1">0.13.1</a></li>
<li><a href="#changelog-0-12-0">0.12.0</a></li>
<li><a href="#changelog-0-11-1">0.11.1</a></li>
<li><a href="#changelog-0-11-0">0.11.0</a></li>
Expand Down Expand Up @@ -466,15 +467,15 @@
</p>
<h2 id="downloads">Downloads</h2>
<div class="download">
<a class="btn btn-default" download href="validate.js">Development version (0.12.0)</a>
<a class="btn btn-default" download href="validate.js">Development version (0.13.1)</a>
<div class="info">
<span class="details">36KB, uncompressed and plenty of comments</span>
<span class="details">38KB, uncompressed and plenty of comments</span>
</div>
</div>
<div class="download">
<a class="btn btn-primary" download href="validate.min.js">Production version (0.12.0)</a>
<a class="btn btn-primary" download href="validate.min.js">Production version (0.13.1)</a>
<div class="info">
<span class="details">4.66KB, minified and gzipped</span><br>
<span class="details">5.05KB, minified and gzipped</span><br>
<a download href="validate.min.map">(Source map)</a>
</div>
</div>
Expand All @@ -493,7 +494,7 @@ <h2 id="downloads">Downloads</h2>
<div id="installing">
<h2>Installing</h2>
<b>Browser/CDN</b>
<pre><code class="html">&lt;script src="//cdnjs.cloudflare.com/ajax/libs/validate.js/0.12.0/validate.min.js"&gt;&lt;/script&gt;</code></pre>
<pre><code class="html">&lt;script src="//cdnjs.cloudflare.com/ajax/libs/validate.js/0.13.1/validate.min.js"&gt;&lt;/script&gt;</code></pre>
<b>Require.js/AMD</b>
<pre><code class="javascript">require(["validate.js"], function(validate) {
// ...
Expand Down Expand Up @@ -2424,29 +2425,17 @@ <h2>Utilities</h2>
</div>
<div id="changelog">
<h2>Changelog</h2>
<div id="changelog-wip">
<div id="changelog-0-13-0">
<h3>
<b class="version">WIP</b>
<b class="version">0.13.1</b>
-
<span class="date">Jun 15, 2018</span>
-
<a href="http://htmlpreview.github.com/?https://raw.github.com/ansman/validate.js/0.13.1/index.html">Docs</a>
-
<a href="https://github.com/ansman/validate.js/compare/0.12.0...0.13.1">Diff</a>
</h3>
<ul>
<li>
Fix some issues with the email validation. Thanks
<a href="https://github.com/ansman/validate.js/issues/240" target="_blank">Yusuf Aji Wibowo</a>
for reporting it.
</li>
<li>
If <code>within</code> in the exclusion validator is an object
the values are now used when formatting <code>${value}</code>
in the message. Thanks
<a href="https://github.com/ansman/validate.js/issues/215" target="_blank">Rhys Lloyd</a>
for reporting it.
</li>
<li>
There is now a type validator that will check the value's type. Thanks
<a href="https://github.com/ansman/validate.js/issues/80" target="_blank">Dmitry Kirilyuk</a>
for suggesting this.
</li>
</ul>
See https://github.com/ansman/validate.js/releases/tag/0.13.1 for the changelog.
</div>
<div id="changelog-0-12-0">
<h3>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "validate.js",
"version": "0.12.0",
"version": "0.13.1",
"author": "Nicklas Ansman <nicklas@ansman.se>",
"description": "Declarative validations for JavaScript",
"main": "validate.js",
Expand Down
10 changes: 5 additions & 5 deletions validate.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* validate.js 0.12.0
* validate.js 0.13.1
*
* (c) 2013-2017 Nicklas Ansman, 2013 Wrapp
* (c) 2013-2019 Nicklas Ansman, 2013 Wrapp
* Validate.js may be freely distributed under the MIT license.
* For all details and documentation:
* http://validatejs.org/
Expand Down Expand Up @@ -52,9 +52,9 @@
// The toString function will allow it to be coerced into a string
version: {
major: 0,
minor: 12,
patch: 0,
metadata: "development",
minor: 13,
patch: 1,
metadata: null,
toString: function() {
var version = v.format("%{major}.%{minor}.%{patch}", v.version);
if (!v.isEmpty(v.version.metadata)) {
Expand Down
4 changes: 2 additions & 2 deletions validate.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion validate.min.map

Large diffs are not rendered by default.

0 comments on commit 40e06a1

Please sign in to comment.