We are excited to announce the release of Shellhub version v0.13.0
, featuring a range of new features, improvements, and updates. This release brings a significant enhancement with the introduction of the Remote Container Access feature, which enables remote container access, enhancing your device management capabilities.
Warning
Shortly after the release of version v0.13.0
, a bug was discovered, and we promptly addressed it by releasing version v0.13.1
. You can find more details about this bug fix in this GitHub pull request. We appreciate your patience and understanding.
Highlights
ShellHub Connector (Remote Container Access)
Shellhub now empowers you to access remote containers with ease. This new feature allows you to remotely interact with containers, extending your device management possibilities.
For detailed information on how to configure and utilize the Remote Container Access feature, please consult the documentation.
Note
The Container Remote Access is currently available exclusively in the Community Edition. However, we are actively working to make this feature available in the Enterprise and Cloud editions in the near future.
Performance Improvements
In this release, we've focused on optimizing MongoDB queries, resulting in significantly improved performance, especially for instances with thousands of devices and sessions.
What's Changed
- fix(ssh): close exec session when client closes it by @henrybarreto in #3048
- refactor(pkg,agent): remove code duplication when creating new agent by @henrybarreto in #3085
- refactor(api,pkg): improve mongo error detection by @henrybarreto in #3068
- refactor(pkg,agent,ssh): prepare agent to receive gateway mode by @henrybarreto in #3020
- docker: ui: bump node from 20.5.1-alpine3.17 to 20.6.0-alpine3.17 in /ui by @dependabot in #3089
- api: bump github.com/getsentry/sentry-go from 0.23.0 to 0.24.0 in /api by @dependabot in #3090
- ssh: bump golang.org/x/crypto from 0.12.0 to 0.13.0 in /ssh by @dependabot in #3097
- ssh: bump golang.org/x/net from 0.14.0 to 0.15.0 in /ssh by @dependabot in #3098
- api: bump golang.org/x/crypto from 0.12.0 to 0.13.0 in /api by @dependabot in #3091
- ui: bump vuetify from 3.3.12 to 3.3.15 in /ui by @dependabot in #3092
- ui: bump vee-validate from 4.11.3 to 4.11.6 in /ui by @dependabot in #3095
- ui: bump @types/node from 18.17.14 to 18.17.15 in /ui by @dependabot in #3093
- ui: bump assert from 2.0.0 to 2.1.0 in /ui by @dependabot in #3094
- refactor(api): pack up Mongo store to api and workers by @henrybarreto in #3086
- refactor(api,cli,ssh,pkg): standardize access to environment variables by @henrybarreto in #3084
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #3096
- ui: bump eslint-plugin-vue from 9.15.1 to 9.17.0 in /ui by @dependabot in #3040
- refactor(api): add contextual information about the auth route by @henrybarreto in #3100
- api: bump github.com/getsentry/sentry-go from 0.24.0 to 0.24.1 in /api by @dependabot in #3104
- ssh: bump github.com/go-resty/resty/v2 from 2.7.0 to 2.8.0 in /ssh by @dependabot in #3109
- docker: ui: bump node from 20.6.0-alpine3.17 to 20.6.1-alpine3.17 in /ui by @dependabot in #3108
- ui: bump @sentry/tracing from 7.66.0 to 7.69.0 in /ui by @dependabot in #3110
- ui: bump xterm from 5.2.1 to 5.3.0 in /ui by @dependabot in #3112
- ui: bump axios-mock-adapter from 1.21.5 to 1.22.0 in /ui by @dependabot in #3114
- ui: bump terser from 5.19.3 to 5.19.4 in /ui by @dependabot in #3113
- refactor(ui): refactored the new connection tab with vue 3 composition api by @luannmoreira in #3077
- chore(deps): bump docker/build-push-action from 4 to 5 by @dependabot in #3106
- chore(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #3107
- chore(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #3105
- ui: bump axios from 1.4.0 to 1.5.0 in /ui by @dependabot in #3111
- fix(ui): incorrect Google Analytics env variable by @gustavosbarreto in #3117
- docker: ui: bump node from 20.6.1-alpine3.17 to 20.7.0-alpine3.17 in /ui by @dependabot in #3120
- ui: bump sass from 1.66.1 to 1.68.0 in /ui by @dependabot in #3121
- ui: bump @types/node from 18.17.15 to 18.17.19 in /ui by @dependabot in #3122
- ui: bump @sentry/vue from 7.64.0 to 7.70.0 in /ui by @dependabot in #3123
- ui: bump vue-tsc from 1.8.8 to 1.8.13 in /ui by @dependabot in #3124
- ui: bump vuetify from 3.3.15 to 3.3.17 in /ui by @dependabot in #3125
- feat(pkg,agent): allow close agent listening by @henrybarreto in #3102
- fix: avoid mutex lock when agent is closed by @henrybarreto in #3126
- fix(api): avoid set device online after close it by @henrybarreto in #3127
- refactor store's tests by @heiytor in #3118
- fix ssh connection when passing -t and -tt flags by @heiytor in #3119
- fix exit status code by @heiytor in #3129
- install.sh: Fix messages orthography by @Ossanes in #3128
- docker: ui: bump node from 20.7.0-alpine3.17 to 20.8.0-alpine3.17 in /ui by @dependabot in #3140
- ssh: bump github.com/go-resty/resty/v2 from 2.8.0 to 2.9.1 in /ssh by @dependabot in #3138
- ui: bump @types/node-rsa from 1.1.1 to 1.1.2 in /ui by @dependabot in #3136
- ui: bump @sentry/vue from 7.70.0 to 7.72.0 in /ui by @dependabot in #3135
- ui: bump @rollup/plugin-node-resolve from 15.0.2 to 15.2.1 in /ui by @dependabot in #3132
- ui: bump @rushstack/eslint-patch from 1.3.3 to 1.5.1 in /ui by @dependabot in #3134
- ui: bump markdown-it from 13.0.1 to 13.0.2 in /ui by @dependabot in #3133
- agent,pkg: stop ping when stop listening by @henrybarreto in #3141
- docker: api: bump alpine from 3.18.3 to 3.18.4 in /api by @dependabot in #3137
- docker: agent: bump alpine from 3.18.3 to 3.18.4 in /agent by @dependabot in #3139
- docker: ssh: bump alpine from 3.18.3 to 3.18.4 in /ssh by @dependabot in #3130
- docker: cli: bump alpine from 3.18.3 to 3.18.4 in /cli by @dependabot in #3131
- remove call to GetDevice in ssh exec by @heiytor in #3145
- fix(agent,revdial): allow tunnel close when IO error occurs by @henrybarreto in #3144
- wait for goroutines to finish before exiting the client by @heiytor in #3146
- fix(agent,pkg): remove parent container after self update by @henrybarreto in #3147
- chore(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #3157
- api: bump github.com/getsentry/sentry-go from 0.24.1 to 0.25.0 in /api by @dependabot in #3156
- api: bump golang.org/x/crypto from 0.13.0 to 0.14.0 in /api by @dependabot in #3155
- ui: bump @rollup/plugin-node-resolve from 15.2.1 to 15.2.3 in /ui by @dependabot in #3153
- ui: bump @types/node from 18.17.19 to 18.18.4 in /ui by @dependabot in #3152
- ui: bump @types/sshpk from 1.17.1 to 1.17.2 in /ui by @dependabot in #3151
- ui: bump postcss from 8.4.23 to 8.4.31 in /ui by @dependabot in #3148
- ssh: bump golang.org/x/crypto from 0.13.0 to 0.14.0 in /ssh by @dependabot in #3150
- ssh: bump golang.org/x/net from 0.15.0 to 0.16.0 in /ssh by @dependabot in #3149
- ui: bump yup from 1.2.0 to 1.3.2 in /ui by @dependabot in #3154
- normalize user to lowercase by @heiytor in #3159
- fix(ssh): pipe agent's stderr correctly to the client by @henrybarreto in #3160
- chore(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 by @dependabot in #3165
- agent: bump golang.org/x/net from 0.12.0 to 0.17.0 in /agent by @dependabot in #3164
- cli: bump golang.org/x/net from 0.12.0 to 0.17.0 in /cli by @dependabot in #3163
- api: bump golang.org/x/net from 0.12.0 to 0.17.0 in /api by @dependabot in #3162
- ssh: bump golang.org/x/net from 0.16.0 to 0.17.0 in /ssh by @dependabot in #3161
- ssh: bump github.com/go-resty/resty/v2 from 2.9.1 to 2.10.0 in /ssh by @dependabot in #3167
- ui: bump @types/node from 18.18.4 to 18.18.5 in /ui by @dependabot in #3169
- ui: bump @rollup/plugin-inject from 5.0.3 to 5.0.5 in /ui by @dependabot in #3170
- ui: bump vue-router from 4.2.4 to 4.2.5 in /ui by @dependabot in #3171
- ui: bump vee-validate from 4.11.6 to 4.11.8 in /ui by @dependabot in #3172
- ui: bump sass from 1.68.0 to 1.69.3 in /ui by @dependabot in #3173
- api: bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2 in /api by @dependabot in #3174
- ssh: bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2 in /ssh by @dependabot in #3168
- feat(agent,pkg): add connector mode to agent by @henrybarreto in #3115
- feat(gateway): change redirect status code from 301 to 308 by @gustavosbarreto in #3180
- ui: bump @babel/traverse from 7.22.8 to 7.23.2 in /ui by @dependabot in #3178
- feat(connector): add connector as a ShellHub service by @henrybarreto in #3179
- fix(connector): add volume and copy libcrypt to container by @henrybarreto in #3182
- ui: bump vue-tsc from 1.8.13 to 1.8.19 in /ui by @dependabot in #3188
- ui: bump @vue/runtime-dom from 3.3.4 to 3.3.6 in /ui by @dependabot in #3187
- ui: bump vuetify from 3.3.17 to 3.3.22 in /ui by @dependabot in #3186
- ui: bump axios from 1.5.0 to 1.5.1 in /ui by @dependabot in #3185
- ui: bump sass from 1.69.3 to 1.69.4 in /ui by @dependabot in #3184
- fix(ui): fixed router on 404 redirect page by @luannmoreira in #3192
- fix(ui): data-table items per page not changing by @luannmoreira in #3193
- fix(agent): get URL hotname without port by @henrybarreto in #3194
- fix error at session update when accepting a device by @heiytor in #3196
- fix exec in agent versions lower than 0.9.3 by @heiytor in #3195
- log sshid on connectSSH error by @heiytor in #3198
- feat(connman): implement sync.Map for dialers by @gustavosbarreto in #3200
- chore(connector): move connector package from agent to pkg by @henrybarreto in #3199
- feat(connector): set agent hostname as container's name by @henrybarreto in #3202
- changing username type checking at login by @heiytor in #3203
- ui: bump browserify-sign from 4.2.1 to 4.2.2 in /ui by @dependabot in #3208
- chore(deps): bump actions/setup-node from 3 to 4 by @dependabot in #3211
- docker: ui: bump node from 20.8.0-alpine3.17 to 21.1.0-alpine3.17 in /ui by @dependabot in #3212
- docker: ui: bump nginx from 1.25.2-alpine to 1.25.3-alpine in /ui by @dependabot in #3213
- ui: bump @types/sshpk from 1.17.2 to 1.17.3 in /ui by @dependabot in #3214
- ui: bump @vue/runtime-dom from 3.3.6 to 3.3.7 in /ui by @dependabot in #3215
- ui: bump sshpk from 1.17.0 to 1.18.0 in /ui by @dependabot in #3216
- ui: bump vuetify from 3.3.22 to 3.3.23 in /ui by @dependabot in #3217
- ui: bump @sentry/tracing from 7.69.0 to 7.76.0 in /ui by @dependabot in #3218
- fix(connector): use container ID to access container instead of name by @henrybarreto in #3207
- feat: update README by @gustavosbarreto in #3219
- agent: bump github.com/docker/docker from 24.0.5+incompatible to 24.0.7+incompatible in /agent by @dependabot in #3220
- fix(api): caching user token by @danyecls in #3201
- chore(deps): bump github.com/docker/docker from 24.0.6+incompatible to 24.0.7+incompatible in /connector by @dependabot in #3222
- chore(deps): bump github.com/docker/docker from 24.0.5+incompatible to 24.0.7+incompatible by @dependabot in #3221
- fix(ui): device rename persisting the input on devices by @luannmoreira in #3224
- connector: add logs to authentication and version by @henrybarreto in #3225
- chore(actions): update Docker build workflow by @gustavosbarreto in #3226
- fix: optimize active session count query by @gustavosbarreto in #3229
- improving log system of the handler in the ssh server by @heiytor in #3230
- chore(agent): add extra log by @henrybarreto in #3227
- feat(agent): add API version negotiation to Docker client by @gustavosbarreto in #3231
- improve log system of the ssh's session by @heiytor in #3232
- feat(store): optimize session listing query by @gustavosbarreto in #3236
- refactor(api): optimize device listing query by @heiytor in #3237
New Contributors
Full Changelog: v0.12.5...v0.13.0