Skip to content

v1.6.0 wharf-web

Compare
Choose a tag to compare
@applejag applejag released this 10 May 08:42
· 46 commits to master since this release
8562a44

Docker image

Hosted over at https://quay.io/repository/iver-wharf/wharf-web

docker pull quay.io/iver-wharf/wharf-web:v1.6.0

Changes (since v1.5.1)

  • Added the ability to login. While logged in this will forward the OIDC access token to the backend such that a secure user access control is established. This is only performed when the following config value is set: (#70, #137, #138, #142)

    {
      "oidcConfig": {
        "enabled": true
      }
    }
  • Changed function calls and type names to match the regenerated rest clients using: (#91)

    • wharf-api from v4.1.0 to v5.0.0.
    • wharf-provider-azuredevops from v1.2.0-rc to v2.0.1.
    • wharf-provider-github from v2.0.0-rc to v2.0.0.
    • wharf-provider-gitlab from v1.2.0-rc to v1.3.0.
  • Added test results failed/skipped/passed numbers to each build in a project's build list. (#53)

  • Added test result details, showing test messages and per-artifact test results, to the build details page. (#53)

  • Security: Changed version of wharf-collect-licenses from v1.0.0 to v2.0.0, which includes upgrade of node-fetch from v2.6.5 to v3.2.0, fixing CVE-2022-0235. (#110)

  • Fixed project ID not being sent to the provider APIs when refreshing, which was resulting in attempting to import the project anew instead. (#113)

  • Added field for changing execution engine used in a build via the "RUN ALL OPTIONS" modal. (#122)

  • Removed unused configs, specified in assets/config.json, and "Environment" object in assets/config.json and inlined their configs instead, as well as renamed Name to name and IsProduction to production: (#127)

    --- a/assets/config.json
    +++ b/assets/config.json
     {
    -  "Environment": {
    -    "Name": "lorem-ipsum",
    -    "IsProduction": true
    -  },
    +  "name": "lorem-ipsum",
    +  "production": true,
    
    -  "UpdateLatency": 20000,
    -  "UpdateFrequency": 30000,
    
       "BackendUrls": {
         "Api": "/api",
         "Gitlab": "/import",
         "Github": "/import",
         "AzureDevops": "/import",
       }
     }

    Backward compatibtility is added, so the Environment.Name and Environment.IsProduction inside assets/config.json still work.

  • Deprecated all PascalCased fields inside assets/config.json in favor of camelCased variants. Wharf-web performs automatic translation, but please migrate your configs to camelCase as soon as possible, such as: (#127)

    --- a/assets/config.json
    +++ b/assets/config.json
     {
    -  "BackendUrls": {
    -    "Api": "/api",
    -    "Gitlab": "/import",
    -    "Github": "/import",
    -    "AzureDevops": "/import",
    -  }
    +  "backendUrls": {
    +    "api": "/api",
    +    "gitlab": "/import",
    +    "github": "/import",
    +    "azureDevops": "/import",
    +  }
     }
  • Changed version of dependencies:

    • @angular/* from v12.1.1 to v13.3.2 (#125)
    • eslint from v7.30.0 to v8.12.0 (#125)
    • ng-packagr from v12.1.1 to v13.3.0 (#125)
    • primeicons from v4.1.0 to v5.0.0 (#125)
    • primeng from v12.0.0 to v13.3.3 (#125)
    • rxjs from v7.2.0 to v7.5.5 (#125)
    • typescript from v4.3.5 to v4.6.3 (#125)
  • Changed to require Node 16 or later due to new package-lock.json format changes since NPM 7.0.0, which comes with Node 15.0.0 or later. (#130)

  • Security: Changed version of Alpine packages in Dockerfile to resolve CVEs:

  • Fixed PrimeIcons icon names since upgrade from v4 to v5 in #125. (#141)