Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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.

### [8.15.1](https://github.com/GetStream/stream-js/compare/v8.15.0...v8.15.1) (2026-11-10)


### Bug Fixes

* rebuild stale dist bundles and deprecate UMD/CDN usage ([#672](https://github.com/GetStream/stream-js/issues/672)) ([44d0c6f](https://github.com/GetStream/stream-js/commit/44d0c6fadb2191ffe276de2064c09fce509f77a6)), closes [#504](https://github.com/GetStream/stream-js/issues/504)

## [8.15.0](https://github.com/GetStream/stream-js/compare/v8.14.0...v8.15.0) (2026-09-01)


Expand Down
20 changes: 10 additions & 10 deletions dist/js/getstream.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* getstream v8.15.0
* getstream v8.15.1
* DEPRECATED: loading this UMD bundle via <script> (CDN or direct download) is deprecated.
* Install from npm (`npm install getstream`) and use a bundler instead.
* See https://github.com/GetStream/stream-js#readme
Expand Down Expand Up @@ -403,7 +403,7 @@ var constants_namespaceFn = () => {

// MODULE: ./package.json
var package_namespaceFn = /*#__PURE__*/__webpack_require__.cw(function(module, exports) {
const __WEBPACK_NAMESPACE_OBJECT__ = {"rE":"8.15.0"};
const __WEBPACK_NAMESPACE_OBJECT__ = {"rE":"8.15.1"};
module.exports = __WEBPACK_NAMESPACE_OBJECT__;
});

Expand Down Expand Up @@ -6871,10 +6871,10 @@ class StreamClient {
this.baseUrl = this.getBaseUrl();
if (typeof process !== 'undefined') {
var _process$env, _process$env2;
if ((_process$env = ({"PACKAGE_VERSION":"8.15.0","NODE_ENV":"production"})) !== null && _process$env !== void 0 && _process$env.LOCAL_FAYE) {
if ((_process$env = ({"PACKAGE_VERSION":"8.15.1","NODE_ENV":"production"})) !== null && _process$env !== void 0 && _process$env.LOCAL_FAYE) {
this.fayeUrl = 'http://localhost:9999/faye/';
}
if ((_process$env2 = ({"PACKAGE_VERSION":"8.15.0","NODE_ENV":"production"})) !== null && _process$env2 !== void 0 && _process$env2.STREAM_ANALYTICS_BASE_URL) {
if ((_process$env2 = ({"PACKAGE_VERSION":"8.15.1","NODE_ENV":"production"})) !== null && _process$env2 !== void 0 && _process$env2.STREAM_ANALYTICS_BASE_URL) {
this.baseAnalyticsUrl = undefined;
}
}
Expand Down Expand Up @@ -6969,8 +6969,8 @@ class StreamClient {
if (!serviceName) serviceName = 'api';
if (this.options.urlOverride && this.options.urlOverride[serviceName]) return this.options.urlOverride[serviceName];
const urlEnvironmentKey = serviceName === 'api' ? 'STREAM_BASE_URL' : `STREAM_${serviceName.toUpperCase()}_URL`;
if (typeof process !== 'undefined' && (_process$env3 = ({"PACKAGE_VERSION":"8.15.0","NODE_ENV":"production"})) !== null && _process$env3 !== void 0 && _process$env3[urlEnvironmentKey]) return ({"PACKAGE_VERSION":"8.15.0","NODE_ENV":"production"})[urlEnvironmentKey];
if (typeof process !== 'undefined' && (_process$env4 = ({"PACKAGE_VERSION":"8.15.0","NODE_ENV":"production"})) !== null && _process$env4 !== void 0 && _process$env4.LOCAL || this.options.local) return `http://localhost:8000/${serviceName}/`;
if (typeof process !== 'undefined' && (_process$env3 = ({"PACKAGE_VERSION":"8.15.1","NODE_ENV":"production"})) !== null && _process$env3 !== void 0 && _process$env3[urlEnvironmentKey]) return ({"PACKAGE_VERSION":"8.15.1","NODE_ENV":"production"})[urlEnvironmentKey];
if (typeof process !== 'undefined' && (_process$env4 = ({"PACKAGE_VERSION":"8.15.1","NODE_ENV":"production"})) !== null && _process$env4 !== void 0 && _process$env4.LOCAL || this.options.local) return `http://localhost:8000/${serviceName}/`;
if (this.location) {
const protocol = this.options.protocol || 'https';
return `${protocol}://${this.location}-${serviceName}.stream-io-api.com/${serviceName}/`;
Expand Down Expand Up @@ -7031,11 +7031,11 @@ class StreamClient {
* @return {string} current user agent
*/
userAgent() {
if (typeof process === 'undefined' || "8.15.0" === undefined) {
if (typeof process === 'undefined' || "8.15.1" === undefined) {
// eslint-disable-next-line
return `stream-javascript-client-${this.node ? 'node' : 'browser'}-${(package_namespaceFn().rE)}`;
}
return `stream-javascript-client-${this.node ? 'node' : 'browser'}-${"8.15.0"}`;
return `stream-javascript-client-${this.node ? 'node' : 'browser'}-${"8.15.1"}`;
}

/**
Expand Down Expand Up @@ -7902,7 +7902,7 @@ class Collections {
*/
function connect(apiKey, apiSecret, appId, options) {
var _process$env;
if (typeof process !== 'undefined' && (_process$env = ({"PACKAGE_VERSION":"8.15.0","NODE_ENV":"production"})) !== null && _process$env !== void 0 && _process$env.STREAM_URL && !apiKey) {
if (typeof process !== 'undefined' && (_process$env = ({"PACKAGE_VERSION":"8.15.1","NODE_ENV":"production"})) !== null && _process$env !== void 0 && _process$env.STREAM_URL && !apiKey) {
const parts = /https:\/\/(\w+):(\w+)@([\w-]*).*\?app_id=(\d+)/.exec(undefined) || [];
apiKey = parts[1];
apiSecret = parts[2];
Expand Down Expand Up @@ -10884,7 +10884,7 @@ var Transport = assign(Class({ className: 'Transport',

var name = protocol.replace(/:$/, '').toLowerCase() + '_proxy',
upcase = name.toUpperCase(),
env = ({"PACKAGE_VERSION":"8.15.0","NODE_ENV":"production"}),
env = ({"PACKAGE_VERSION":"8.15.1","NODE_ENV":"production"}),
keys, proxy;

if (name === 'http_proxy' && env.REQUEST_METHOD) {
Expand Down
4 changes: 2 additions & 2 deletions dist/js_min/getstream.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"homepage": "https://getstream.io/docs/?language=js",
"email": "support@getstream.io",
"license": "BSD-3-Clause",
"version": "8.15.0",
"version": "8.15.1",
"scripts": {
"changelog": "standard-version --release-as $VERSION --skip.tag --skip.commit --tag-prefix=v",
"transpile": "babel src --out-dir lib --extensions '.ts'",
Expand Down
Loading