Skip to content

v4.0.0-rc.1

Compare
Choose a tag to compare
@mender-test-bot mender-test-bot released this 30 Oct 15:49
3f077d8

4.0.0-rc.1 - 2024-10-30

Bug Fixes

  • (deployments) Deprecate v1 endpoint for listing deployments
    (MEN-7543) (879b589) by @kjaskiewiczz

    We deprecated GET v1 /deployments/deployments endpoint because of an
    issue with "search" query parameter behavior. As a replacement we
    introduce v2 version of the endpoint, where we replaced "search"
    parameter with "id" and "name" parameters.

  • (deviceconfig) Enable multiplatform build
    (QA-673) (fbbe646) by @oldgiova

    The required TARGETOS and TARGETARCH variables were missing from the
    Dockerfile.

  • (gui) Fixed an issue that could prevent browsers from following programmatically triggered downloads
    (f2b6189) by @mzedel

    • relative download addresses seem not to be followed, switched to absolute instead
  • (iot-core) Incosistent serialization format for device private key
    (MEN-7478) (6deadef) by @alfrunes

    The generated key is serialized using SEC 1 (RFC5915) ASN.1 encoding,
    but encoded to PEM using PKCS8 (RFC5208) block header/trailer.

  • Aligned identity attribute usage with scoped inventory data to prevent overriding custom naming attributes with name tags
    (MEN-7218) (9d82ea1) by @mzedel

  • Document the 409 return for creating deployment to a group
    (MEN-7414) (5327dac) by @kjaskiewiczz

  • Prevented commercial client components are only selected when plan/ addon accessible
    (MEN-7458) (81e0b73) by @mzedel

  • Fixed an issue that prevented retrieving group devices & related reports
    (MEN-7461) (95ea85f) by @mzedel

  • Fixed an issue that prevented showing PATs on page refresh
    (bde80fe) by @mzedel

  • Fixed an issue that prevented onboarding tips from showing
    (c2ecfcf) by @mzedel

Documentation

Features

Build

  • (docker) Add build stage to Dockerfiles
    (ba3692e) by @alfrunes

    The Dockerfiles are now self-contained by moving the build stage into
    the Dockerfile.

  • (docker) Build images on BUILDPLATFORM
    (44e5b7f) by @alfrunes

  • (docker) Use make(1) when building inside docker images
    (153269e) by @alfrunes

    For consistent builds.

  • (make) Update docker targets to use updated Dockerfiles
    (11f26d6) by @alfrunes

    Refactored common parts to parent directory.

  • (make) Change default target to docker and add variable TAGS
    (92ac12a) by @alfrunes

    Containers are the primary build artifacts for this repo so it makes
    sense to build them by default.

  • (make) Fix acceptance test targets after refactor
    (70919bd) by @alfrunes

    Put common acceptance test targets in Makefile.common and made
    exceptions for create-artifact-worker and reporting.

  • (make) Do not expand go shell commands unconditionally
    (1c68b83) by @alfrunes

  • (make) Run acceptance tests without rebuilding the containers
    (ce241cc) by @alfrunes

    Removed the dependency on docker-acceptance for the
    test-acceptance-run.

  • (make) test-unit target runs in same environment as build
    (141ea40) by @alfrunes

  • (make) Change TAGS behavior to always include required build tags
    (5bae608) by @alfrunes

  • (make) Rename DOCKER_ARGS to DOCKER_BUILDARGS, TAGS to BUILDTAGS
    (1a97891) by @alfrunes

    It seems like Gitlab has a built in TAGS env variable which conflicts
    with the Make environment.

  • (make) Add docker-pull target for pulling images
    (37f4391) by @alfrunes

  • (make) Define DOCKER_PLATFORM template as multiline variable
    (0db0c9a) by @alfrunes

  • (make) Fix tag override for docker-acceptance
    (7f0b260) by @alfrunes

    MENDER_IMAGE_TAG_TEST should set the tag when building the target.

  • (make) Remove make 4.4 function let
    (75f980e) by @alfrunes

  • (make) Added target docker-publish for publishing images
    (c400b04) by @alfrunes

  • (make) Split MENDER_PUBLISH_REGISTRY into registry and repository
    (e27c770) by @alfrunes

  • (test) Force serialize unit tests for deviceauth
    (a0ab55e) by @alfrunes

Check

  • Make sed(1) Linux compatible again
    (1271396) by @alfrunes

    Replace flag -i='' with -i.bak and removing the files.

Refac

  • (compose) Refactor SeaweedFS topology and optimize startup/shutdown time
    (fe7ee2e) by @alfrunes

    Instead of running SeaweedFS as a monolith using the server command,
    we explicitly launch all services in different containers. It appears
    that the server command has some issues when initializing the master
    and sometimes enter a deadlock the healthcheck interval is too low at
    startup. Moreover, running the services in different containers makes it
    easier to debug and interpret the logs.

  • (iotcore) Break on errors instead of falling through
    (733f8ab) by @alfrunes

    Using long chains of fallthrough error conditions makes it very
    difficult to read and error prone to extend. Refactoring to use common
    coding patterns instead.

  • Use an overlay directory to create Makefiles and Dockerfiles
    (85e93e0) by @alfrunes

    Allows for easier individual customization required for accepatnce
    tests.

Revert

  • (docker) Revert generate-delta-worker dockerfile
    (d205b3e) by @alfrunes

    Reverts the dockerfile to the upstream docker file with the two
    exceptions of copying the binaries from this repositories rather than
    relying on master docker images.

  • Change docker entrypoint to launch workflows worker
    (0d39c96) by @alfrunes

    This was done by mistake when updating the Dockerfile for the monorepo.