Skip to content

Commit 7fae6ff

Browse files
committed
chore(release): 5.0.0
1 parent 8db3420 commit 7fae6ff

File tree

6 files changed

+125
-28
lines changed

6 files changed

+125
-28
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

33
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.
44

5+
## [5.0.0](https://github.com/nodeshift/openshift-rest-client/compare/v4.1.1...v5.0.0) (2021-01-05)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* Removed authUrl added automatic auth url retrieval.
11+
12+
### Features
13+
14+
* **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))
15+
16+
17+
### Bug Fixes
18+
19+
* Removed authUrl added automatic auth url retrieval. ([8db3420](https://github.com/nodeshift/openshift-rest-client/commit/8db342036063b2dd7ba73e4e2f207f704036d4a5))
20+
* 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))
21+
* 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))
22+
* 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))
23+
* 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))
24+
* 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))
25+
526
### [4.1.1](https://github.com/nodeshift/openshift-rest-client/compare/v4.1.0...v4.1.1) (2020-05-30)
627

728

docs/assets/anchor.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* eslint-env amd, node */
77

88
// https://github.com/umdjs/umd/blob/master/templates/returnExports.js
9-
(function(root, factory) {
9+
(function (root, factory) {
1010
'use strict';
1111
if (typeof define === 'function' && define.amd) {
1212
// AMD. Register as an anonymous module.
@@ -21,7 +21,7 @@
2121
root.AnchorJS = factory();
2222
root.anchors = new root.AnchorJS();
2323
}
24-
})(this, function() {
24+
})(this, function () {
2525
'use strict';
2626
function AnchorJS(options) {
2727
this.options = options || {};
@@ -51,7 +51,7 @@
5151
* https://github.com/Modernizr/Modernizr/blob/da22eb27631fc4957f67607fe6042e85c0a84656/feature-detects/touchevents.js#L40
5252
* @returns {Boolean} - true if the current device supports touch.
5353
*/
54-
this.isTouchDevice = function() {
54+
this.isTouchDevice = function () {
5555
return !!(
5656
'ontouchstart' in window ||
5757
(window.DocumentTouch && document instanceof DocumentTouch)
@@ -64,7 +64,7 @@
6464
* to. Also accepts an array or nodeList containing the relavant elements.
6565
* @returns {this} - The AnchorJS object
6666
*/
67-
this.add = function(selector) {
67+
this.add = function (selector) {
6868
var elements,
6969
elsWithIds,
7070
idList,
@@ -193,7 +193,7 @@
193193
* OR a nodeList / array containing the DOM elements.
194194
* @returns {this} - The AnchorJS object
195195
*/
196-
this.remove = function(selector) {
196+
this.remove = function (selector) {
197197
var index,
198198
domAnchor,
199199
elements = _getElements(selector);
@@ -216,7 +216,7 @@
216216
/**
217217
* Removes all anchorjs links. Mostly used for tests.
218218
*/
219-
this.removeAll = function() {
219+
this.removeAll = function () {
220220
this.remove(this.elements);
221221
};
222222

@@ -229,7 +229,7 @@
229229
* @param {String} text - Any text. Usually pulled from the webpage element we are linking to.
230230
* @returns {String} - hyphen-delimited text for use in IDs and URLs.
231231
*/
232-
this.urlify = function(text) {
232+
this.urlify = function (text) {
233233
// Regex for finding the nonsafe URL characters (many need escaping): & +$,:;=?@"#{}|^~[`%!'<>]./()*\
234234
var nonsafeChars = /[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\]/g,
235235
urlText;
@@ -260,7 +260,7 @@
260260
* @param {HTMLElemnt} el - a DOM node
261261
* @returns {Boolean} true/false
262262
*/
263-
this.hasAnchorJSLink = function(el) {
263+
this.hasAnchorJSLink = function (el) {
264264
var hasLeftAnchor =
265265
el.firstChild &&
266266
(' ' + el.firstChild.className + ' ').indexOf(' anchorjs-link ') > -1,

docs/assets/site.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ anchors.add('h3');
77
// Filter UI
88
var tocElements = document.getElementById('toc').getElementsByTagName('li');
99

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

1313
// enter key
@@ -22,14 +22,14 @@ document.getElementById('filter-input').addEventListener('keyup', function(e) {
2222
}
2323
}
2424

25-
var match = function() {
25+
var match = function () {
2626
return true;
2727
};
2828

2929
var value = this.value.toLowerCase();
3030

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

116116
Split(['#split-left', '#split-right'], {
117-
elementStyle: function(dimension, size, gutterSize) {
117+
elementStyle: function (dimension, size, gutterSize) {
118118
return {
119119
'flex-basis': 'calc(' + size + '% - ' + gutterSize + 'px)'
120120
};
121121
},
122-
gutterStyle: function(dimension, gutterSize) {
122+
gutterStyle: function (dimension, gutterSize) {
123123
return {
124124
'flex-basis': gutterSize + 'px'
125125
};
@@ -152,9 +152,9 @@ function loadState(ev) {
152152
}
153153
}
154154

155-
window.addEventListener('load', function() {
155+
window.addEventListener('load', function () {
156156
// Restore after Firefox scrolls to hash.
157-
setTimeout(function() {
157+
setTimeout(function () {
158158
loadState();
159159
// Update with initial scroll position.
160160
updateState();

docs/index.html

Lines changed: 87 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset='utf-8'>
5-
<title>openshift-rest-client 4.1.1 | Documentation</title>
5+
<title>openshift-rest-client 5.0.0 | Documentation</title>
66
<meta name='description' content='Node.js client for developing with OpenShift'>
77
<meta name='viewport' content='width=device-width,initial-scale=1'>
88
<link href='assets/bass.css' rel='stylesheet'>
@@ -15,7 +15,7 @@
1515
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
1616
<div class='py1 px2'>
1717
<h3 class='mb0 no-anchor'>openshift-rest-client</h3>
18-
<div class='mb1'><code>4.1.1</code></div>
18+
<div class='mb1'><code>5.0.0</code></div>
1919
<input
2020
placeholder='Filter'
2121
id='filter-input'
@@ -28,6 +28,16 @@ <h3 class='mb0 no-anchor'>openshift-rest-client</h3>
2828
<ul class='list-reset h5 py1-ul'>
2929

3030

31+
<li><a
32+
href='#getauthurlfromocp'
33+
class="">
34+
getAuthUrlFromOCP
35+
36+
</a>
37+
38+
</li>
39+
40+
3141
<li><a
3242
href='#openshiftclient'
3343
class="">
@@ -47,6 +57,81 @@ <h3 class='mb0 no-anchor'>openshift-rest-client</h3>
4757
<div id='split-right' class='relative overflow-auto height-viewport-100'>
4858

4959

60+
<section class='p2 mb2 clearfix bg-white minishadow'>
61+
62+
63+
<div class='clearfix'>
64+
65+
<h3 class='fl m0' id='getauthurlfromocp'>
66+
getAuthUrlFromOCP
67+
</h3>
68+
69+
70+
</div>
71+
72+
73+
<p>This method allows to retrieve automatically the authorization endpoint from the api
74+
compatible with OCP 3.x and OCP 4.x</p>
75+
76+
<div class='pre p1 fill-light mt0'>getAuthUrlFromOCP</div>
77+
78+
79+
80+
81+
82+
83+
84+
85+
86+
87+
88+
<div class='py1 quiet mt1 prose-big'>Parameters</div>
89+
<div class='prose'>
90+
91+
<div class='space-bottom0'>
92+
<div>
93+
<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>
94+
openshift platform api url
95+
96+
</div>
97+
98+
</div>
99+
100+
<div class='space-bottom0'>
101+
<div>
102+
<span class='code bold'>insecureSkipTlsVerify</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a>
103+
= <code>true</code>)</code>
104+
validate ssl
105+
106+
</div>
107+
108+
</div>
109+
110+
</div>
111+
112+
113+
114+
115+
116+
117+
118+
119+
120+
121+
122+
123+
124+
125+
126+
127+
128+
129+
130+
</section>
131+
132+
133+
134+
50135
<section class='p2 mb2 clearfix bg-white minishadow'>
51136

52137

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

125210

126211

127-
<tr>
128-
<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>
129-
</td>
130-
<td class='break-word'><span>Openshift Basic auth url
131-
</span></td>
132-
</tr>
133-
134-
135-
136212
<tr>
137213
<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>
138214
</td>

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openshift-rest-client",
3-
"version": "4.1.1",
3+
"version": "5.0.0",
44
"description": "Node.js client for developing with OpenShift",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)