From 45f348de56c46ea56f3d579ad3de5ca0eb6393bc Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Sun, 16 Feb 2020 18:11:32 +0000 Subject: [PATCH] :tada: Release of add-on Visual Studio Code 2.0.0 --- README.md | 6 +++--- vscode/CHANGELOG.md | 44 ++++++++++++++++++++++++++++++++++++++++---- vscode/README.md | 10 +++++----- vscode/config.json | 29 +++++++++-------------------- 4 files changed, 57 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index f7e1d972..359c8bfb 100644 --- a/README.md +++ b/README.md @@ -1115,10 +1115,10 @@ SOFTWARE. [unifi-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [unifi-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [unifi-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-vscode]: https://github.com/hassio-addons/addon-vscode/tree/v1.2.3 -[addon-doc-vscode]: https://github.com/hassio-addons/addon-vscode/blob/v1.2.3/README.md +[addon-vscode]: https://github.com/hassio-addons/addon-vscode/tree/v2.0.0 +[addon-doc-vscode]: https://github.com/hassio-addons/addon-vscode/blob/v2.0.0/README.md [vscode-issue]: https://github.com/hassio-addons/addon-vscode/issues -[vscode-version-shield]: https://img.shields.io/badge/version-v1.2.3-blue.svg +[vscode-version-shield]: https://img.shields.io/badge/version-v2.0.0-blue.svg [vscode-pulls-shield]: https://img.shields.io/docker/pulls/hassioaddons/vscode-amd64.svg [vscode-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [vscode-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg diff --git a/vscode/CHANGELOG.md b/vscode/CHANGELOG.md index dd9e6945..99470c2d 100644 --- a/vscode/CHANGELOG.md +++ b/vscode/CHANGELOG.md @@ -1,13 +1,49 @@ [Full Changelog][changelog] -This is a general maintenance release. +Major release time! ๐ŸŽ‰ + +This is an exciting release, as this release adds support for `aarch64` based systems. +E.g., running the 64 bits Home Assistant Operating System on a Raspberry Pi 4 or Hardkernel ODROID-N2! ๐Ÿ˜ฒ + +โš ๏ธ Please be aware, this add-on can be pretty heavy. On low memory devices (e.g., Raspberry Pi 4 with 1Gb of memory), I would still not recommend using this add-on. + +Another visible thing is the rebranding of Home Assistant, which has been reflected on the add-on. The `hassio` command-line tool has been replaced by the newer and updated `ha` version. (Don't worry, I've added a backward-compatible layer with a warning if you still use the old command). + +All extensions provided by the add-on, are now marked as "builtin". This means they no longer show up in the extensions list. Other than that, it doesn't change a thing. It makes future updates to the add-on easier. + +Also added in this release: Hooking up with the official Mosquitto and MariaDB add-ons (if installed). + +If you use the MQTT tools (`mosquitto_pub` or `mosquitto_sub`) from the terminal inside VSCode, they will automatically connect, authenticate and work with the Mosquitto core add-on. Allowing for easy debugging ๐Ÿ‘ + +For the `mysql` command-line tool, the same has been done. If you have installed the MariaDB add-on, running `mysql` from the command-line, drops you straight in! ### ๐Ÿ”จ Changes -- ๐Ÿ”จDisable update notification (#75) -- :arrow_up: Upgrades code-server to 2.1698 +- :arrow_up: Upgrades add-on base image to v5.0.0 +- :books: Update add-on documentation to use new YAML configuration format +- :hammer: Re-branding +- :hammer: Update add-on config with new password & list features +- :hammer: Updates for upstream Supervisor changes +- :books: Update add-on documentation to use new YAML configuration format +- :fire: Remove direct access support +- :arrow_up: Updates the Home Assistant CLI to v4.0.1 +- :pencil2: Fixes some typos +- :fire: Remove unused dependencies +- :ambulance: Fix broken semver link +- :hammer: Install extensions from Marketplace, removes a stage layer +- :sparkles: Adds aarch64 support +- :rocket: Add aarch64 CI/build +- :hammer: Mark delivered extensions as builtin +- :hammer: Improve download if extensions during build +- :shirt: Fixes linter warnings +- :sparkles: Add hassio fallback command for backward compatibility +- :sparkles: Add hook up with the MQTT service +- :sparkles: Add hook up with the MySQL service +- :shirt: Remove log spam about extensions during add-on start +- :ambulance: Fix old extension cleanup +- :pencil2: Corrects forum URL links -[changelog]: https://github.com/hassio-addons/addon-vscode/compare/v1.2.2...v1.2.3 +[changelog]: https://github.com/hassio-addons/addon-vscode/compare/v1.2.3...v2.0.0 Questions? Join our Discord server! https://discord.me/hassioaddons Enjoying my add-ons? Consider supporting my work: diff --git a/vscode/README.md b/vscode/README.md index 9dda2402..e7c7d22c 100644 --- a/vscode/README.md +++ b/vscode/README.md @@ -1,4 +1,4 @@ -# Community Hass.io Add-ons: Visual Studio Code +# Home Assistant Community Add-on: Visual Studio Code [![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield] @@ -29,15 +29,15 @@ instantly, without the need for configuring anything. [discord-shield]: https://img.shields.io/discord/478094546522079232.svg [discord]: https://discord.me/hassioaddons -[docs]: https://github.com/hassio-addons/addon-vscode/blob/v1.2.3/README.md +[docs]: https://github.com/hassio-addons/addon-vscode/blob/v2.0.0/README.md [forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg -[forum]: https://community.home-assistant.io/?u=frenck +[forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863?u=frenck [github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png [github-sponsors]: https://github.com/sponsors/frenck [maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg -[release-shield]: https://img.shields.io/badge/version-v1.2.3-blue.svg -[release]: https://github.com/hassio-addons/addon-vscode/tree/v1.2.3 +[release-shield]: https://img.shields.io/badge/version-v2.0.0-blue.svg +[release]: https://github.com/hassio-addons/addon-vscode/tree/v2.0.0 [screenshot]: https://github.com/hassio-addons/addon-vscode/raw/master/images/screenshot.png \ No newline at end of file diff --git a/vscode/config.json b/vscode/config.json index 2acb89fb..e27c10b4 100644 --- a/vscode/config.json +++ b/vscode/config.json @@ -1,30 +1,22 @@ { "name": "Visual Studio Code", - "version": "1.2.3", + "version": "2.0.0", "slug": "vscode", "description": "Fully featured VSCode experience, to edit your HA config in the browser, including auto-completion!", "url": "https://github.com/hassio-addons/addon-vscode", - "webui": "[PROTO:ssl]://[HOST]:[PORT:80]", "ingress": true, "ingress_port": 1337, "panel_icon": "mdi:visual-studio-code", "startup": "services", - "homeassistant": "0.92.0b2", "arch": [ + "aarch64", "amd64" ], "boot": "auto", + "auto_uart": true, "hassio_api": true, - "auth_api": true, "hassio_role": "manager", "homeassistant_api": true, - "auto_uart": true, - "ports": { - "80/tcp": null - }, - "ports_description": { - "80/tcp": "VSCode (Not required for Hass.io Ingress)" - }, "map": [ "config:rw", "ssl:rw", @@ -32,27 +24,24 @@ "share:rw", "backup:rw" ], + "services": [ + "mysql:want", + "mqtt:want" + ], "options": { - "ssl": true, - "certfile": "fullchain.pem", - "keyfile": "privkey.pem", "packages": [], "init_commands": [], "disable_telemetry": false }, "schema": { - "log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?", - "ssl": "bool", - "certfile": "str", - "keyfile": "str", + "log_level": "list(trace|debug|info|notice|warning|error|fatal)?", "packages": [ "str" ], "init_commands": [ "str" ], - "disable_telemetry": "bool?", - "leave_front_door_open": "bool?" + "disable_telemetry": "bool?" }, "image": "hassioaddons/vscode-{arch}" } \ No newline at end of file