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

Fix name collision with import in generated code #688

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

timostamm
Copy link
Member

@timostamm timostamm commented Jan 29, 2024

Fixes #687 by aliasing all imports that would conflict with an identifier created with exportDecl.

Comment on lines +18 to +23
import "extra/example.proto";

// This message class will clash with the imported message class
message User {
docs.User u = 1; // Reference the import with the same name to trigger a clash
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We trigger the issue by declaring a message, and importing a message with the same name from a different namespace.

Comment on lines 20 to 27
import { User } from "./example_pb.js";

/**
* This message class will clash with the imported message class
*
* @generated from message spec.User
*/
export const User = proto3.makeMessageType(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a result, we end up with two conflicting identifiers - the import, and the declaration.

Comment on lines +51 to +62
test("forces import with same name to be aliased", async () => {
const lines = await testGenerate((f) => {
f.print(f.import("Foo", "pkg"));
f.print(f.exportDecl("const", "Foo"), " = 123;");
});
expect(lines).toStrictEqual([
`import { Foo as Foo$1 } from "pkg";`,
``,
`Foo$1`,
`export const Foo = 123;`,
]);
});
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fails with:

    - Expected  - 2
    + Received  + 2

      Array [
    -   "import { Foo as Foo$1 } from \"pkg\";",
    +   "import { Foo } from \"pkg\";",
        "",
    -   "Foo$1",
    +   "Foo",
        "export const Foo = 123;",
      ]

Comment on lines +20 to +27
import { User as User$1 } from "./example_pb.js";

/**
* This message class will clash with the imported message class
*
* @generated from message spec.User
*/
export const User = proto3.makeMessageType(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the fix 729b9f3, the import is aliased as expected.

@timostamm timostamm marked this pull request as ready for review January 29, 2024 18:04
@timostamm timostamm merged commit 11e0f56 into main Jan 29, 2024
6 checks passed
@timostamm timostamm deleted the tstamm/fix-import-conflict branch January 29, 2024 18:27
This was referenced Feb 1, 2024
alecthomas referenced this pull request in TBD54566975/ftl Feb 5, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update |
|---|---|---|---|---|---|---|---|
| [@bufbuild/protoc-gen-es](https://togithub.com/bufbuild/protobuf-es)
([source](https://togithub.com/bufbuild/protobuf-es/tree/HEAD/packages/protoc-gen-es))
| [`1.7.0` ->
`1.7.2`](https://renovatebot.com/diffs/npm/@bufbuild%2fprotoc-gen-es/1.7.0/1.7.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@bufbuild%2fprotoc-gen-es/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@bufbuild%2fprotoc-gen-es/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@bufbuild%2fprotoc-gen-es/1.7.0/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@bufbuild%2fprotoc-gen-es/1.7.0/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
|
[@swc/jest](https://togithub.com/swc-project/pkgs/tree/main/packages/jest)
([source](https://togithub.com/swc-project/pkgs)) | [`0.2.31` ->
`0.2.34`](https://renovatebot.com/diffs/npm/@swc%2fjest/0.2.31/0.2.34) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fjest/0.2.34?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fjest/0.2.34?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fjest/0.2.31/0.2.34?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fjest/0.2.31/0.2.34?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
|
[@testing-library/jest-dom](https://togithub.com/testing-library/jest-dom)
| [`6.3.0` ->
`6.4.1`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/6.3.0/6.4.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fjest-dom/6.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fjest-dom/6.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fjest-dom/6.3.0/6.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fjest-dom/6.3.0/6.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor |
|
[@testing-library/react](https://togithub.com/testing-library/react-testing-library)
| [`14.1.2` ->
`14.2.1`](https://renovatebot.com/diffs/npm/@testing-library%2freact/14.1.2/14.2.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact/14.1.2/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact/14.1.2/14.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor |
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react))
| [`18.2.48` ->
`18.2.52`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.48/18.2.52)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.52?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.52?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.48/18.2.52?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.48/18.2.52?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
|
[@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint)
([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin))
| [`6.19.1` ->
`6.20.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.19.1/6.20.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/6.19.1/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/6.19.1/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor |
|
[@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint)
([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser))
| [`6.19.1` ->
`6.20.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.19.1/6.20.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/6.19.1/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/6.19.1/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor |
|
[@typescript-eslint/typescript-estree](https://togithub.com/typescript-eslint/typescript-eslint)
([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree))
| [`6.19.1` ->
`6.20.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2ftypescript-estree/6.19.1/6.20.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2ftypescript-estree/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2ftypescript-estree/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2ftypescript-estree/6.19.1/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2ftypescript-estree/6.19.1/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor |
| [act](https://togithub.com/nektos/act) | `0.2.57` -> `0.2.59` |
[![age](https://developer.mend.io/api/mc/badges/age/hermit/act/0.2.59?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/act/0.2.59?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/act/0.2.57/0.2.59?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/act/0.2.57/0.2.59?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| | patch |
| [github.com/jackc/pgx/v5](https://togithub.com/jackc/pgx) | `v5.5.2`
-> `v5.5.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fjackc%2fpgx%2fv5/v5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fjackc%2fpgx%2fv5/v5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fjackc%2fpgx%2fv5/v5.5.2/v5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fjackc%2fpgx%2fv5/v5.5.2/v5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
| [github.com/tmc/langchaingo](https://togithub.com/tmc/langchaingo) |
`v0.1.3` -> `v0.1.4` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftmc%2flangchaingo/v0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftmc%2flangchaingo/v0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftmc%2flangchaingo/v0.1.3/v0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftmc%2flangchaingo/v0.1.3/v0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
| [lint-staged](https://togithub.com/okonet/lint-staged) | [`15.2.0` ->
`15.2.1`](https://renovatebot.com/diffs/npm/lint-staged/15.2.0/15.2.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.0/15.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.0/15.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [npm-run-all2](https://togithub.com/bcomnes/npm-run-all2) | [`6.1.1`
-> `6.1.2`](https://renovatebot.com/diffs/npm/npm-run-all2/6.1.1/6.1.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/npm-run-all2/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/npm-run-all2/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/npm-run-all2/6.1.1/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/npm-run-all2/6.1.1/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [prettier](https://prettier.io)
([source](https://togithub.com/prettier/prettier)) | [`3.2.4` ->
`3.2.5`](https://renovatebot.com/diffs/npm/prettier/3.2.4/3.2.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.2.4/3.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.2.4/3.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [react-router-dom](https://togithub.com/remix-run/react-router)
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router-dom))
| [`6.21.3` ->
`6.22.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.21.3/6.22.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.21.3/6.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.21.3/6.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor |
| [typed-css-modules](https://togithub.com/Quramy/typed-css-modules) |
[`0.9.0` ->
`0.9.1`](https://renovatebot.com/diffs/npm/typed-css-modules/0.9.0/0.9.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/typed-css-modules/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typed-css-modules/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typed-css-modules/0.9.0/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typed-css-modules/0.9.0/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
|
[com.github.ozsie:detekt-maven-plugin](https://togithub.com/Ozsie/detekt-maven-plugin)
([source](https://togithub.com/ozsie/detekt-maven-plugin)) | `1.23.4` ->
`1.23.5` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.github.ozsie:detekt-maven-plugin/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.github.ozsie:detekt-maven-plugin/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.github.ozsie:detekt-maven-plugin/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.github.ozsie:detekt-maven-plugin/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| build | patch |
|
[org.assertj:assertj-core](https://assertj.github.io/doc/#assertj-core)
([source](https://togithub.com/assertj/assertj)) | `3.25.2` -> `3.25.3`
|
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.assertj:assertj-core/3.25.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.assertj:assertj-core/3.25.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.assertj:assertj-core/3.25.2/3.25.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.assertj:assertj-core/3.25.2/3.25.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| test | patch |
| [org.junit:junit-bom](https://junit.org/junit5/)
([source](https://togithub.com/junit-team/junit5)) | `5.10.1` ->
`5.10.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.junit:junit-bom/5.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.junit:junit-bom/5.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.junit:junit-bom/5.10.1/5.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.junit:junit-bom/5.10.1/5.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| import | patch |
| [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.61.0` ->
`1.61.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.grpc:grpc-stub/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.grpc:grpc-stub/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.grpc:grpc-stub/1.61.0/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.grpc:grpc-stub/1.61.0/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| compile | patch |
| [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) |
`1.61.0` -> `1.61.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.grpc:grpc-protobuf/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.grpc:grpc-protobuf/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.grpc:grpc-protobuf/1.61.0/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.grpc:grpc-protobuf/1.61.0/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| compile | patch |
| [io.grpc:grpc-netty](https://togithub.com/grpc/grpc-java) | `1.61.0`
-> `1.61.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.grpc:grpc-netty/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.grpc:grpc-netty/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.grpc:grpc-netty/1.61.0/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.grpc:grpc-netty/1.61.0/1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| compile | patch |
| [com.squareup.wire:wire-compiler](https://togithub.com/square/wire) |
`4.9.5` -> `4.9.6` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.squareup.wire:wire-compiler/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.squareup.wire:wire-compiler/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.squareup.wire:wire-compiler/4.9.5/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.squareup.wire:wire-compiler/4.9.5/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| | patch |
|
[com.squareup.wire:wire-grpc-client-jvm](https://togithub.com/square/wire)
| `4.9.5` -> `4.9.6` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.squareup.wire:wire-grpc-client-jvm/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.squareup.wire:wire-grpc-client-jvm/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.squareup.wire:wire-grpc-client-jvm/4.9.5/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.squareup.wire:wire-grpc-client-jvm/4.9.5/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| compile | patch |
| [com.squareup.wire:wire-grpc-server](https://togithub.com/square/wire)
| `4.9.5` -> `4.9.6` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.squareup.wire:wire-grpc-server/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.squareup.wire:wire-grpc-server/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.squareup.wire:wire-grpc-server/4.9.5/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.squareup.wire:wire-grpc-server/4.9.5/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| compile | patch |
| [com.squareup.wire:wire-runtime-jvm](https://togithub.com/square/wire)
| `4.9.5` -> `4.9.6` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.squareup.wire:wire-runtime-jvm/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.squareup.wire:wire-runtime-jvm/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.squareup.wire:wire-runtime-jvm/4.9.5/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.squareup.wire:wire-runtime-jvm/4.9.5/4.9.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| compile | patch |
| [io.gitlab.arturbosch.detekt:detekt-test](https://detekt.dev)
([source](https://togithub.com/detekt/detekt)) | `1.23.4` -> `1.23.5` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.gitlab.arturbosch.detekt:detekt-test/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.gitlab.arturbosch.detekt:detekt-test/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.gitlab.arturbosch.detekt:detekt-test/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.gitlab.arturbosch.detekt:detekt-test/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| test | patch |
| [io.gitlab.arturbosch.detekt:detekt-api](https://detekt.dev)
([source](https://togithub.com/detekt/detekt)) | `1.23.4` -> `1.23.5` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.gitlab.arturbosch.detekt:detekt-api/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.gitlab.arturbosch.detekt:detekt-api/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.gitlab.arturbosch.detekt:detekt-api/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.gitlab.arturbosch.detekt:detekt-api/1.23.4/1.23.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| compile | patch |

---

### Release Notes

<details>
<summary>bufbuild/protobuf-es (@&#8203;bufbuild/protoc-gen-es)</summary>

###
[`v1.7.2`](https://togithub.com/bufbuild/protobuf-es/releases/tag/v1.7.2)

[Compare
Source](https://togithub.com/bufbuild/protobuf-es/compare/v1.7.1...v1.7.2)

#### What's Changed

- Fix name collision with import in generated code by
[@&#8203;timostamm](https://togithub.com/timostamm) in
[https://github.com/bufbuild/protobuf-es/pull/688](https://togithub.com/bufbuild/protobuf-es/pull/688)
- Add missing extension to import of descriptor-set for module
resolution NodeNext by
[@&#8203;tehwalris](https://togithub.com/tehwalris) in
[https://github.com/bufbuild/protobuf-es/pull/690](https://togithub.com/bufbuild/protobuf-es/pull/690)
- Fix proto3 extension presence for singular, non-optional scalar by
[@&#8203;timostamm](https://togithub.com/timostamm) in
[https://github.com/bufbuild/protobuf-es/pull/689](https://togithub.com/bufbuild/protobuf-es/pull/689)
- Fix typing for proto2 required fields with target=dts by
[@&#8203;timostamm](https://togithub.com/timostamm) in
[https://github.com/bufbuild/protobuf-es/pull/691](https://togithub.com/bufbuild/protobuf-es/pull/691)

#### New Contributors

- [@&#8203;tehwalris](https://togithub.com/tehwalris) made their first
contribution in
[https://github.com/bufbuild/protobuf-es/pull/690](https://togithub.com/bufbuild/protobuf-es/pull/690)

**Full Changelog**:
https://github.com/bufbuild/protobuf-es/compare/v1.7.1...v1.7.2

###
[`v1.7.1`](https://togithub.com/bufbuild/protobuf-es/releases/tag/v1.7.1)

[Compare
Source](https://togithub.com/bufbuild/protobuf-es/compare/v1.7.0...v1.7.1)

#### What's Changed

- Avoid parsing feature-set defaults at module initialization by
[@&#8203;timostamm](https://togithub.com/timostamm) in
[https://github.com/bufbuild/protobuf-es/pull/683](https://togithub.com/bufbuild/protobuf-es/pull/683)
- Fix printing large 64-bit integers in
[@&#8203;bufbuild/protoplugin](https://togithub.com/bufbuild/protoplugin)
by [@&#8203;timostamm](https://togithub.com/timostamm) in
[https://github.com/bufbuild/protobuf-es/pull/682](https://togithub.com/bufbuild/protobuf-es/pull/682)
- Fix parsing JSON null in proto2 by
[@&#8203;timostamm](https://togithub.com/timostamm) in
[https://github.com/bufbuild/protobuf-es/pull/685](https://togithub.com/bufbuild/protobuf-es/pull/685)

**Full Changelog**:
https://github.com/bufbuild/protobuf-es/compare/v1.7.0...v1.7.1

</details>

<details>
<summary>swc-project/pkgs (@&#8203;swc/jest)</summary>

###
[`v0.2.32`](https://togithub.com/swc-project/pkgs/compare/c7bdf28503de4a95a75f0d794202aab1c7bca026...ed4e70a9014d827af288e0f16392c7d026f74f86)

[Compare
Source](https://togithub.com/swc-project/pkgs/compare/c7bdf28503de4a95a75f0d794202aab1c7bca026...ed4e70a9014d827af288e0f16392c7d026f74f86)

</details>

<details>
<summary>testing-library/jest-dom
(@&#8203;testing-library/jest-dom)</summary>

###
[`v6.4.1`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.4.1)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.4.0...v6.4.1)

##### Bug Fixes

- Export type `TestingLibraryMatchers` from "./matchers"
([#&#8203;576](https://togithub.com/testing-library/jest-dom/issues/576))
([dd1c4dd](https://togithub.com/testing-library/jest-dom/commit/dd1c4dd504973efced2f9e02a35e7df3079914af))

###
[`v6.4.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.4.0)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.3.0...v6.4.0)

##### Features

- Add toHaveRole matcher
([#&#8203;572](https://togithub.com/testing-library/jest-dom/issues/572))
([f7dc673](https://togithub.com/testing-library/jest-dom/commit/f7dc673dbc13e508f9867a9eb9c547ce3964b22c))

</details>

<details>
<summary>testing-library/react-testing-library
(@&#8203;testing-library/react)</summary>

###
[`v14.2.1`](https://togithub.com/testing-library/react-testing-library/releases/tag/v14.2.1)

[Compare
Source](https://togithub.com/testing-library/react-testing-library/compare/v14.2.0...v14.2.1)

##### Bug Fixes

- Update types to support all possible react component return values
([#&#8203;1272](https://togithub.com/testing-library/react-testing-library/issues/1272))
([55e79c2](https://togithub.com/testing-library/react-testing-library/commit/55e79c290d3ec8a8eb3d39539e2c05bf35dff3d9))

###
[`v14.2.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v14.2.0)

[Compare
Source](https://togithub.com/testing-library/react-testing-library/compare/v14.1.2...v14.2.0)

##### Features

- add `reactStrictMode` option to enable strict mode render
([#&#8203;1241](https://togithub.com/testing-library/react-testing-library/issues/1241))
([0880eba](https://togithub.com/testing-library/react-testing-library/commit/0880eba4a01c030f942ad93600081bbb86eac959))

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v6.20.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6200-2024-01-29)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.1...v6.20.0)

##### 🚀 Features

- **eslint-plugin:** \[member-ordering] allow easy reuse of the default
ordering

##### 🩹 Fixes

- **eslint-plugin:** \[no-useless-template-literals] incorrect bigint
autofix result

- **eslint-plugin:** \[prefer-nullish-coalescing] treat any/unknown as
non-nullable

- **eslint-plugin:** \[no-useless-template-literals] report Infinity &
NaN

-   **eslint-plugin:** \[prefer-readonly] disable checking accessors

##### ❤️  Thank You

-   Alex Parloti
-   auvred
-   James Browning
-   StyleShit
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`v6.20.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6200-2024-01-29)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.1...v6.20.0)

This was a version bump only for parser to align it with other projects,
there were no code changes.

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/typescript-estree)</summary>

###
[`v6.20.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-estree/CHANGELOG.md#6200-2024-01-29)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.1...v6.20.0)

This was a version bump only for typescript-estree to align it with
other projects, there were no code changes.

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>nektos/act (act)</summary>

### [`v0.2.59`](https://togithub.com/nektos/act/releases/tag/v0.2.59)

#### Changelog

##### New Features

- [`12c0c42`](https://togithub.com/nektos/act/commit/12c0c42) feat:
correctly use the xdg library, which has the side effect to fix the
config survey
([#&#8203;2195](https://togithub.com/nektos/act/issues/2195))

##### Other

- [`b7a8145`](https://togithub.com/nektos/act/commit/b7a8145) chore:
bump VERSION to 0.2.59

### [`v0.2.58`](https://togithub.com/nektos/act/releases/tag/v0.2.58)

#### Changelog

##### New Features

- [`f055d4a`](https://togithub.com/nektos/act/commit/f055d4a) feat:
support offline mode
([#&#8203;2128](https://togithub.com/nektos/act/issues/2128))
- [`f7a846d`](https://togithub.com/nektos/act/commit/f7a846d) feat: cli
option to enable the new action cache
([#&#8203;1954](https://togithub.com/nektos/act/issues/1954))

##### Bug fixes

- [`054caec`](https://togithub.com/nektos/act/commit/054caec) fix: use
correct path to toolcache
([#&#8203;1494](https://togithub.com/nektos/act/issues/1494))
- [`5e0d29d`](https://togithub.com/nektos/act/commit/5e0d29d) fix:
improve warning about remote not found
([#&#8203;2169](https://togithub.com/nektos/act/issues/2169))
- [`6dd6725`](https://togithub.com/nektos/act/commit/6dd6725) fix:
improve new-action-cache fetch failure error
([#&#8203;2172](https://togithub.com/nektos/act/issues/2172))
- [`09d4b5d`](https://togithub.com/nektos/act/commit/09d4b5d) fix:
subpath actions via new artifact cache
([#&#8203;2170](https://togithub.com/nektos/act/issues/2170))
- [`a6ec2c1`](https://togithub.com/nektos/act/commit/a6ec2c1) fix:
improve action not found error
([#&#8203;2171](https://togithub.com/nektos/act/issues/2171))
- [`6091094`](https://togithub.com/nektos/act/commit/6091094) fix: write
default config in XDG config dir to avoid cluttering the HOME directory
by default ([#&#8203;2140](https://togithub.com/nektos/act/issues/2140))
- [`7f7d84b`](https://togithub.com/nektos/act/commit/7f7d84b) fix: match
cache `restore-keys` in creation reverse order
([#&#8203;2153](https://togithub.com/nektos/act/issues/2153))

##### Other

- [`3ed38d8`](https://togithub.com/nektos/act/commit/3ed38d8) chore:
bump VERSION to 0.2.58
- [`0dbf44c`](https://togithub.com/nektos/act/commit/0dbf44c)
build(deps): bump github.com/opencontainers/runc from 1.1.7 to 1.1.12
([#&#8203;2187](https://togithub.com/nektos/act/issues/2187))
- [`6dcf9bc`](https://togithub.com/nektos/act/commit/6dcf9bc)
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.12.5
([#&#8203;2188](https://togithub.com/nektos/act/issues/2188))
- [`df61c7f`](https://togithub.com/nektos/act/commit/df61c7f)
build(deps): bump github.com/containerd/containerd from 1.6.19 to 1.6.26
([#&#8203;2189](https://togithub.com/nektos/act/issues/2189))
- [`36e0261`](https://togithub.com/nektos/act/commit/36e0261)
build(deps): bump github.com/opencontainers/image-spec
([#&#8203;2167](https://togithub.com/nektos/act/issues/2167))
- [`46dc2ff`](https://togithub.com/nektos/act/commit/46dc2ff)
build(deps): bump github.com/moby/buildkit from 0.12.4 to 0.12.5
([#&#8203;2186](https://togithub.com/nektos/act/issues/2186))
- [`5a80a04`](https://togithub.com/nektos/act/commit/5a80a04) refactor:
filecollector into new package
([#&#8203;2174](https://togithub.com/nektos/act/issues/2174))
- [`4ca35d2`](https://togithub.com/nektos/act/commit/4ca35d2)
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5
([#&#8203;2175](https://togithub.com/nektos/act/issues/2175))
- [`424fd5e`](https://togithub.com/nektos/act/commit/424fd5e)
refactor(cmd/root): simplify `parseEnvs`
([#&#8203;2162](https://togithub.com/nektos/act/issues/2162))
- [`6a8c42a`](https://togithub.com/nektos/act/commit/6a8c42a) Add
containerd's normalized architectures to archMapper
([#&#8203;2168](https://togithub.com/nektos/act/issues/2168))
- [`c215e08`](https://togithub.com/nektos/act/commit/c215e08)
build(deps): bump megalinter/megalinter from 7.7.0 to 7.8.0
([#&#8203;2164](https://togithub.com/nektos/act/issues/2164))
- [`8072a00`](https://togithub.com/nektos/act/commit/8072a00)
WorkflowDispatchConfig supports multiple yaml node kinds
([#&#8203;2123](https://togithub.com/nektos/act/issues/2123))
- [`15bb54f`](https://togithub.com/nektos/act/commit/15bb54f)
build(deps): bump actions/upload-artifact from 3 to 4
([#&#8203;2133](https://togithub.com/nektos/act/issues/2133))
- [`cd40f3f`](https://togithub.com/nektos/act/commit/cd40f3f) ci:
automatic merge PRs created by a maintainer and approved by 1 other
maintainer ([#&#8203;2156](https://togithub.com/nektos/act/issues/2156))
- [`adbe229`](https://togithub.com/nektos/act/commit/adbe229) Add
support for NetBSD
([#&#8203;2023](https://togithub.com/nektos/act/issues/2023))
- [`96d6cf8`](https://togithub.com/nektos/act/commit/96d6cf8)
build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7
([#&#8203;2149](https://togithub.com/nektos/act/issues/2149))
- [`ef5746b`](https://togithub.com/nektos/act/commit/ef5746b)
build(deps): bump golang.org/x/term from 0.15.0 to 0.16.0
([#&#8203;2148](https://togithub.com/nektos/act/issues/2148))

</details>

<details>
<summary>jackc/pgx (github.com/jackc/pgx/v5)</summary>

### [`v5.5.3`](https://togithub.com/jackc/pgx/compare/v5.5.2...v5.5.3)

[Compare Source](https://togithub.com/jackc/pgx/compare/v5.5.2...v5.5.3)

</details>

<details>
<summary>tmc/langchaingo (github.com/tmc/langchaingo)</summary>

### [`v0.1.4`](https://togithub.com/tmc/langchaingo/releases/tag/v0.1.4)

[Compare
Source](https://togithub.com/tmc/langchaingo/compare/v0.1.3...v0.1.4)

#### What's Changed

- Add GenerationInfo to GenerateContent by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/488](https://togithub.com/tmc/langchaingo/pull/488)
- Clean up GeneratePrompt -- unused code, and simplify caller by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/489](https://togithub.com/tmc/langchaingo/pull/489)
- fix unmarshalling of chatmessage by
[@&#8203;ctrlaltdel121](https://togithub.com/ctrlaltdel121) in
[https://github.com/tmc/langchaingo/pull/491](https://togithub.com/tmc/langchaingo/pull/491)
- feature: add new gemini llm supporting new experimental interface by
[@&#8203;mrothroc](https://togithub.com/mrothroc) in
[https://github.com/tmc/langchaingo/pull/497](https://togithub.com/tmc/langchaingo/pull/497)
- Add Ollama test and remove custom prompt for chat by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/495](https://togithub.com/tmc/langchaingo/pull/495)
- ollama: Clean up Ollama options by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/496](https://togithub.com/tmc/langchaingo/pull/496)
- googleai: set up options and embeddings by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/498](https://togithub.com/tmc/langchaingo/pull/498)
- Extend Model / GenerateContent interface to support multi-content
chats by [@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/500](https://togithub.com/tmc/langchaingo/pull/500)
- Add multi-turn tests for new GenerateContent capabilities by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/501](https://togithub.com/tmc/langchaingo/pull/501)
- ollama: implement Model interface with GenerateContent by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/502](https://togithub.com/tmc/langchaingo/pull/502)
- Test streaming support in GenerateContent in openai and ollama by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/503](https://togithub.com/tmc/langchaingo/pull/503)
- googleai: implement streaming and some generation options by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/504](https://togithub.com/tmc/langchaingo/pull/504)
- Add function invocation into GenerateContent responses by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/512](https://togithub.com/tmc/langchaingo/pull/512)
- googleai: fix streaming termination by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/515](https://togithub.com/tmc/langchaingo/pull/515)
- Add callback handler method for GenerateContent start and end by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/514](https://togithub.com/tmc/langchaingo/pull/514)
- Finalize the majority of the model/LLM interface refactoring by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/521](https://togithub.com/tmc/langchaingo/pull/521)
- all: clean up now unused types Generation and LLMResult by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/523](https://togithub.com/tmc/langchaingo/pull/523)
- all: clean up and update comments by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/524](https://togithub.com/tmc/langchaingo/pull/524)
- docs: add example to embeddings by
[@&#8203;haochunchang](https://togithub.com/haochunchang) in
[https://github.com/tmc/langchaingo/pull/518](https://togithub.com/tmc/langchaingo/pull/518)
- Deprecate the LLM interface by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/525](https://togithub.com/tmc/langchaingo/pull/525)
- googleai: fix test comparisons to use case-insensitive regexps by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/528](https://togithub.com/tmc/langchaingo/pull/528)
- googleai: add more model parameters and update comments by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/529](https://togithub.com/tmc/langchaingo/pull/529)
- googleai: move downloadImageData to separate file by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/530](https://togithub.com/tmc/langchaingo/pull/530)
- Link to LangChain Python (deserves credit) by
[@&#8203;carsonkahn-external](https://togithub.com/carsonkahn-external)
in
[https://github.com/tmc/langchaingo/pull/509](https://togithub.com/tmc/langchaingo/pull/509)
- vectorstores: Weaviate make additional fields configurable by
[@&#8203;jvgrootveld](https://togithub.com/jvgrootveld) in
[https://github.com/tmc/langchaingo/pull/522](https://togithub.com/tmc/langchaingo/pull/522)
- ollama: add WithHttpClient option by
[@&#8203;elnoro](https://togithub.com/elnoro) in
[https://github.com/tmc/langchaingo/pull/505](https://togithub.com/tmc/langchaingo/pull/505)
- googleai: propagate more options and add test by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/532](https://togithub.com/tmc/langchaingo/pull/532)
- llms: configure multiple response candidates for models that support
them by [@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/533](https://togithub.com/tmc/langchaingo/pull/533)
- vectorstores: added pgvector example by
[@&#8203;elnoro](https://togithub.com/elnoro) in
[https://github.com/tmc/langchaingo/pull/534](https://togithub.com/tmc/langchaingo/pull/534)
- weaviate: add option to deduplicate documents while adding by
[@&#8203;corani](https://togithub.com/corani) in
[https://github.com/tmc/langchaingo/pull/527](https://togithub.com/tmc/langchaingo/pull/527)
- weaviate: honor vectorstores.WithEmbedder by
[@&#8203;corani](https://togithub.com/corani) in
[https://github.com/tmc/langchaingo/pull/526](https://togithub.com/tmc/langchaingo/pull/526)
- vectorstores: pgvector add option WithConn by
[@&#8203;Abirdcfly](https://togithub.com/Abirdcfly) in
[https://github.com/tmc/langchaingo/pull/499](https://togithub.com/tmc/langchaingo/pull/499)
- memory: fix cutMessages in ConversationWindowBuffer by
[@&#8203;Abirdcfly](https://togithub.com/Abirdcfly) in
[https://github.com/tmc/langchaingo/pull/506](https://togithub.com/tmc/langchaingo/pull/506)
- textsplitter: render code blocks and reference links by
[@&#8203;corani](https://togithub.com/corani) in
[https://github.com/tmc/langchaingo/pull/493](https://togithub.com/tmc/langchaingo/pull/493)
- templates: Add f-string based templating implementation by
[@&#8203;chyroc](https://togithub.com/chyroc) in
[https://github.com/tmc/langchaingo/pull/479](https://togithub.com/tmc/langchaingo/pull/479)
- agents: add openai functions agent by
[@&#8203;lujingxuansc](https://togithub.com/lujingxuansc) in
[https://github.com/tmc/langchaingo/pull/459](https://togithub.com/tmc/langchaingo/pull/459)
- bug fix: openai_functions_agent not compatible with the new llms.Model
interface by [@&#8203;DevinYF](https://togithub.com/DevinYF) in
[https://github.com/tmc/langchaingo/pull/536](https://togithub.com/tmc/langchaingo/pull/536)
- llms: rename convenience function to GenerateFromSinglePrompt by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/537](https://togithub.com/tmc/langchaingo/pull/537)
- googleai: test GenerateFromSinglePrompt convenience function by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/538](https://togithub.com/tmc/langchaingo/pull/538)
- docs: add pgvector page by
[@&#8203;elnoro](https://togithub.com/elnoro) in
[https://github.com/tmc/langchaingo/pull/535](https://togithub.com/tmc/langchaingo/pull/535)
- googleai: add initial Vertex (GCP) implementation of Model by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/540](https://togithub.com/tmc/langchaingo/pull/540)
- googleai: move the PaLM provider into googleai by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/541](https://togithub.com/tmc/langchaingo/pull/541)
- embeddings: add cybertron local embeddings by
[@&#8203;corani](https://togithub.com/corani) in
[https://github.com/tmc/langchaingo/pull/531](https://togithub.com/tmc/langchaingo/pull/531)
- googleai: add embeddings to vertex by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/546](https://togithub.com/tmc/langchaingo/pull/546)
- googleai: refactor to better separate generated code by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/547](https://togithub.com/tmc/langchaingo/pull/547)
- huggingface: allows to set custom inference endpoint by
[@&#8203;mheers](https://togithub.com/mheers) in
[https://github.com/tmc/langchaingo/pull/545](https://togithub.com/tmc/langchaingo/pull/545)
- cybertron: add example for cybertron embeddings by
[@&#8203;corani](https://togithub.com/corani) in
[https://github.com/tmc/langchaingo/pull/543](https://togithub.com/tmc/langchaingo/pull/543)
- Move utility function by [@&#8203;eliben](https://togithub.com/eliben)
in
[https://github.com/tmc/langchaingo/pull/552](https://togithub.com/tmc/langchaingo/pull/552)
- googleai: add codegen tool to generate vertex.go from googleai.go by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/553](https://togithub.com/tmc/langchaingo/pull/553)
- googleai: clean up comments and order files with consistent naming by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/554](https://togithub.com/tmc/langchaingo/pull/554)
- llms: officially deprecate Call method on the interface by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/555](https://togithub.com/tmc/langchaingo/pull/555)
- llms: Add convenience helper for text parts by
[@&#8203;tmc](https://togithub.com/tmc) in
[https://github.com/tmc/langchaingo/pull/549](https://togithub.com/tmc/langchaingo/pull/549)
- feat: Added Qdrant vectorstore support by
[@&#8203;Anush008](https://togithub.com/Anush008) in
[https://github.com/tmc/langchaingo/pull/544](https://togithub.com/tmc/langchaingo/pull/544)
- googleai: rename constructors to New for consistency by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/570](https://togithub.com/tmc/langchaingo/pull/570)
- llms: convenience methods to create Parts by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/571](https://togithub.com/tmc/langchaingo/pull/571)
- embeddings: fix variable typo in huggingface_test by
[@&#8203;ion232](https://togithub.com/ion232) in
[https://github.com/tmc/langchaingo/pull/569](https://togithub.com/tmc/langchaingo/pull/569)
- vectorstores: Wrapped the PGVector store init function in a single
transaction by
[@&#8203;pieterclaerhout](https://togithub.com/pieterclaerhout) in
[https://github.com/tmc/langchaingo/pull/563](https://togithub.com/tmc/langchaingo/pull/563)
- vectorstores: Added a unique constraint for the collection name when
using PGVector by
[@&#8203;pieterclaerhout](https://togithub.com/pieterclaerhout) in
[https://github.com/tmc/langchaingo/pull/559](https://togithub.com/tmc/langchaingo/pull/559)
- vectorstores: Added an option to PGVector to set the collection
metadata by
[@&#8203;pieterclaerhout](https://togithub.com/pieterclaerhout) in
[https://github.com/tmc/langchaingo/pull/557](https://togithub.com/tmc/langchaingo/pull/557)
- docs: add example and update conceptual guide URL for agents by
[@&#8203;haochunchang](https://togithub.com/haochunchang) in
[https://github.com/tmc/langchaingo/pull/539](https://togithub.com/tmc/langchaingo/pull/539)
- examples: add new vertex and googleai examples by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/572](https://togithub.com/tmc/langchaingo/pull/572)
- docs: qdrant-examples by
[@&#8203;Anush008](https://togithub.com/Anush008) in
[https://github.com/tmc/langchaingo/pull/568](https://togithub.com/tmc/langchaingo/pull/568)
- vectorstores: Implemented support for deduplicating documents when
adding for PGVector by
[@&#8203;pieterclaerhout](https://togithub.com/pieterclaerhout) in
[https://github.com/tmc/langchaingo/pull/566](https://togithub.com/tmc/langchaingo/pull/566)
- Update openai examples to new APIs by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/573](https://togithub.com/tmc/langchaingo/pull/573)
- examples: use llms.TextPart helper when it's useful by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/574](https://togithub.com/tmc/langchaingo/pull/574)
- bump examples dependency to v0.1.4-alpha.0 by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/575](https://togithub.com/tmc/langchaingo/pull/575)
- examples: update all to new llms interfaces by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/576](https://togithub.com/tmc/langchaingo/pull/576)
- vertex: add tests by [@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/582](https://togithub.com/tmc/langchaingo/pull/582)
- googleai: share tests between the two main providers by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/584](https://togithub.com/tmc/langchaingo/pull/584)
- googleai: add tests by [@&#8203;eliben](https://togithub.com/eliben)
in
[https://github.com/tmc/langchaingo/pull/586](https://togithub.com/tmc/langchaingo/pull/586)
- vectorstores: Added the missing comment on the exported
WithCollectionMetadata function by
[@&#8203;pieterclaerhout](https://togithub.com/pieterclaerhout) in
[https://github.com/tmc/langchaingo/pull/578](https://togithub.com/tmc/langchaingo/pull/578)
- vectorstores: Added an option to specify the vector dimensions for the
embeddings by
[@&#8203;pieterclaerhout](https://togithub.com/pieterclaerhout) in
[https://github.com/tmc/langchaingo/pull/579](https://togithub.com/tmc/langchaingo/pull/579)
- googleai: add test with BinaryPart image by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/587](https://togithub.com/tmc/langchaingo/pull/587)
- readme: update example with non-deprecated call by
[@&#8203;eliben](https://togithub.com/eliben) in
[https://github.com/tmc/langchaingo/pull/588](https://togithub.com/tmc/langchaingo/pull/588)
- vectorstores: Removed the custom ID option for embeddings when using
PGVector by
[@&#8203;pieterclaerhout](https://togithub.com/pieterclaerhout) in
[https://github.com/tmc/langchaingo/pull/590](https://togithub.com/tmc/langchaingo/pull/590)

#### New Contributors

- [@&#8203;ctrlaltdel121](https://togithub.com/ctrlaltdel121) made their
first contribution in
[https://github.com/tmc/langchaingo/pull/491](https://togithub.com/tmc/langchaingo/pull/491)
- [@&#8203;mrothroc](https://togithub.com/mrothroc) made their first
contribution in
[https://github.com/tmc/langchaingo/pull/497](https://togithub.com/tmc/langchaingo/pull/497)
- [@&#8203;haochunchang](https://togithub.com/haochunchang) made their
first contribution in
[https://github.com/tmc/langchaingo/pull/518](https://togithub.com/tmc/langchaingo/pull/518)
-
[@&#8203;carsonkahn-external](https://togithub.com/carsonkahn-external)
made their first contribution in
[https://github.com/tmc/langchaingo/pull/509](https://togithub.com/tmc/langchaingo/pull/509)
- [@&#8203;jvgrootveld](https://togithub.com/jvgrootveld) made their
first contribution in
[https://github.com/tmc/langchaingo/pull/522](https://togithub.com/tmc/langchaingo/pull/522)
- [@&#8203;elnoro](https://togithub.com/elnoro) made their first
contribution in
[https://github.com/tmc/langchaingo/pull/505](https://togithub.com/tmc/langchaingo/pull/505)
- [@&#8203;lujingxuansc](https://togithub.com/lujingxuansc) made their
first contribution in
[https://github.com/tmc/langchaingo/pull/459](https://togithub.com/tmc/langchaingo/pull/459)
- [@&#8203;DevinYF](https://togithub.com/DevinYF) made their first
contribution in
[https://github.com/tmc/langchaingo/pull/536](https://togithub.com/tmc/langchaingo/pull/536)
- [@&#8203;mheers](https://togithub.com/mheers) made their first
contribution in
[https://github.com/tmc/langchaingo/pull/545](https://togithub.com/tmc/langchaingo/pull/545)
- [@&#8203;Anush008](https://togithub.com/Anush008) made their first
contribution in
[https://github.com/tmc/langchaingo/pull/544](https://togithub.com/tmc/langchaingo/pull/544)
- [@&#8203;ion232](https://togithub.com/ion232) made their first
contribution in
[https://github.com/tmc/langchaingo/pull/569](https://togithub.com/tmc/langchaingo/pull/569)
- [@&#8203;pieterclaerhout](https://togithub.com/pieterclaerhout) made
their first contribution in
[https://github.com/tmc/langchaingo/pull/563](https://togithub.com/tmc/langchaingo/pull/563)

**Full Changelog**:
https://github.com/tmc/langchaingo/compare/v0.1.3...v0.1.4

</details>

<details>
<summary>okonet/lint-staged (lint-staged)</summary>

###
[`v15.2.1`](https://togithub.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1521)

[Compare
Source](https://togithub.com/okonet/lint-staged/compare/v15.2.0...v15.2.1)

##### Patch Changes

- [#&#8203;1387](https://togithub.com/lint-staged/lint-staged/pull/1387)
[`e4023f6`](https://togithub.com/lint-staged/lint-staged/commit/e4023f687616dcf4816545b8eefbcce50e255c9c)
Thanks [@&#8203;iiroj](https://togithub.com/iiroj)! - Ignore stdin of
spawned commands so that they don't get stuck waiting. Until now,
*lint-staged* has used the default settings to spawn linter commands.
This means the `stdin` of the spawned commands has accepted input, and
essentially gotten stuck waiting. Now the `stdin` is ignored and
commands will no longer get stuck. If you relied on this behavior,
please open a new issue and describe how; the behavior has not been
intended.

</details>

<details>
<summary>bcomnes/npm-run-all2 (npm-run-all2)</summary>

###
[`v6.1.2`](https://togithub.com/bcomnes/npm-run-all2/blob/HEAD/CHANGELOG.md#v612)

[Compare
Source](https://togithub.com/bcomnes/npm-run-all2/compare/v6.1.1...v6.1.2)

##### Merged

- feat: move to read-package-json-fast
[`#130`](https://togithub.com/bcomnes/npm-run-all2/pull/130)
- Upgrade: Bump c8 from 8.0.1 to 9.0.0
[`#127`](https://togithub.com/bcomnes/npm-run-all2/pull/127)
- Upgrade: Bump github/codeql-action from 2 to 3
[`#126`](https://togithub.com/bcomnes/npm-run-all2/pull/126)
- Upgrade: Bump actions/setup-node from 3 to 4
[`#123`](https://togithub.com/bcomnes/npm-run-all2/pull/123)

##### Commits

- Publish the whole project
[`3dde20c`](https://togithub.com/bcomnes/npm-run-all2/commit/3dde20c1c8fa973045773e03f4fc121360fdbed4)
- Utilize CJS require for 'read-package-json-fast'
[`605ca15`](https://togithub.com/bcomnes/npm-run-all2/commit/605ca15d9adee3ce14da6fcaa98cb14d9c03795c)
- Update FUNDING.yml
[`c838ee9`](https://togithub.com/bcomnes/npm-run-all2/commit/c838ee9eea06e545d1a7f25592f7beb8468f1afd)

</details>

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.2.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#325)

[Compare
Source](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5)

[diff](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5)

##### Support Angular inline styles as single template literal
([#&#8203;15968](https://togithub.com/prettier/prettier/pull/15968) by
[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))

[Angular
v17](https://blog.angular.io/introducing-angular-v17-4d7033312e4b)
supports single string inline styles.

<!-- prettier-ignore -->

```ts
// Input
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.4
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.5
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `
    h1 {
      color: blue;
    }
  `,
})
export class AppComponent {}

```

##### Unexpected embedded formatting for Angular template
([#&#8203;15969](https://togithub.com/prettier/prettier/pull/15969) by
[@&#8203;JounQin](https://togithub.com/JounQin))

Computed template should not be considered as Angular component template

<!-- prettier-ignore -->

```ts
// Input
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{       hello }}</h1>`,
})
export class AppComponent {}

// Prettier 3.2.4
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{ hello }}</h1>`,
})
export class AppComponent {}

// Prettier 3.2.5
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{       hello }}</h1>`,
})
export class AppComponent {}
```

##### Use `"json"` parser for `tsconfig.json` by default
([#&#8203;16012](https://togithub.com/prettier/prettier/pull/16012) by
[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))

In
[v2.3.0](https://prettier.io/blog/2024/01/12/3.2.0#new-jsonc-parser-added-15831httpsgithubcomprettierprettierpull15831-by-fiskerhttpsgithubcomfisker),
we introduced `"jsonc"` parser which adds trialing comma **by default**.

When adding a new parser we also define how it will be used based on the
[`linguist-languages`](https://www.npmjs.com/package/linguist-languages)
data.

`tsconfig.json` is a special file used by
[TypeScript](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#using-tsconfigjson-or-jsconfigjson),
it uses `.json` file extension, but it actually uses the [JSON with
Comments](https://code.visualstudio.com/docs/languages/json#\_json-with-comments)
syntax. However, we found that there are many third-party tools not
recognize it correctly because of the confusing `.json` file extension.

We decide to treat it as a JSON file

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

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

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/TBD54566975/ftl).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

Message name collides with imported message name
2 participants