Skip to content

Commit

Permalink
chore(build): bumping to version 1.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Oct 1, 2017
1 parent d1cedf2 commit 3cc5c22
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,11 @@

The release notes tracked in this document are also made available on the [releases page](https://github.com/medialize/URI.js/releases)

### 1.19.0 (October 1st 2017) ###

* adding `.setFragment()` to [query fragment plugin](http://medialize.github.io/URI.js/docs.html#fragment-abuse-query) - [Issue #338](https://github.com/medialize/URI.js/issues/338), [PR #356](https://github.com/medialize/URI.js/issues/356)
* adding setting [`URI.preventInvalidHostname`](http://medialize.github.io/URI.js/docs.html#setting-preventInvalidHostname) to control if an error should be thrown on invalid input - [Issue #352](https://github.com/medialize/URI.js/issues/352), [Issue #354](https://github.com/medialize/URI.js/issues/354), [Issue #355](https://github.com/medialize/URI.js/issues/355) - effectively making the changes of version 1.18.11 opt-in rather than default.

### 1.18.12 (August 9th 2017) ###

* making [`URI.parse()`](http://medialize.github.io/URI.js/docs.html#static-parse) allow `_` in hostname - [Issue #347](https://github.com/medialize/URI.js/issues/347), [PR #348](https://github.com/medialize/URI.js/issues/348)
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "urijs",
"version": "1.18.12",
"version": "1.19.0",
"main": "src/URI.js",
"ignore": [
".*",
Expand Down
2 changes: 1 addition & 1 deletion build.js
Expand Up @@ -29,7 +29,7 @@ function build(files) {
output_format: "text",
output_info: "compiled_code"
}, function(data) {
var code = "/*! URI.js v1.18.12 http://medialize.github.io/URI.js/ */\n/* build contains: " + files.join(', ') + " */\n" + data;
var code = "/*! URI.js v1.19.0 http://medialize.github.io/URI.js/ */\n/* build contains: " + files.join(', ') + " */\n" + data;
$progress.hide();
$out.val(code).parent().show();
$out.prev().find('a').remove();
Expand Down
11 changes: 11 additions & 0 deletions docs.html
Expand Up @@ -1037,6 +1037,17 @@ <h3 id="static-parseHost">URI.parseHost(<em>string</em> url, <em>object</em> par
hostname: "example.org",
port: "8080"
};</pre>
<p id="setting-preventInvalidHostname">As of v1.19.0 you can activate host name validation (disabled by default):</p>
<pre class="prettyprint lang-js">URI.preventInvalidHostname = true;
var parts = {};
var result = URI.parseHost("/foo.html", parts);
// throws TypeError

URI.preventInvalidHostname = false;
var uri = new URI('http://example.org/')
.preventInvalidHostname(true)
.hostname('')
// throws TypeError</pre>

<h3 id="static-parseQuery">URI.parseQuery(<em>string</em> querystring)</h3>
<p>Parses the passed query string into an object. Returns object <code>{propertyName: propertyValue}</code></p>
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "urijs",
"version": "1.18.12",
"version": "1.19.0",
"title": "URI.js - Mutating URLs",
"author": {
"name": "Rodney Rehm",
Expand Down
2 changes: 1 addition & 1 deletion src/IPv6.js
Expand Up @@ -2,7 +2,7 @@
* URI.js - Mutating URLs
* IPv6 Support
*
* Version: 1.18.12
* Version: 1.19.0
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand Down
2 changes: 1 addition & 1 deletion src/SecondLevelDomains.js
Expand Up @@ -2,7 +2,7 @@
* URI.js - Mutating URLs
* Second Level Domain (SLD) Support
*
* Version: 1.18.12
* Version: 1.19.0
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand Down
4 changes: 2 additions & 2 deletions src/URI.js
@@ -1,7 +1,7 @@
/*!
* URI.js - Mutating URLs
*
* Version: 1.18.12
* Version: 1.19.0
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand Down Expand Up @@ -81,7 +81,7 @@
return /^[0-9]+$/.test(value);
}

URI.version = '1.18.12';
URI.version = '1.19.0';

var p = URI.prototype;
var hasOwn = Object.prototype.hasOwnProperty;
Expand Down
2 changes: 1 addition & 1 deletion src/URITemplate.js
Expand Up @@ -2,7 +2,7 @@
* URI.js - Mutating URLs
* URI Template Support - http://tools.ietf.org/html/rfc6570
*
* Version: 1.18.12
* Version: 1.19.0
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand Down
2 changes: 1 addition & 1 deletion src/jquery.URI.js
Expand Up @@ -2,7 +2,7 @@
* URI.js - Mutating URLs
* jQuery Plugin
*
* Version: 1.18.12
* Version: 1.19.0
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/jquery-uri-plugin.html
Expand Down

0 comments on commit 3cc5c22

Please sign in to comment.