Skip to content

Commit

Permalink
chore(release): 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lholmquist committed Jan 5, 2021
1 parent 8db3420 commit 7fae6ff
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 28 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

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.

## [5.0.0](https://github.com/nodeshift/openshift-rest-client/compare/v4.1.1...v5.0.0) (2021-01-05)


### ⚠ BREAKING CHANGES

* Removed authUrl added automatic auth url retrieval.

### Features

* **package:** upgrade kubernetes-client from 8.3.6 to 9.0.0 ([#234](https://github.com/nodeshift/openshift-rest-client/issues/234)) ([60e801b](https://github.com/nodeshift/openshift-rest-client/commit/60e801b068bf934e08f3dcc343ecabe0e71b5c22))


### Bug Fixes

* Removed authUrl added automatic auth url retrieval. ([8db3420](https://github.com/nodeshift/openshift-rest-client/commit/8db342036063b2dd7ba73e4e2f207f704036d4a5))
* upgrade documentation from 13.0.2 to 13.1.0 ([#242](https://github.com/nodeshift/openshift-rest-client/issues/242)) ([b9cc5c1](https://github.com/nodeshift/openshift-rest-client/commit/b9cc5c152e8b8d5b2f77d2b661991747cd884cd5))
* upgrade eslint-plugin-import from 2.22.0 to 2.22.1 ([#239](https://github.com/nodeshift/openshift-rest-client/issues/239)) ([4e5a37e](https://github.com/nodeshift/openshift-rest-client/commit/4e5a37e3f7a1203b66ec8965ccbe6e56710c3570))
* upgrade eslint-plugin-standard from 4.0.1 to 4.0.2 ([#241](https://github.com/nodeshift/openshift-rest-client/issues/241)) ([1f12885](https://github.com/nodeshift/openshift-rest-client/commit/1f12885f9758bec7882175b4e7ab5ba942ccba34))
* upgrade eslint-plugin-standard from 4.0.2 to 4.1.0 ([#244](https://github.com/nodeshift/openshift-rest-client/issues/244)) ([65de536](https://github.com/nodeshift/openshift-rest-client/commit/65de536f1acf4f8fc2321c01d459679db9346e6b))
* upgrade standard-version from 8.0.1 to 8.0.2 ([#236](https://github.com/nodeshift/openshift-rest-client/issues/236)) ([ab29702](https://github.com/nodeshift/openshift-rest-client/commit/ab29702c1e9754b0b321a8e45ca5ac8ab9672ed3))

### [4.1.1](https://github.com/nodeshift/openshift-rest-client/compare/v4.1.0...v4.1.1) (2020-05-30)


Expand Down
16 changes: 8 additions & 8 deletions docs/assets/anchor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* eslint-env amd, node */

// https://github.com/umdjs/umd/blob/master/templates/returnExports.js
(function(root, factory) {
(function (root, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand All @@ -21,7 +21,7 @@
root.AnchorJS = factory();
root.anchors = new root.AnchorJS();
}
})(this, function() {
})(this, function () {
'use strict';
function AnchorJS(options) {
this.options = options || {};
Expand Down Expand Up @@ -51,7 +51,7 @@
* https://github.com/Modernizr/Modernizr/blob/da22eb27631fc4957f67607fe6042e85c0a84656/feature-detects/touchevents.js#L40
* @returns {Boolean} - true if the current device supports touch.
*/
this.isTouchDevice = function() {
this.isTouchDevice = function () {
return !!(
'ontouchstart' in window ||
(window.DocumentTouch && document instanceof DocumentTouch)
Expand All @@ -64,7 +64,7 @@
* to. Also accepts an array or nodeList containing the relavant elements.
* @returns {this} - The AnchorJS object
*/
this.add = function(selector) {
this.add = function (selector) {
var elements,
elsWithIds,
idList,
Expand Down Expand Up @@ -193,7 +193,7 @@
* OR a nodeList / array containing the DOM elements.
* @returns {this} - The AnchorJS object
*/
this.remove = function(selector) {
this.remove = function (selector) {
var index,
domAnchor,
elements = _getElements(selector);
Expand All @@ -216,7 +216,7 @@
/**
* Removes all anchorjs links. Mostly used for tests.
*/
this.removeAll = function() {
this.removeAll = function () {
this.remove(this.elements);
};

Expand All @@ -229,7 +229,7 @@
* @param {String} text - Any text. Usually pulled from the webpage element we are linking to.
* @returns {String} - hyphen-delimited text for use in IDs and URLs.
*/
this.urlify = function(text) {
this.urlify = function (text) {
// Regex for finding the nonsafe URL characters (many need escaping): & +$,:;=?@"#{}|^~[`%!'<>]./()*\
var nonsafeChars = /[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\]/g,
urlText;
Expand Down Expand Up @@ -260,7 +260,7 @@
* @param {HTMLElemnt} el - a DOM node
* @returns {Boolean} true/false
*/
this.hasAnchorJSLink = function(el) {
this.hasAnchorJSLink = function (el) {
var hasLeftAnchor =
el.firstChild &&
(' ' + el.firstChild.className + ' ').indexOf(' anchorjs-link ') > -1,
Expand Down
14 changes: 7 additions & 7 deletions docs/assets/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ anchors.add('h3');
// Filter UI
var tocElements = document.getElementById('toc').getElementsByTagName('li');

document.getElementById('filter-input').addEventListener('keyup', function(e) {
document.getElementById('filter-input').addEventListener('keyup', function (e) {
var i, element, children;

// enter key
Expand All @@ -22,14 +22,14 @@ document.getElementById('filter-input').addEventListener('keyup', function(e) {
}
}

var match = function() {
var match = function () {
return true;
};

var value = this.value.toLowerCase();

if (!value.match(/^\s*$/)) {
match = function(element) {
match = function (element) {
var html = element.firstChild.innerHTML;
return html && html.toLowerCase().indexOf(value) !== -1;
};
Expand Down Expand Up @@ -114,12 +114,12 @@ var cw_without_sb = split_left.clientWidth;
split_left.style.overflow = '';

Split(['#split-left', '#split-right'], {
elementStyle: function(dimension, size, gutterSize) {
elementStyle: function (dimension, size, gutterSize) {
return {
'flex-basis': 'calc(' + size + '% - ' + gutterSize + 'px)'
};
},
gutterStyle: function(dimension, gutterSize) {
gutterStyle: function (dimension, gutterSize) {
return {
'flex-basis': gutterSize + 'px'
};
Expand Down Expand Up @@ -152,9 +152,9 @@ function loadState(ev) {
}
}

window.addEventListener('load', function() {
window.addEventListener('load', function () {
// Restore after Firefox scrolls to hash.
setTimeout(function() {
setTimeout(function () {
loadState();
// Update with initial scroll position.
updateState();
Expand Down
98 changes: 87 additions & 11 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset='utf-8'>
<title>openshift-rest-client 4.1.1 | Documentation</title>
<title>openshift-rest-client 5.0.0 | Documentation</title>
<meta name='description' content='Node.js client for developing with OpenShift'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' rel='stylesheet'>
Expand All @@ -15,7 +15,7 @@
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
<div class='py1 px2'>
<h3 class='mb0 no-anchor'>openshift-rest-client</h3>
<div class='mb1'><code>4.1.1</code></div>
<div class='mb1'><code>5.0.0</code></div>
<input
placeholder='Filter'
id='filter-input'
Expand All @@ -28,6 +28,16 @@ <h3 class='mb0 no-anchor'>openshift-rest-client</h3>
<ul class='list-reset h5 py1-ul'>


<li><a
href='#getauthurlfromocp'
class="">
getAuthUrlFromOCP

</a>

</li>


<li><a
href='#openshiftclient'
class="">
Expand All @@ -47,6 +57,81 @@ <h3 class='mb0 no-anchor'>openshift-rest-client</h3>
<div id='split-right' class='relative overflow-auto height-viewport-100'>


<section class='p2 mb2 clearfix bg-white minishadow'>


<div class='clearfix'>

<h3 class='fl m0' id='getauthurlfromocp'>
getAuthUrlFromOCP
</h3>


</div>


<p>This method allows to retrieve automatically the authorization endpoint from the api
compatible with OCP 3.x and OCP 4.x</p>

<div class='pre p1 fill-light mt0'>getAuthUrlFromOCP</div>











<div class='py1 quiet mt1 prose-big'>Parameters</div>
<div class='prose'>

<div class='space-bottom0'>
<div>
<span class='code bold'>url</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>)</code>
openshift platform api url

</div>

</div>

<div class='space-bottom0'>
<div>
<span class='code bold'>insecureSkipTlsVerify</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a>
= <code>true</code>)</code>
validate ssl

</div>

</div>

</div>



















</section>




<section class='p2 mb2 clearfix bg-white minishadow'>


Expand Down Expand Up @@ -124,15 +209,6 @@ <h3 class='fl m0' id='openshiftclient'>



<tr>
<td class='break-word'><span class='code bold'>settings.config.authUrl</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>?</code>
</td>
<td class='break-word'><span>Openshift Basic auth url
</span></td>
</tr>



<tr>
<td class='break-word'><span class='code bold'>settings.config.auth</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">object</a>?</code>
</td>
Expand Down
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,6 +1,6 @@
{
"name": "openshift-rest-client",
"version": "4.1.1",
"version": "5.0.0",
"description": "Node.js client for developing with OpenShift",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7fae6ff

Please sign in to comment.