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

Add NO_COLOR support to disable color output #137

Merged
merged 1 commit into from May 24, 2021
Merged

Conversation

fatih
Copy link
Owner

@fatih fatih commented May 13, 2021

This PR adds support for the environment variable NO_COLOR. If set
(regardless of its value), the colors package disables color output.
For more information about this environment variable, please check out
this website: https://no-color.org

closes: #136

This PR adds support for the enviroment variable `NO_COLOR`. If set
(regardless of its value), the `colors` package disables color output.
For more information about this environment variable please checkout
this website: https://no-color.org

closes: #136
bl-ue
bl-ue approved these changes May 13, 2021
eitah
eitah approved these changes May 23, 2021
@bl-ue
Copy link
Contributor

@bl-ue bl-ue commented May 24, 2021

Wow, huge mess 😝

aviator-app bot pushed a commit to airplanedev/cli that referenced this issue Sep 30, 2021
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/AlecAivazis/survey/v2](https://togithub.com/AlecAivazis/survey) | require | minor | `v2.2.9` -> `v2.3.2` |
| [github.com/docker/docker](https://togithub.com/docker/docker) | require | patch | `v20.10.5+incompatible` -> `v20.10.8` |
| [github.com/evanw/esbuild](https://togithub.com/evanw/esbuild) | require | minor | `v0.12.28` -> `v0.13.3` |
| [github.com/fatih/color](https://togithub.com/fatih/color) | require | minor | `v1.10.0` -> `v1.13.0` |
| [github.com/go-git/go-git/v5](https://togithub.com/go-git/go-git) | require | minor | `v5.2.0` -> `v5.4.2` |
| [github.com/golang-jwt/jwt/v4](https://togithub.com/golang-jwt/jwt) | require | minor | `v4.0.0` -> `v4.1.0` |
| [github.com/gosimple/slug](https://togithub.com/gosimple/slug) | require | minor | `v1.9.0` -> `v1.10.0` |
| [github.com/joho/godotenv](https://togithub.com/joho/godotenv) | require | minor | `v1.3.0` -> `v1.4.0` |
| [github.com/mattn/go-isatty](https://togithub.com/mattn/go-isatty) | require | patch | `v0.0.12` -> `v0.0.14` |
| [github.com/mitchellh/mapstructure](https://togithub.com/mitchellh/mapstructure) | require | minor | `v1.3.1` -> `v1.4.2` |
| [github.com/spf13/cobra](https://togithub.com/spf13/cobra) | require | minor | `v1.1.3` -> `v1.2.1` |
| [github.com/stretchr/testify](https://togithub.com/stretchr/testify) | require | minor | `v1.6.1` -> `v1.7.0` |
| [gopkg.in/segmentio/analytics-go.v3](https://togithub.com/segmentio/analytics-go) | require | minor | `v3.1.0` -> `v3.2.0` |

---

### Release Notes

<details>
<summary>AlecAivazis/survey</summary>

### [`v2.3.2`](https://togithub.com/AlecAivazis/survey/compare/v2.3.1...v2.3.2)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.3.1...v2.3.2)

### [`v2.3.1`](https://togithub.com/AlecAivazis/survey/compare/v2.3.0...v2.3.1)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.3.0...v2.3.1)

### [`v2.3.0`](https://togithub.com/AlecAivazis/survey/compare/v2.2.16...v2.3.0)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.2.16...v2.3.0)

### [`v2.2.16`](https://togithub.com/AlecAivazis/survey/compare/v2.2.15...v2.2.16)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.2.15...v2.2.16)

### [`v2.2.15`](https://togithub.com/AlecAivazis/survey/compare/v2.2.14...v2.2.15)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.2.14...v2.2.15)

### [`v2.2.14`](https://togithub.com/AlecAivazis/survey/compare/v2.2.13...v2.2.14)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.2.13...v2.2.14)

### [`v2.2.13`](https://togithub.com/AlecAivazis/survey/compare/v2.2.12...v2.2.13)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.2.12...v2.2.13)

### [`v2.2.12`](https://togithub.com/AlecAivazis/survey/compare/v2.2.11...v2.2.12)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.2.11...v2.2.12)

### [`v2.2.11`](https://togithub.com/AlecAivazis/survey/compare/v2.2.10...v2.2.11)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.2.10...v2.2.11)

### [`v2.2.10`](https://togithub.com/AlecAivazis/survey/compare/v2.2.9...v2.2.10)

[Compare Source](https://togithub.com/AlecAivazis/survey/compare/v2.2.9...v2.2.10)

</details>

<details>
<summary>docker/docker</summary>

### [`v20.10.8`](https://togithub.com/docker/docker/releases/v20.10.8)

[Compare Source](https://togithub.com/docker/docker/compare/v20.10.7...v20.10.8)

#### 20.10.8

> **IMPORTANT**
>
> Due to [net/http changes](https://togithub.com/golang/go/issues/40909) in [Go 1.16](https://golang.org/doc/go1.16#net/http), HTTP proxies configured through the `$HTTP_PROXY` environment variable are no longer used for TLS (`https://`) connections. Make sure you also set an `$HTTPS_PROXY` environment variable for handling requests to `https://` URLs. Refer to the [HTTP/HTTPS proxy section in the documentation](https://docs.docker.com/config/daemon/systemd/#httphttps-proxy) to learn how to configure the Docker Daemon to use a proxy server.

##### Deprecation

-   Deprecate support for encrypted TLS private keys. Legacy PEM encryption as
    specified in RFC 1423 is insecure by design. Because it does not authenticate
    the ciphertext, it is vulnerable to padding oracle attacks that can let an
    attacker recover the plaintext. Support for encrypted TLS private keys is now
    marked as deprecated, and will be removed in an upcoming release. [docker/cli#&#8203;3219](https://togithub.com/docker/cli/pull/3219)
-   Deprecate Kubernetes stack support. Following the deprecation of [Compose on Kubernetes](https://togithub.com/docker/compose-on-kubernetes),
    support for Kubernetes in the `stack` and `context` commands in the Docker CLI
    is now marked as deprecated, and will be removed in an upcoming release [docker/cli#&#8203;3174](https://togithub.com/docker/cli/pull/3174).

##### Client

-   Fix `Invalid standard handle identifier` errors on Windows [docker/cli#&#8203;3132](https://togithub.com/docker/cli/pull/3132).

##### Rootless

-   Avoid `can't open lock file /run/xtables.lock: Permission denied` error on
    SELinux hosts [moby/moby#&#8203;42462](https://togithub.com/moby/moby/pull/42462).
-   Disable overlay2 when running with SELinux to prevent permission denied errors [moby/moby#&#8203;42462](https://togithub.com/moby/moby/pull/42462).
-   Fix `x509: certificate signed by unknown authority` error on openSUSE Tumbleweed [moby/moby#&#8203;42462](https://togithub.com/moby/moby/pull/42462).

##### Runtime

-   Print a warning when using the `--platform` option to pull a single-arch image
    that does not match the specified architecture [moby/moby#&#8203;42633](https://togithub.com/moby/moby/pull/42633).
-   Fix incorrect `Your kernel does not support swap memory limit` warning when
    running with cgroups v2 [moby/moby#&#8203;42479](https://togithub.com/moby/moby/pull/42479).
-   Windows: Fix a situation where containers were not stopped if `HcsShutdownComputeSystem`
    returned an `ERROR_PROC_NOT_FOUND` error [moby/moby#&#8203;42613](https://togithub.com/moby/moby/pull/42613)

#### Swarm

-   Fix a possibility where overlapping IP addresses could exist as a result of the
    node failing to clean up its old loadbalancer IPs [moby/moby#&#8203;42538](https://togithub.com/moby/moby/pull/42538)
-   Fix a deadlock in log broker ("dispatcher is stopped") [moby/moby#&#8203;42537](https://togithub.com/moby/moby/pull/42537)

##### Packaging

> **Known issue**
>
> The `ctr` binary shipping with the static packages of this release is not
> statically linked, and will not run in Docker images using alpine as a base
> image. Users can install the `libc6-compat` package, or download a previous
> version of the `ctr` binary as a workaround. Refer to the containerd ticket
> related to this issue for more details: [containerd/containerd#&#8203;5824](https://togithub.com/containerd/containerd/issues/5824).

-   Remove packaging for Ubuntu 16.04 "Xenial" and Fedora 32, as they reached EOL [docker/docker-ce-packaging#&#8203;560](https://togithub.com/docker/docker-ce-packaging/pull/560)
-   Update Golang runtime to Go 1.16.6
-   Update the bundled buildx version to v0.6.1 for rpm and deb packages [docker/docker-ce-packaging#&#8203;562](https://togithub.com/docker/docker-ce-packaging/pull/562)
-   Update static binaries and containerd.io rpm and deb packages to containerd v1.4.9 and runc v1.0.1: [docker/containerd-packaging#&#8203;241](https://togithub.com/docker/containerd-packaging/pull/241), [docker/containerd-packaging#&#8203;245](https://togithub.com/docker/containerd-packaging/pull/245), [docker/containerd-packaging#&#8203;247](https://togithub.com/docker/containerd-packaging/pull/247).

### [`v20.10.7`](https://togithub.com/docker/docker/releases/v20.10.7)

[Compare Source](https://togithub.com/docker/docker/compare/v20.10.6...v20.10.7)

#### 20.10.7

##### Client

-   Suppress warnings for deprecated cgroups [docker/cli#&#8203;3099](https://togithub.com/docker/cli/pull/3099).
-   Prevent sending `SIGURG` signals to container on Linux and macOS. The Go runtime
    (starting with Go 1.14) uses `SIGURG` signals internally as an interrupt to
    support preemptable syscalls. In situations where the Docker CLI was attached
    to a container, these interrupts were forwarded to the container. This fix
    changes the Docker CLI to ignore `SIGURG` signals [docker/cli#&#8203;3107](https://togithub.com/docker/cli/pull/3107),
    [moby/moby#&#8203;42421](https://togithub.com/moby/moby/pull/42421).

##### Builder

-   Update BuildKit to version v0.8.3-3-g244e8cde [moby/moby#&#8203;42448](https://togithub.com/moby/moby/pull/42448):
    -   Transform relative mountpoints for exec mounts in the executor to work around
        a breaking change in runc v1.0.0-rc94 and up. [moby/buildkit#&#8203;2137](https://togithub.com/moby/buildkit/pull/2137).
    -   Add retry on image push 5xx errors. [moby/buildkit#&#8203;2043](https://togithub.com/moby/buildkit/pull/2043).
    -   Fix build-cache not being invalidated when renaming a file that is copied using
        a `COPY` command with a wildcard. Note that this change invalidates
        existing build caches for copy commands that use a wildcard. [moby/buildkit#&#8203;2018](https://togithub.com/moby/buildkit/pull/2018).
    -   Fix build-cache not being invalidated when using mounts [moby/buildkit#&#8203;2076](https://togithub.com/moby/buildkit/pull/2076).
-   Fix build failures when `FROM` image is not cached when using legacy schema 1 images [moby/moby#&#8203;42382](https://togithub.com/moby/moby/pull/42382).

##### Logging

-   Update the hcsshim SDK to make daemon logs on Windows less verbose [moby/moby#&#8203;42292](https://togithub.com/moby/moby/pull/42292).

##### Rootless

-   Fix capabilities not being honored when an image was built on a daemon with
    user-namespaces enabled [moby/moby#&#8203;42352](https://togithub.com/moby/moby/pull/42352).

##### Networking

-   Update libnetwork to fix publishing ports on environments with kernel boot
    parameter `ipv6.disable=1`, and to fix a deadlock causing internal DNS lookups
    to fail [moby/moby#&#8203;42413](https://togithub.com/moby/moby/pull/42413).

##### Contrib

-   Update rootlesskit to v0.14.2 to fix a timeout when starting the userland proxy
    with the `slirp4netns` port driver [moby/moby#&#8203;42294](https://togithub.com/moby/moby/pull/42294).
-   Fix "Device or resource busy" errors when running docker-in-docker on a rootless
    daemon [moby/moby#&#8203;42342](https://togithub.com/moby/moby/pull/42342).

##### Packaging

-   Update containerd to v1.4.6, runc v1.0.0-rc95 to address [CVE-2021-30465](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30465)
    [moby/moby#&#8203;42398](https://togithub.com/moby/moby/pull/42398), [moby/moby#&#8203;42395](https://togithub.com/moby/moby/pull/42395),
    [ocker/containerd-packaging#&#8203;234](https://togithub.com/docker/containerd-packaging/pull/234)
-   Update containerd to v1.4.5, runc v1.0.0-rc94 [moby/moby#&#8203;42372](https://togithub.com/moby/moby/pull/42372),
    [moby/moby#&#8203;42388](https://togithub.com/moby/moby/pull/42388), [docker/containerd-packaging#&#8203;232](https://togithub.com/docker/containerd-packaging/pull/232).
-   Update Docker Scan plugin packages (`docker-scan-plugin`) to v0.8 [docker/docker-ce-packaging#&#8203;545](https://togithub.com/docker/docker-ce-packaging/pull/545).

### [`v20.10.6`](https://togithub.com/docker/docker/releases/v20.10.6)

[Compare Source](https://togithub.com/docker/docker/compare/v20.10.5...v20.10.6)

release notes: https://docs.docker.com/engine/release-notes/[#&#8203;20106](https://togithub.com/docker/docker/issues/20106)

</details>

<details>
<summary>evanw/esbuild</summary>

### [`v0.13.3`](https://togithub.com/evanw/esbuild/releases/v0.13.3)

[Compare Source](https://togithub.com/evanw/esbuild/compare/v0.13.2...v0.13.3)

-   Support TypeScript type-only import/export specifiers ([#&#8203;1637](https://togithub.com/evanw/esbuild/pull/1637))

    This release adds support for a new TypeScript syntax feature in the upcoming version 4.5 of TypeScript. This feature lets you prefix individual imports and exports with the `type` keyword to indicate that they are types instead of values. This helps tools such as esbuild omit them from your source code, and is necessary because esbuild compiles files one-at-a-time and doesn't know at parse time which imports/exports are types and which are values. The new syntax looks like this:

    ```ts
    // Input TypeScript code
    import { type Foo } from 'foo'
    export { type Bar }

    // Output JavaScript code (requires "importsNotUsedAsValues": "preserve" in "tsconfig.json")
    import {} from "foo";
    export {};
    ```

    See [microsoft/TypeScript#&#8203;45998](https://togithub.com/microsoft/TypeScript/pull/45998) for full details. From what I understand this is a purely ergonomic improvement since this was already previously possible using a type-only import/export statements like this:

    ```ts
    // Input TypeScript code
    import type { Foo } from 'foo'
    export type { Bar }
    import 'foo'
    export {}

    // Output JavaScript code (requires "importsNotUsedAsValues": "preserve" in "tsconfig.json")
    import "foo";
    export {};
    ```

    This feature was contributed by [@&#8203;g-plane](https://togithub.com/g-plane).

### [`v0.13.2`](https://togithub.com/evanw/esbuild/releases/v0.13.2)

[Compare Source](https://togithub.com/evanw/esbuild/compare/v0.13.1...v0.13.2)

-   Fix `export {}` statements with `--tree-shaking=true` ([#&#8203;1628](https://togithub.com/evanw/esbuild/issues/1628))

    The new `--tree-shaking=true` option allows you to force-enable tree shaking in cases where it wasn't previously possible. One such case is when bundling is disabled and there is no output format configured, in which case esbuild just preserves the format of whatever format the input code is in. Enabling tree shaking in this context caused a bug where `export {}` statements were stripped. This release fixes the bug so `export {}` statements should now be preserved when you pass `--tree-shaking=true`. This bug only affected this new functionality and didn't affect existing scenarios.

### [`v0.13.1`](https://togithub.com/evanw/esbuild/releases/v0.13.1)

[Compare Source](https://togithub.com/evanw/esbuild/compare/v0.13.0...v0.13.1)

-   Fix the `esbuild` package in yarn 2+

    The [yarn package manager](https://yarnpkg.com/) version 2 and above has a mode called [PnP](https://next.yarnpkg.com/features/pnp/) that installs packages inside zip files instead of using individual files on disk, and then hijacks node's `fs` module to pretend that paths to files inside the zip file are actually individual files on disk so that code that wasn't written specifically for yarn still works. Unfortunately that hijacking is incomplete and it still causes certain things to break such as using these zip file paths to create a JavaScript worker thread or to create a child process.

    This was an issue for the new `optionalDependencies` package installation strategy that was just released in version 0.13.0 since the binary executable is now inside of an installed package instead of being downloaded using an install script. When it's installed with yarn 2+ in PnP mode the binary executable is inside a zip file and can't be run. To work around this, esbuild detects yarn's PnP mode and copies the binary executable to a real file outside of the zip file.

    Unfortunately the code to do this didn't create the parent directory before writing to the file path. That caused esbuild's API to crash when it was run for the first time. This didn't come up during testing because the parent directory already existed when the tests were run. This release changes the location of the binary executable from a shared cache directory to inside the esbuild package itself, which should fix this crash. This problem only affected esbuild's JS API when it was run through yarn 2+ with PnP mode active.

### [`v0.13.0`](https://togithub.com/evanw/esbuild/releases/v0.13.0)

[Compare Source](https://togithub.com/evanw/esbuild/compare/v0.12.29...v0.13.0)

**This release contains backwards-incompatible changes.** Since esbuild is before version 1.0.0, these changes have been released as a new minor version to reflect this (as [recommended by npm](https://docs.npmjs.com/cli/v6/using-npm/semver/)). You should either be pinning the exact version of `esbuild` in your `package.json` file or be using a version range syntax that only accepts patch upgrades such as `~0.12.0`. See the documentation about [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more information.

-   Allow tree shaking to be force-enabled and force-disabled ([#&#8203;1518](https://togithub.com/evanw/esbuild/issues/1518), [#&#8203;1610](https://togithub.com/evanw/esbuild/issues/1610), [#&#8203;1611](https://togithub.com/evanw/esbuild/issues/1611), [#&#8203;1617](https://togithub.com/evanw/esbuild/pull/1617))

    This release introduces a breaking change that gives you more control over when tree shaking happens ("tree shaking" here refers to declaration-level dead code removal). Previously esbuild's tree shaking was automatically enabled or disabled for you depending on the situation and there was no manual override to change this. Specifically, tree shaking was only enabled either when bundling was enabled or when the output format was set to `iife` (i.e. wrapped in an immediately-invoked function expression). This was done to avoid issues with people appending code to output files in the `cjs` and `esm` formats and expecting that code to be able to reference code in the output file that isn't otherwise referenced.

    You now have the ability to explicitly force-enable or force-disable tree shaking to bypass this default behavior. This is a breaking change because there is already a setting for tree shaking that does something else, and it has been moved to a separate setting instead. The previous setting allowed you to control whether or not to ignore manual side-effect annotations, which is related to tree shaking since only side-effect free code can be removed as dead code. Specifically you can annotate function calls with `/* @&#8203;__PURE__ */` to indicate that they can be removed if they are not used, and you can annotate packages with `"sideEffects": false` to indicate that imports of that package can be removed if they are not used. Being able to ignore these annotations is necessary because [they are sometimes incorrect](https://togithub.com/tensorflow/tfjs/issues/4248). This previous setting has been moved to a separate setting because it actually impacts dead-code removal within expressions, which also applies when minifying with tree-shaking disabled.

##### Old behavior

    * CLI
        * Ignore side-effect annotations: `--tree-shaking=ignore-annotations`
    * JS
        * Ignore side-effect annotations: `treeShaking: 'ignore-annotations'`
    * Go
        * Ignore side-effect annotations: `TreeShaking: api.TreeShakingIgnoreAnnotations`

##### New behavior

    * CLI
        * Ignore side-effect annotations: `--ignore-annotations`
        * Force-disable tree shaking: `--tree-shaking=false`
        * Force-enable tree shaking: `--tree-shaking=true`
    * JS
        * Ignore side-effect annotations: `ignoreAnnotations: true`
        * Force-disable tree shaking: `treeShaking: false`
        * Force-enable tree shaking: `treeShaking: true`
    * Go
        * Ignore side-effect annotations: `IgnoreAnnotations: true`
        * Force-disable tree shaking: `TreeShaking: api.TreeShakingFalse`
        * Force-enable tree shaking: `TreeShaking: api.TreeShakingTrue`

-   The npm package now uses `optionalDependencies` to install the platform-specific binary executable ([#&#8203;286](https://togithub.com/evanw/esbuild/issues/286), [#&#8203;291](https://togithub.com/evanw/esbuild/issues/291), [#&#8203;319](https://togithub.com/evanw/esbuild/issues/319), [#&#8203;347](https://togithub.com/evanw/esbuild/issues/347), [#&#8203;369](https://togithub.com/evanw/esbuild/issues/369), [#&#8203;547](https://togithub.com/evanw/esbuild/issues/547), [#&#8203;565](https://togithub.com/evanw/esbuild/issues/565), [#&#8203;789](https://togithub.com/evanw/esbuild/issues/789), [#&#8203;921](https://togithub.com/evanw/esbuild/issues/921), [#&#8203;1193](https://togithub.com/evanw/esbuild/issues/1193), [#&#8203;1270](https://togithub.com/evanw/esbuild/issues/1270), [#&#8203;1382](https://togithub.com/evanw/esbuild/issues/1382), [#&#8203;1422](https://togithub.com/evanw/esbuild/issues/1422), [#&#8203;1450](https://togithub.com/evanw/esbuild/issues/1450), [#&#8203;1485](https://togithub.com/evanw/esbuild/issues/1485), [#&#8203;1546](https://togithub.com/evanw/esbuild/issues/1546), [#&#8203;1547](https://togithub.com/evanw/esbuild/pull/1547), [#&#8203;1574](https://togithub.com/evanw/esbuild/issues/1574), [#&#8203;1609](https://togithub.com/evanw/esbuild/issues/1609))

    This release changes esbuild's installation strategy in an attempt to improve compatibility with edge cases such as custom registries, custom proxies, offline installations, read-only file systems, or when post-install scripts are disabled. It's being treated as a breaking change out of caution because it's a significant change to how esbuild works with JS package managers, and hasn't been widely tested yet.

    **The old installation strategy** manually downloaded the correct binary executable in a [post-install script](https://docs.npmjs.com/cli/v7/using-npm/scripts). The binary executable is hosted in a separate platform-specific npm package such as [`esbuild-darwin-64`](https://www.npmjs.com/package/esbuild-darwin-64). The install script first attempted to download the package via the `npm` command in case npm had custom network settings configured. If that didn't work, the install script attempted to download the package from https://registry.npmjs.org/ before giving up. This was problematic for many reasons including:

    -   Not all of npm's settings can be forwarded due to npm bugs such as [https://github.com/npm/cli/issues/2284](https://togithub.com/npm/cli/issues/2284), and npm has said these bugs will never be fixed.
    -   Some people have configured their network environments such that downloading from https://registry.npmjs.org/ will hang instead of either succeeding or failing.
    -   The installed package was broken if you used `npm --ignore-scripts` because then the post-install script wasn't run. Some people enable this option so that malicious packages must be run first before being able to do malicious stuff.

    **The new installation strategy** automatically downloads the correct binary executable using npm's `optionalDependencies` feature to depend on all esbuild packages for all platforms but only have the one for the current platform be installed. This is a built-in part of the package manager so my assumption is that it should work correctly in all of these edge cases that currently don't work. And if there's an issue with this, then the problem is with the package manager instead of with esbuild so this should hopefully reduce the maintenance burden on esbuild itself. Changing to this installation strategy has these drawbacks:

    -   Old versions of certain package managers (specifically npm and yarn) print lots of useless log messages during the installation, at least one for each platform other than the current one. These messages are harmless and can be ignored. However, they are annoying. There is nothing I can do about this. If you have this problem, one solution is to upgrade your package manager to a newer version.

    -   Installation will be significantly slower in old versions of npm, old versions of pnpm, and all versions of yarn. These package managers download all packages for all platforms even though they aren't needed and actually cannot be used. This problem has been fixed in npm and pnpm and the problem has been communicated to yarn: [https://github.com/yarnpkg/berry/issues/3317](https://togithub.com/yarnpkg/berry/issues/3317). If you have this problem, one solution is to use a newer version of npm or pnpm as your package manager.

    -   This installation strategy does not work if you use `npm --no-optional` since then the package with the binary executable is not installed. If you have this problem, the solution is to not pass the `--no-optional` flag when installing packages.

    -   There is still a small post-install script but it's now optional in that the `esbuild` package should still function correctly if post-install scripts are disabled (such as with `npm --ignore-scripts`). This post-install script optimizes the installed package by replacing the `esbuild` JavaScript command shim with the actual binary executable at install time. This avoids the overhead of launching another `node` process when using the `esbuild` command. So keep in mind that installing with `--ignore-scripts` will result in a slower `esbuild` command.

    Despite the drawbacks of the new installation strategy, I believe this change is overall a good thing to move forward with. It should fix edge case scenarios where installing esbuild currently doesn't work at all, and this only comes at the expense of the install script working in a less-optimal way (but still working) if you are using an old version of npm. So I'm going to switch installation strategies and see how it goes.

    The platform-specific binary executables are still hosted on npm in the same way, so anyone who wrote code that downloads builds from npm using the instructions here should not have to change their code: https://esbuild.github.io/getting-started/#download-a-build. However, note that these platform-specific packages no longer specify the `bin` field in `package.json` so the `esbuild` command will no longer be automatically put on your path. The `bin` field had to be removed because of a collision with the `bin` field of the `esbuild` package (now that the `esbuild` package depends on all of these platform-specific packages as optional dependencies).

In addition to the breaking changes above, the following features are also included in this release:

-   Treat `x` guarded by `typeof x !== 'undefined'` as side-effect free

    This is a small tree-shaking (i.e. dead code removal) improvement. Global identifier references are considered to potentially have side effects since they will throw a reference error if the global identifier isn't defined, and code with side effects cannot be removed as dead code. However, there's a somewhat-common case where the identifier reference is guarded by a `typeof` check to check that it's defined before accessing it. With this release, code that does this will now be considered to have no side effects which allows it to be tree-shaken:

    ```js
    // Original code
    var __foo = typeof foo !== 'undefined' && foo;
    var __bar = typeof bar !== 'undefined' && bar;
    console.log(__bar);

    // Old output (with --bundle, which enables tree-shaking)
    var __foo = typeof foo !== 'undefined' && foo;
    var __bar = typeof bar !== 'undefined' && bar;
    console.log(__bar);

    // New output (with --bundle, which enables tree-shaking)
    var __bar = typeof bar !== 'undefined' && bar;
    console.log(__bar);
    ```

### [`v0.12.29`](https://togithub.com/evanw/esbuild/releases/v0.12.29)

[Compare Source](https://togithub.com/evanw/esbuild/compare/v0.12.28...v0.12.29)

-   Fix compilation of abstract class fields in TypeScript ([#&#8203;1623](https://togithub.com/evanw/esbuild/issues/1623))

    This release fixes a bug where esbuild could incorrectly include a TypeScript abstract class field in the compiled JavaScript output. This is incorrect because the official TypeScript compiler never does this. Note that this only happened in scenarios where TypeScript's `useDefineForClassFields` setting was set to `true` (or equivalently where TypeScript's `target` setting was set to `ESNext`). Here is the difference:

    ```js
    // Original code
    abstract class Foo {
      abstract foo: any;
    }

    // Old output
    class Foo {
      foo;
    }

    // New output
    class Foo {
    }
    ```

-   Proxy from the `__require` shim to `require` ([#&#8203;1614](https://togithub.com/evanw/esbuild/issues/1614))

    Some background: esbuild's bundler emulates a CommonJS environment. The bundling process replaces the literal syntax `require(<string>)` with the referenced module at compile-time. However, other uses of `require` such as `require(someFunction())` are not bundled since the value of `someFunction()` depends on code evaluation, and esbuild does not evaluate code at compile-time. So it's possible for some references to `require` to remain after bundling.

    This was causing problems for some CommonJS code that was run in the browser and that expected `typeof require === 'function'` to be true (see [#&#8203;1202](https://togithub.com/evanw/esbuild/issues/1202)), since the browser does not provide a global called `require`. Thus esbuild introduced a shim `require` function called `__require` (shown below) and replaced all references to `require` in the bundled code with `__require`:

    ```js
    var __require = x => {
      if (typeof require !== 'undefined') return require(x);
      throw new Error('Dynamic require of "' + x + '" is not supported');
    };
    ```

    However, this broke code that referenced `require.resolve` inside the bundle, which could hypothetically actually work since you could assign your own implementation to `window.require.resolve` (see [#&#8203;1579](https://togithub.com/evanw/esbuild/issues/1579)). So the implementation of `__require` was changed to this:

    ```js
    var __require = typeof require !== 'undefined' ? require : x => {
      throw new Error('Dynamic require of "' + x + '" is not supported');
    };
    ```

    However, that broke code that assigned to `window.require` later on after the bundle was loaded ([#&#8203;1614](https://togithub.com/evanw/esbuild/issues/1614)). So with this release, the code for `__require` now handles all of these edge cases:

    -   `typeof require` is still `function` even if `window.require` is undefined
    -   `window.require` can be assigned to either before or after the bundle is loaded
    -   `require.resolve` and arbitrary other properties can still be accessed
    -   `require` will now forward any number of arguments, not just the first one

    Handling all of these edge cases is only possible with the [Proxy API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy). So the implementation of `__require` now looks like this:

    ```js
    var __require = (x =>
      typeof require !== 'undefined' ? require :
      typeof Proxy !== 'undefined' ? new Proxy(x, {
        get: (a, b) => (typeof require !== 'undefined' ? require : a)[b]
      }) : x
    )(function(x) {
      if (typeof require !== 'undefined') return require.apply(this, arguments);
      throw new Error('Dynamic require of "' + x + '" is not supported');
    });
    ```

-   Consider `typeof x` to have no side effects

    The `typeof` operator does not itself trigger any code evaluation so it can safely be removed if evaluating the operand does not cause any side effects. However, there is a special case of the `typeof` operator when the operand is an identifier expression. In that case no reference error is thrown if the referenced symbol does not exist (e.g. `typeof x` does not throw an error if there is no symbol named `x`). With this release, esbuild will now consider `typeof x` to have no side effects even if evaluating `x` would have side effects (i.e. would throw a reference error):

    ```js
    // Original code
    var unused = typeof React !== 'undefined';

    // Old output
    var unused = typeof React !== 'undefined';

    // New output
    ```

    Note that there is actually an edge case where `typeof x` *can* throw an error: when `x` is being referenced inside of its TDZ, or temporal dead zone (i.e. before it's declared). This applies to `let`, `const`, and `class` symbols. However, esbuild doesn't currently handle TDZ rules so the possibility of errors thrown due to TDZ rules is not currently considered. This typically doesn't matter in real-world code so this hasn't been a priority to fix (and is actually tricky to fix with esbuild's current bundling approach). So esbuild may incorrectly remove a `typeof` expression that actually has side effects. However, esbuild already incorrectly did this in previous releases so its behavior regarding `typeof` and TDZ rules hasn't changed in this release.

</details>

<details>
<summary>fatih/color</summary>

### [`v1.13.0`](https://togithub.com/fatih/color/releases/v1.13.0)

[Compare Source](https://togithub.com/fatih/color/compare/v1.12.0...v1.13.0)

This release updates the following dependencies:

    github.com/mattn/go-colorable v0.1.9
    github.com/mattn/go-isatty v0.0.14

### [`v1.12.0`](https://togithub.com/fatih/color/releases/v1.12.0)

[Compare Source](https://togithub.com/fatih/color/compare/v1.11.0...v1.12.0)

This release adds support for the `NO_COLOR`. For more information check out: https://no-color.org The pull request adding this change is: [https://github.com/fatih/color/pull/137](https://togithub.com/fatih/color/pull/137)

### [`v1.11.0`](https://togithub.com/fatih/color/releases/v1.11.0)

[Compare Source](https://togithub.com/fatih/color/compare/v1.10.0...v1.11.0)

This release removes the `vendor/` folder introduced by the PR: [https://github.com/fatih/color/pull/138](https://togithub.com/fatih/color/pull/138)

</details>

<details>
<summary>go-git/go-git</summary>

### [`v5.4.2`](https://togithub.com/go-git/go-git/releases/v5.4.2)

[Compare Source](https://togithub.com/go-git/go-git/compare/v5.4.1...v5.4.2)

#### Change Log

-   Revert "plumbing: format/packfile, prevent large objects from being read into memory completely ([#&#8203;303](https://togithub.com/go-git/go-git/issues/303)) ([`da81027`](https://togithub.com/go-git/go-git/commit/da81027))

### [`v5.4.1`](https://togithub.com/go-git/go-git/releases/v5.4.1)

[Compare Source](https://togithub.com/go-git/go-git/compare/v5.4.0...v5.4.1)

#### Change Log

-   remote: patch default timeout for List from 600ms to 10s ([#&#8203;321](https://togithub.com/go-git/go-git/issues/321))

### [`v5.4.0`](https://togithub.com/go-git/go-git/releases/v5.4.0)

[Compare Source](https://togithub.com/go-git/go-git/compare/v5.3.0...v5.4.0)

#### Change Log

-   Repository: test, use raw string to avoid double-escape [#&#8203;288](https://togithub.com/go-git/go-git/pull/288) ([jeffwidman](https://togithub.com/jeffwidman))
-   Remote: new ListContext function [#&#8203;278](https://togithub.com/go-git/go-git/pull/278) ([xiujuan95](https://togithub.com/xiujuan95))
-   Remote: add support for deepening shallow clones [#&#8203;311](https://togithub.com/go-git/go-git/pull/311) ([marwatk](https://togithub.com/marwatk))
-   Submodele, fetch submodules pointing to orphaned but still reachable commits [#&#8203;284](https://togithub.com/go-git/go-git/pull/284) ([edigaryev](https://togithub.com/edigaryev))
-   plumbing: object/patch, printStat strings.Repeat cause panic [#&#8203;310](https://togithub.com/go-git/go-git/pull/310) ([cookeem](https://togithub.com/cookeem))
-   plumbing: format/packfile, prevent large objects from being read into memory completely [#&#8203;303](https://togithub.com/go-git/go-git/pull/303) ([zeripath](https://togithub.com/zeripath))
-   plumbing: transport/ssh, support more formats in `NewPublicKeys` SSH helper [#&#8203;298](https://togithub.com/go-git/go-git/pull/298) ([hiddeco](https://togithub.com/hiddeco))
-   \*: replace golang.org/x/crypto/openpgp by github.com/ProtonMail/go-crypto/openpgp [#&#8203;283](https://togithub.com/go-git/go-git/pull/283) ([johanfleury](https://togithub.com/johanfleury))
-   \*: typo fixes [#&#8203;291](https://togithub.com/go-git/go-git/pull/291) ([jeffwidman](https://togithub.com/jeffwidman))
-   \*: minor doc fixes [#&#8203;287](https://togithub.com/go-git/go-git/pull/287) ([jeffwidman](https://togithub.com/jeffwidman))
-   \*: remove unused unexported const [#&#8203;286](https://togithub.com/go-git/go-git/pull/286) ([jeffwidman](https://togithub.com/jeffwidman))

### [`v5.3.0`](https://togithub.com/go-git/go-git/releases/v5.3.0)

[Compare Source](https://togithub.com/go-git/go-git/compare/v5.2.0...v5.3.0)

#### Change Log

-   transport: ssh, fix cloning large repositories [#&#8203;272](https://togithub.com/go-git/go-git/pull/272) ([dcu](https://togithub.com/dcu))
-   diff: Allow srcPrefix and dstPrefix to be configured [#&#8203;265](https://togithub.com/go-git/go-git/pull/265) ([yabberyabber](https://togithub.com/yabberyabber))
-   Remote: add RequireRemoteRefs to PushOptions [#&#8203;258](https://togithub.com/go-git/go-git/pull/258) ([asuffield](https://togithub.com/asuffield))
-   plumbing: gitignore, Fix gitconfig path in LoadSystemPatterns doc [#&#8203;256](https://togithub.com/go-git/go-git/pull/256) ([andrewarchi](https://togithub.com/andrewarchi))
-   plumbing: wire up contexts for Transport.AdvertisedReferences [#&#8203;246](https://togithub.com/go-git/go-git/pull/246) ([asuffield](https://togithub.com/asuffield))
-   worktree: Don't remove root directory when cleaning [#&#8203;230](https://togithub.com/go-git/go-git/pull/230) ([hansmi](https://togithub.com/hansmi))
-   \*: add insecureSkipTLS and cabundle [#&#8203;228](https://togithub.com/go-git/go-git/pull/228) ([StrongMonkey](https://togithub.com/StrongMonkey))
-   git: worktree_commit, just store objects not already stored [#&#8203;224](https://togithub.com/go-git/go-git/pull/224) ([jsteuer](https://togithub.com/jsteuer))
-   plumbing: packp: adding "object-format" and "filter" capabilities [#&#8203;222](https://togithub.com/go-git/go-git/pull/222) ([rofc](https://togithub.com/rofc))
-   Submodule: fix relative submodule resolution [#&#8203;195](https://togithub.com/go-git/go-git/pull/195) ([adracus](https://togithub.com/adracus))
-   git: worktree, Support relative submodule URL. [#&#8203;184](https://togithub.com/go-git/go-git/pull/184) ([mikyk10](https://togithub.com/mikyk10))
-   config: add init.defaultBranch to the config [#&#8203;178](https://togithub.com/go-git/go-git/pull/178) ([tomlazar](https://togithub.com/tomlazar))
-   config: support insteadOf for remotes' URLs [#&#8203;79](https://togithub.com/go-git/go-git/pull/79) ([kostyay](https://togithub.com/kostyay))

</details>

<details>
<summary>golang-jwt/jwt</summary>

### [`v4.1.0`](https://togithub.com/golang-jwt/jwt/releases/v4.1.0)

[Compare Source](https://togithub.com/golang-jwt/jwt/compare/v4.0.0...v4.1.0)

-   Adds support for go1.17 ([#&#8203;89](https://togithub.com/golang-jwt/jwt/issues/89)).
-   Adds RFC7519-compliant `RegisteredClaims` struct ([#&#8203;15](https://togithub.com/golang-jwt/jwt/issues/15)). Use this instead of `StandardClaims` (deprecated but not removed).
-   Adds generic `crypto.Signer` for `ed25519.PublicKey` ([#&#8203;95](https://togithub.com/golang-jwt/jwt/issues/95)).
-   Adds regular code scanning ([#&#8203;101](https://togithub.com/golang-jwt/jwt/issues/101)).
-   Corrects "exp" logic to conform to https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.4 ([#&#8203;86](https://togithub.com/golang-jwt/jwt/issues/86)).
-   Adds additional parsing tests ([#&#8203;106](https://togithub.com/golang-jwt/jwt/issues/106)).
-   Changed error string ([#&#8203;97](https://togithub.com/golang-jwt/jwt/issues/97)).
-   Various Code fixes and cleanup ([#&#8203;53](https://togithub.com/golang-jwt/jwt/issues/53), [#&#8203;83](https://togithub.com/golang-jwt/jwt/issues/83), [#&#8203;102](https://togithub.com/golang-jwt/jwt/issues/102), [#&#8203;103](https://togithub.com/golang-jwt/jwt/issues/103)).

</details>

<details>
<summary>gosimple/slug</summary>

### [`v1.10.0`](https://togithub.com/gosimple/slug/releases/v1.10.0)

[Compare Source](https://togithub.com/gosimple/slug/compare/v1.9.0...v1.10.0)

<!-- Optional: add a release summary here -->

New release after long time (sorry, I was burnout).

Main points in this release:

-   Thanks to the contributors four new languages substitution was added (French, Norwegian Nynorsk, Dutch (Flemish) and Slovenian). Thank you!
-   Forked https://github.com/rainycape/unidecode to https://github.com/gosimple/unidecode with added fix for handling Unicode U+10000. More Unicode characters handling will be added in the future.

##### 🚀 New features and improvements

-   Adding french language ([#&#8203;48](https://togithub.com/gosimple/slug/issues/48)) by [@&#8203;fraiss-c](https://togithub.com/fraiss-c)
-   Add Norwegian language subs ([#&#8203;50](https://togithub.com/gosimple/slug/issues/50)) by [@&#8203;marcusirgens](https://togithub.com/marcusirgens)
-   Added Slovenian substitutions and tests ([#&#8203;52](https://togithub.com/gosimple/slug/issues/52)) by [@&#8203;stefanb](https://togithub.com/stefanb)
-   Remove forcing of go version 1.13 in modules ([#&#8203;42](https://togithub.com/gosimple/slug/issues/42)) by [@&#8203;matrixik](https://togithub.com/matrixik)

##### 🐛 Bug Fixes

-   Change to gosimple/unidecode fork ([#&#8203;56](https://togithub.com/gosimple/slug/issues/56)) by [@&#8203;matrixik](https://togithub.com/matrixik) (this will fix panic reported in [#&#8203;53](https://togithub.com/gosimple/slug/issues/53))

##### 🧰 Maintenance

-   Update README and always run tests on master ([#&#8203;58](https://togithub.com/gosimple/slug/issues/58)) by [@&#8203;matrixik](https://togithub.com/matrixik)
-   Fix langs alphabetic order in the code ([#&#8203;57](https://togithub.com/gosimple/slug/issues/57)) by [@&#8203;matrixik](https://togithub.com/matrixik)
-   Fix running tests in github workflow ([#&#8203;55](https://togithub.com/gosimple/slug/issues/55)) by [@&#8203;matrixik](https://togithub.com/matrixik)
-   Add github workflow files and remove travis ([#&#8203;54](https://togithub.com/gosimple/slug/issues/54)) by [@&#8203;matrixik](https://togithub.com/matrixik)

</details>

<details>
<summary>joho/godotenv</summary>

### [`v1.4.0`](https://togithub.com/joho/godotenv/releases/v1.4.0)

[Compare Source](https://togithub.com/joho/godotenv/compare/v1.3.0...v1.4.0)

![It's been a long road](https://us.v-cdn.net/6030345/uploads/editor/wb/mwj6cvbprsdp.gif)

Sorry all, it's been a long time between releases. I have small children now!

Biggest changes are:
[#&#8203;133](https://togithub.com/joho/godotenv/issues/133) Fix missing newline on exported files [@&#8203;gnarlex](https://togithub.com/gnarlex)
[#&#8203;109](https://togithub.com/joho/godotenv/issues/109) Export ints without quotes [@&#8203;mniak](https://togithub.com/mniak)
[#&#8203;70](https://togithub.com/joho/godotenv/issues/70) Support keynames starting with export [@&#8203;hairyhenderson](https://togithub.com/hairyhenderson)

I'll try and come back and amend the release with other PR contributors, but thank you to everyone who sent patches in.

Next release will include multiline variables.

</details>

<details>
<summary>mattn/go-isatty</summary>

### [`v0.0.14`](https://togithub.com/mattn/go-isatty/compare/v0.0.13...v0.0.14)

[Compare Source](https://togithub.com/mattn/go-isatty/compare/v0.0.13...v0.0.14)

### [`v0.0.13`](https://togithub.com/mattn/go-isatty/compare/v0.0.12...v0.0.13)

[Compare Source](https://togithub.com/mattn/go-isatty/compare/v0.0.12...v0.0.13)

</details>

<details>
<summary>mitchellh/mapstructure</summary>

### [`v1.4.2`](https://togithub.com/mitchellh/mapstructure/compare/v1.4.1...v1.4.2)

[Compare Source](https://togithub.com/mitchellh/mapstructure/compare/v1.4.1...v1.4.2)

### [`v1.4.1`](https://togithub.com/mitchellh/mapstructure/compare/v1.4.0...v1.4.1)

[Compare Source](https://togithub.com/mitchellh/mapstructure/compare/v1.4.0...v1.4.1)

### [`v1.4.0`](https://togithub.com/mitchellh/mapstructure/compare/v1.3.3...v1.4.0)

[Compare Source](https://togithub.com/mitchellh/mapstructure/compare/v1.3.3...v1.4.0)

### [`v1.3.3`](https://togithub.com/mitchellh/mapstructure/compare/v1.3.2...v1.3.3)

[Compare Source](https://togithub.com/mitchellh/mapstructure/compare/v1.3.2...v1.3.3)

### [`v1.3.2`](https://togithub.com/mitchellh/mapstructure/compare/v1.3.1...v1.3.2)

[Compare Source](https://togithub.com/mitchellh/mapstructure/compare/v1.3.1...v1.3.2)

</details>

<details>
<summary>spf13/cobra</summary>

### [`v1.2.1`](https://togithub.com/spf13/cobra/releases/v1.2.1)

[Compare Source](https://togithub.com/spf13/cobra/compare/v1.2.0...v1.2.1)

##### Bug fixes

-   Quickfix for [https://github.com/spf13/cobra/issues/1437](https://togithub.com/spf13/cobra/issues/1437) after v1.2.0 where parallel use of the `cmd.RegisterFlagCompletionFunc()` (and subsequent map) now works correctly and flag completions now work again

### [`v1.2.0`](https://togithub.com/spf13/cobra/releases/v1.2.0)

[Compare Source](https://togithub.com/spf13/cobra/compare/v1.1.3...v1.2.0)

### :stars: v1.2.0 - The completions release

Welcome to v1.2.0 of Cobra! This release focuses on code completions, several critical bug fixes, some documentation updates, and security bumps. Upgrading should be simple but note please take note of the introduction of completions V2 and their default use. The v1 completions library is still available, but will be *deprecated* in the future. Please open an issue with any problems!

***

#### New Features

-   Automatically adds `completion` command for shell completions. If a `completion` command is already provided, uses that instead. This will *automatically* provide shell completions for bash, zsh, fish, and PowerShell  [https://github.com/spf13/cobra/pull/1192](https://togithub.com/spf13/cobra/pull/1192)
    -   Users can configure the command auto creation:
        -   disable the creation of the completion command
        -   disable completion descriptions
        -   disable the `--no-descriptions` flag for "always on" completion descriptions
-   Introduction of bash completions V2, a uniform completion approach which include completion descriptions. The V1 bash completions are still available *and will be deprecated* in a latter release - [https://github.com/spf13/cobra/pull/1146](https://togithub.com/spf13/cobra/pull/1146)
    -   Note that projects providing completion through a different command name (say a command named "complete") will continue to use v1 for their own command but will also provide cobra's implicit "completion" command which will use v2, unless of course, these projects take the time to disable the default "completion" command as noted above.
-   Commands now support context being passed to completions - [https://github.com/spf13/cobra/pull/1265](https://togithub.com/spf13/cobra/pull/1265)
    -   An example can be found here: [https://github.com/spf13/cobra/pull/1265#issuecomment-734551031](https://togithub.com/spf13/cobra/pull/1265#issuecomment-734551031)
-   Removed dependency on`mitchellh/go-homedir` in favor of core Go `os.UserHomeDir()` - https://github.com/spf13/cobra/commit/8eaca5f0f49ad747a0722d39dca7a75c34abd21a

#### Bug Fixes

-   Fix trailing whitespace not being handled in powershell completion scripts [https://github.com/spf13/cobra/pull/1342](https://togithub.com/spf13/cobra/pull/1342)
-   Bash completion variable leak fix [https://github.com/spf13/cobra/pull/1352](https://togithub.com/spf13/cobra/pull/1352)
-   Fish shell completions correctly ignore trailing empty lines [https://github.com/spf13/cobra/pull/1284](https://togithub.com/spf13/cobra/pull/1284)
-   PowerShell completions fix for "no file comp directive" - [https://github.com/spf13/cobra/pull/1363](https://togithub.com/spf13/cobra/pull/1363)
-   Custom completions now correctly handle multiple shorthand flags together - [https://github.com/spf13/cobra/pull/1258](https://togithub.com/spf13/cobra/pull/1258)
-   zsh completions now correctly handle `ShellDirectiveCompletionNoSpace` and file completion all the time - [https://github.com/spf13/cobra/pull/1213](https://togithub.com/spf13/cobra/pull/1213)
-   Multiple fixes / improvements to the fish shell support - [https://github.com/spf13/cobra/pull/1249](https://togithub.com/spf13/cobra/pull/1249)
-   Fix home directory config not loading correctly - [https://github.com/spf13/cobra/pull/1282](https://togithub.com/spf13/cobra/pull/1282)
-   Fix for `RegisterFlagCompletionFunc` as a global var not working in multi-threaded programs: [https://github.com/spf13/cobra/pull/1423](https://togithub.com/spf13/cobra/pull/1423)
-   Custom completions correctly do not complete flags after args when interspersed is false [#&#8203;1308](https://togithub.com/spf13/cobra/issues/1308)

#### Testing

-   Deprecated Travis CI. Now fully using Github Actions - https://github.com/spf13/cobra/commit/d0f318d45bdb46e3c1bc314c6096674426f1a620
-   Added test cases and enhancements (thank you to everyone for taking the time to add tests to your PRs!)
-   Shoutout to [@&#8203;marckhouzam](https://togithub.com/marckhouzam) and [@&#8203;Luap99](https://togithub.com/Luap99) for their hard work on a cobra command completions testing library. [Check out the repo here!](https://togithub.com/marckhouzam/cobra-completion-testing)

#### Security

-   Bump viper to 1.8.1. This corrects several issues with vulnerabilities existing in the dependency tree - [https://github.com/spf13/cobra/pull/1433](https://togithub.com/spf13/cobra/pull/1433)

#### Other

-   Add PR labeler with pull_request_target to enable tests to run from forks - [https://github.com/spf13/cobra/pull/1338](https://togithub.com/spf13/cobra/pull/1338)
-   CI using MSYS2 windows machines pull latest - [https://github.com/spf13/cobra/pull/1366](https://togithub.com/spf13/cobra/pull/1366)
-   Multiple small fixes to spelling / documentation - [https://github.com/spf13/cobra/pull/1349](https://togithub.com/spf13/cobra/pull/1349) [https://github.com/spf13/cobra/pull/1417](https://togithub.com/spf13/cobra/pull/1417) [https://github.com/spf13/cobra/pull/1434](https://togithub.com/spf13/cobra/pull/1434)

**Thank you to *all* our amazing contributors :snake::rocket:**

</details>

<details>
<summary>stretchr/testify</summary>

### [`v1.7.0`](https://togithub.com/stretchr/testify/releases/v1.7.0)

[Compare Source](https://togithub.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Minor feature improvements and bug fixes

</details>

<details>
<summary>segmentio/analytics-go</summary>

### [`v3.2.0`](https://togithub.com/segmentio/analytics-go/compare/v3.1.0...v3.2.0)

[Compare Source](https://togithub.com/segmentio/analytics-go/compare/v3.1.0...v3.2.0)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/airplanedev/cli).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants