From 1868a48393df9c73adff57e40f4e2de9867c75da Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Fri, 6 Dec 2024 15:44:11 -0800 Subject: [PATCH 1/2] v2.0.0 release --- README.md | 6 ------ RELEASE_NOTES.md | 10 ++++++++++ version | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d54657c94..6d70f1293 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,5 @@ # AWS Greengrass Nucleus Lite -🚧 🚧 🚧 WORK IN PROGRESS 🚧 🚧 🚧 - -> This software does not yet have an official release. Feel free to test and -> report issues you find, but some functionality may be buggy and there may be -> breaking changes before the initial release. - AWS IoT Greengrass runtime for constrained devices. The Greengrass Nucleus Lite provides a smaller alternative to the Classic diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 335ee6910..157cd91c1 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,13 @@ +## v2.0.0 + +Initial public release of AWS Greengrass Nucleus Lite. + +Changes since last beta release: + +- Variable substitution is supported in recipe Env sections. +- Recipe bootstrap steps are supported. +- TES now uses a random port. + ## 2024-11-26 Breaking changes: diff --git a/version b/version index 6e8bf73aa..227cea215 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.1.0 +2.0.0 From 7b5df3ee6cb0891745db587b9a7618782ace7cb1 Mon Sep 17 00:00:00 2001 From: Anubhav Rawal Date: Fri, 13 Dec 2024 05:08:51 +0000 Subject: [PATCH 2/2] Remove Release Notes --- RELEASE_NOTES.md | 184 ----------------------------------------------- 1 file changed, 184 deletions(-) delete mode 100644 RELEASE_NOTES.md diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md deleted file mode 100644 index 157cd91c1..000000000 --- a/RELEASE_NOTES.md +++ /dev/null @@ -1,184 +0,0 @@ -## v2.0.0 - -Initial public release of AWS Greengrass Nucleus Lite. - -Changes since last beta release: - -- Variable substitution is supported in recipe Env sections. -- Recipe bootstrap steps are supported. -- TES now uses a random port. - -## 2024-11-26 - -Breaking changes: - -- `docs/INSTALL.md` and `docs/SETUP.md` have been updated to account for the - below. Please follow the new instructions. -- Greengrass Lite will now need to be installed on the target system or in a - container. -- The installation and running process for Greengrass Lite has been updated. The - old `run_nucleus` script has been replaced with systemd service files that - start the nucleus services in an appropriate order under systemd. Running the - install target with make will install both the binaries and service files to - the system. The `run_nucleus` script now enables and starts the service files. -- The services (other than `ggdeploymentd` run as a `ggcore` user and `ggcore` - group by default; the user/group to use can be configured with cmake, and must - be created on the system (provided container image has the user/groups). -- `ggdeploymentd` requires running as root user and nucleus service group - instead of using sudo and requiring sudo permissions for nucleus service user. -- Greengrass Lite now uses `/var/lib/greengrass` for the Greengrass rootDir - (where it will store data that needs to be persisted). Core bus sockets are - now created in `/run/greengrass`. -- It is now recommended to place your initial config in - `/etc/greengrass/config.yaml` or files in `/etc/greengrass/config.d` instead - of using the `ggl-config-init` utility. - -Features: - -- Greengrass Lite is now installed as systemd services. -- Most services don't require root or sudo access. Unless configured otherwise, - services run as `ggcore` user and `ggcore` group, other than `ggdeploymentd`, - which runs as `root` user and `ggcore` group. - -Bug Fixes: - -- Fixed bug with generic components failing to start. -- Fix issue with local deployment copying of CLI passed artifact and recipe dirs - (bug introduced in 2024-11-15). Local deployments will now place artifacts and - recipes in the correct location. -- Local deployment CLI now handles relative paths for artifacts/recipes. -- `-fstrict-flex-arrays=3` is made optional. -- Unused config file locations no longer result in error logs. -- Removed other unintended error logs. -- Nucleus service core-bus sockets now allow group access. -- Nucleus launch Fleet Status reports now correctly wait until connection - established. -- Generic components are started in their proper working directories. -- Configuration files override recipe default configuration. - -## 2024-11-15 - -Breaking changes: - -- The config file loading workflow has changed. `ggconfigd` can now read from a - config file and/or a directory of config files, and use it to set default - values for configuration. - - If config files are available at `/etc/greengrass/config.yaml` or in - `/etc/greengrass/config.d/`, they will be loaded automatically. The - `--config-file` and `--config-dir` args let you override these locations. - -Known Bugs: - -- `ggconfigd` logs error messages if configuration files are not found in - /etc/greengrass; these error messages are harmless and can be ignored. - -Bug Fixes: - -- File permissions for deployment-created files is fixed when running the - Greengrass Lite core services and generic components as different users. -- Greengrass Lite builds when close_range is not available. -- Fixed warning on newer CMake versions. -- Fleet status reports include correct device architecture. -- Greengrass Lite reports runtime field for cloud to identify it as Lite. -- Issue with copying directories during local deployments on some systems is - fixed. - -Features: - -- MQTT is used without clean session, and unacked messages with QoS1 are resent - after disconnects. -- MQTT topic filters are unsubscribed from when all Greengrass clients - subscribed to it close their Greengrass subscriptions for it. - -## 2024-10-22 - -Bug Fixes: - -- `--gc-sections` linker flag was causing misaligned accesses on 32-bit arm. The - flag has been disabled; this will need to be root caused further. - -## 2024-10-21 - -Breaking changes: - -- sqlite autoindex warning fixed. Delete and rebuild your database to get the - fix. -- Database is now case-sensitive. The sample config is also updated (Ensure your - initial config yaml file uses rootPath and not rootpath). Your recipes may - need to be updated to use the correct casing (as in the recipe docs - ) - -Features: - -- Deployment updates the cloud on failed deployments. -- Failing components will be retried up to three times. -- Deployments are marked successful when all components successfully start. -- SubscribeToConfigurationUpdate IPC command is available. -- Cloud deployments now use local dependencies if available. -- ZIP type artifacts are now unarchived. -- Artifact hashes are now verified. -- Stale components are cleaned up. -- A cloud logging generic component is included. -- MQTT connection reconnects with backoff. -- iotcored unsubscribes from unused topic filters. -- Multiple deployments across thing groups is now supported. -- Recipes now support configuration in lifecycle step variable substitution. -- Fleet status service provides updates of Greengrass device state to cloud. -- Components are only restarted if their version is changed. - -Bug Fixes: - -- Absolute file paths are no longer logged on old compiler versions. -- ggipcd uses rootPath for creation of the IPC socket. -- TES environment variables are set for generic components. -- Coverity findings are fixed. -- Many minor bugs were fixed. - -## 2024-10-04 - -Features: - -- Cloud deployments now support dependencies. -- First party component artifacts can now be downloaded. -- IPC Authz policies are now enforced. -- Recipe variables (other than configuration) can be used. -- DefaultConfiguration from recipes is now applied. -- Now builds against Musl and on 32-bit arm platforms. -- Development container is available under `misc/container` for testing. - -Bug Fixes: - -- Now builds for older Linux kernels. -- run_nucleus now runs TES. -- Python is no longer needed. -- Fixed bug with SVCUID validation when building with auth. - -Known Issues: - -- `ggl-config-init` crashes on some platforms (under investigation). -- Errors are logged for sqlite and opening json files; these can be ignored. -- GG user/group in config must be the same user Greengrass is running as. - -## 2024-08-26 - -- Please install fresh, or delete the configuration store config.db file - (located at the ggconfigd service working directory). This is to avoid - conflicts with configuration persisted by older versions - -Features: - -- ggconfigd and GetConfiguration supports reading nested configuration back in a - single read call -- Fleet Provisioning will now manage its own new instance of iotcored - -Bug Fixes: - -- TES_server will now support `http://` prefix in config - -Known Issues: - -- Fleet Provisioning does not terminate even after provisioning is complete will - fix in future -- If using Fleet Provisioning provide the `iotCredEndpoint` within the - `NucleusLite`'s config scope