Skip to content

Commit

Permalink
chore(release): 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Jun 23, 2022
1 parent 5a8a75e commit 89ed3c7
Show file tree
Hide file tree
Showing 15 changed files with 88 additions and 39 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# [0.4.0](https://github.com/socketio/socket.io-admin-ui/compare/0.3.0...0.4.0) (2022-06-23)


### Bug Fixes

* **ui:** properly set initial nav drawer state ([77ee068](https://github.com/socketio/socket.io-admin-ui/commit/77ee0683185aceababc4439a3a945e273d547944))


### Features

* add page displaying all events ([481ef22](https://github.com/socketio/socket.io-admin-ui/commit/481ef22b3aff37b40b142a29cb78e116d6d1e8e9))
* add production mode ([e0d91ca](https://github.com/socketio/socket.io-admin-ui/commit/e0d91cadb11205c5f2c686c239a50cb2eef9795d))
* display sent and received events ([8542601](https://github.com/socketio/socket.io-admin-ui/commit/8542601b55022f6ca00b677b7d7c7664a326526f))
* **ui:** add support for relative links ([fdec2ce](https://github.com/socketio/socket.io-admin-ui/commit/fdec2ce17bf7cad77a04e8eef42a26104b6a05b8))
* **ui:** separate the namespace from the server URL ([5a8a75e](https://github.com/socketio/socket.io-admin-ui/commit/3d4aed972f16dad3dd847d61f4db5e6f55978c4b))



# [0.3.0](https://github.com/socketio/socket.io-admin-ui/compare/0.2.0...0.3.0) (2022-05-03)


Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [`readonly`](#readonly)
- [`serverId`](#serverid)
- [`store`](#store)
- [`mode`](#mode)
- [How it works](#how-it-works)
- [License](#license)

Expand Down Expand Up @@ -64,7 +65,7 @@ You should see the following modal:

![login modal screenshot](assets/login-modal.png)

Please enter the URL of your server, including the namespace (for example, `http://localhost:3000/admin` or `https://example.com/admin`) and the credentials, if applicable (see the `auth` option [below](#auth)).
Please enter the URL of your server (for example, `http://localhost:3000` or `https://example.com`) and the credentials, if applicable (see the `auth` option [below](#auth)).

### Available options

Expand Down Expand Up @@ -173,6 +174,24 @@ instrument(io, {
});
```

#### `mode`

Default value: `development`

In production mode, the server won't send all details about the socket instances and the rooms, thus reducing the memory footprint of the instrumentation.

```js
instrument(io, {
mode: "production"
});
```

The production mode can also be enabled with the NODE_ENV environment variable:

```
NODE_ENV=production node index.js
```

## How it works

You can check the details of the implementation in the [lib/index.ts](lib/index.ts) file.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@socket.io/admin-ui",
"version": "0.3.0",
"version": "0.4.0",
"description": "Admin UI for Socket.IO",
"files": [
"dist/",
Expand Down
1 change: 0 additions & 1 deletion ui/dist/css/app.4ba437f0.css

This file was deleted.

1 change: 1 addition & 0 deletions ui/dist/css/app.6e3b9661.css

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

2 changes: 1 addition & 1 deletion ui/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.png"><title>Socket.IO Admin UI</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="/css/app.4ba437f0.css" rel="preload" as="style"><link href="/css/chunk-vendors.9f55d012.css" rel="preload" as="style"><link href="/js/app.895ee6c7.js" rel="preload" as="script"><link href="/js/chunk-vendors.ad0a9e7f.js" rel="preload" as="script"><link href="/css/chunk-vendors.9f55d012.css" rel="stylesheet"><link href="/css/app.4ba437f0.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but Socket.IO Admin UI doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.ad0a9e7f.js"></script><script src="/js/app.895ee6c7.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.png"><title>Socket.IO Admin UI</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="css/app.6e3b9661.css" rel="preload" as="style"><link href="css/chunk-vendors.9f55d012.css" rel="preload" as="style"><link href="js/app.37014115.js" rel="preload" as="script"><link href="js/chunk-vendors.587058a6.js" rel="preload" as="script"><link href="css/chunk-vendors.9f55d012.css" rel="stylesheet"><link href="css/app.6e3b9661.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but Socket.IO Admin UI doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.587058a6.js"></script><script src="js/app.37014115.js"></script></body></html>
2 changes: 2 additions & 0 deletions ui/dist/js/app.37014115.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ui/dist/js/app.37014115.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions ui/dist/js/app.895ee6c7.js

This file was deleted.

1 change: 0 additions & 1 deletion ui/dist/js/app.895ee6c7.js.map

This file was deleted.

42 changes: 42 additions & 0 deletions ui/dist/js/chunk-vendors.587058a6.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ui/dist/js/chunk-vendors.587058a6.js.map

Large diffs are not rendered by default.

30 changes: 0 additions & 30 deletions ui/dist/js/chunk-vendors.ad0a9e7f.js

This file was deleted.

1 change: 0 additions & 1 deletion ui/dist/js/chunk-vendors.ad0a9e7f.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui",
"version": "0.3.0",
"version": "0.4.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down

1 comment on commit 89ed3c7

@vercel
Copy link

@vercel vercel bot commented on 89ed3c7 Jun 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.