Skip to content

Commit

Permalink
chore(release): 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherwin H committed May 7, 2019
1 parent 1b90df3 commit 8deb9f3
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Change Log

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.


<a name="1.3.0"></a>
## [1.3.0](https://github.com/imgix/imgix-core-js/compare/1.2.1...1.3.0) (2019-05-07)

* deprecate domain sharding ([#39](https://github.com/imgix/imgix-core-js/pull/39))

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imgix-core-js",
"version": "1.2.1",
"version": "1.3.0",
"homepage": "https://github.com/imgix/imgix-core-js",
"authors": [
"Kelly Sutton <michael.k.sutton@gmail.com>",
Expand Down
5 changes: 4 additions & 1 deletion dist/imgix-core-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
var Base64 = _jsBase64.Base64 || _jsBase64;
var crc = _crc;

var VERSION = '1.2.1';
var VERSION = '1.3.0';
var SHARD_STRATEGY_CRC = 'crc';
var SHARD_STRATEGY_CYCLE = 'cycle';
var DOMAIN_REGEX = /^(?:[a-z\d\-_]{1,62}\.){0,125}(?:[a-z\d](?:\-(?=\-*[a-z\d])|[a-z]|\d){0,62}\.)[a-z\d]{1,63}$/i;
Expand Down Expand Up @@ -46,6 +46,9 @@
if (!Array.isArray(this.settings.domains)) {
this.settings.domains = [this.settings.domains];
}
else {
console.warn("Warning: Domain sharding has been deprecated and will be removed in the next major version.");
}

if (!this.settings.host && this.settings.domains.length === 0) {
throw new Error('ImgixClient must be passed valid domain(s)');
Expand Down
2 changes: 1 addition & 1 deletion dist/imgix-core-js.min.js

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

2 changes: 1 addition & 1 deletion 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
@@ -1,7 +1,7 @@
{
"name": "imgix-core-js",
"description": "Common boilerplate for all imgix JavaScript-based functionality.",
"version": "1.2.1",
"version": "1.3.0",
"repository": "https://github.com/imgix/imgix-core-js",
"scripts": {
"assert_version": "node assert_version.js",
Expand Down
2 changes: 1 addition & 1 deletion src/imgix-core-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
var Base64 = _jsBase64.Base64 || _jsBase64;
var crc = _crc;

var VERSION = '1.2.1';
var VERSION = '1.3.0';
var SHARD_STRATEGY_CRC = 'crc';
var SHARD_STRATEGY_CYCLE = 'cycle';
var DOMAIN_REGEX = /^(?:[a-z\d\-_]{1,62}\.){0,125}(?:[a-z\d](?:\-(?=\-*[a-z\d])|[a-z]|\d){0,62}\.)[a-z\d]{1,63}$/i;
Expand Down

0 comments on commit 8deb9f3

Please sign in to comment.