Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testers Wanted for Version 4.0.0 #254

Closed
oznu opened this issue Apr 12, 2019 · 0 comments
Closed

Testers Wanted for Version 4.0.0 #254

oznu opened this issue Apr 12, 2019 · 0 comments

Comments

@oznu
Copy link
Member

oznu commented Apr 12, 2019

Hello,

Version 4.0.0 will soon be released which is a major refactor of the code base.

How To Install The Test Version

npm install -g --unsafe-perm homebridge-config-ui-x@next

You can rollback to the current version using:

npm install -g --unsafe-perm homebridge-config-ui-x@latest

What To Test

Everything. All the server side code has been rewritten and the front end code has been substantially refactored. Test the installation / removal of plugins, logs, authentication, status page etc.

Change Log

Breaking Changes

  • Auth: The Basic Authentication option has been removed. Users who have Basic Authentication enabled will be swapped to Form Authentication
  • Reverse Proxy: Some users who have setup a reverse proxy and defined the websocket path will need to swap the WebSocket endpoint from /wsocket to /socket.io
    • If you are using the reverse proxy templates from the wiki no changes are required
  • Node.js Version: Dropping support for Node 7 and below, this plugin now requires Node.js v8.15.1 or higher on Linux and v10 or higher on Windows

Notable Changes

  • Plugins: Before updating a Homebridge plugin the release notes from GitHub will be shown where possible (#233)
  • Plugins: A corrupt plugin will no longer prevent all the installed plugins from being displayed (#252)
  • i18n: Turkish language translation added by @btutal
  • Theme: The default theme for new installs is now teal instead of red
  • System: Added the ability for the plugin to run as a separate service rather than a Homebridge plugin, this will allow users who have configured this feature to manage their server even if Homebridge is crashing due to a bad config / other issue
    • Previously this has only been supported, and the default setup, when running in Docker (oznu/homebridge)

Other Changes

  • The code base has been refactored
  • Client side changes include:
    • Swapped from ui-router to @angular/router for page routing
    • Now using socket.io for WebSockets
    • Split code into modules
    • Lazy load modules on demand
  • Server side changes include:
    • Swapped from Express to the Nest.js framework with Fastify
    • Swapped from ws to socket.io for WebSockets - while I do prefer to use the ws library, the syntastic sugar provided by Socket.io simplified the code base
    • Split code into modules
    • Packaged code is now combined with Webpack, this should reduce startup times on slow I/O systems like the Raspberry Pi
@oznu oznu pinned this issue Apr 12, 2019
@oznu oznu closed this as completed Apr 16, 2019
@oznu oznu unpinned this issue Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant