Tags: googleapis/librarian
Tags
chore: librarian release pull request: 20251120T152217Z (#2982) PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: not available Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container:latest <details><summary>librarian: 0.7.0</summary> ## [0.7.0](v0.6.0...v0.7.0) (2025-11-20) ### Features * add command execution package with logging (#2968) ([12f4e94](12f4e949)) * add branch support to RepositoryConfig (#2906) ([2cab5d6](2cab5d65)) * add image sha as a config in repositories config (#2954) ([3d1f537](3d1f5375)) * add initial config (#2965) ([502b063](502b063c)) * add fetch package (#2964) ([53de44d](53de44d8)) * parse gapic_metadata for API version release notes (#2815) ([7ee0328](7ee03283)) * onboard 25 repositories to automation for publish-release (#2907) ([87fae04](87fae04a)) * add version command (#2894) ([8f85be0](8f85be09)) * add RequireCommand test helper (#2978) ([a820a71](a820a710)) * add initial command (#2961) ([c959aea](c959aeae)) * add `stage-release` command (#2902) ([ee05006](ee050065)) ### Bug Fixes * require git v2.28.0 (#2963) ([265ee47](265ee47f)) * enums referenced outside the package (#2952) ([7331816](73318169)) </details>
doc(librarian): document current behavior when using local repo with … …push flag (#2885) Documents current behavior that when using local repo, Librarian will branch-off the checked-out branch for commits, but will attempt to create PR against main branch if `push` flag is set. Add clarification to `branch` flag description that it is ignored with local repo. Fixes #2877
chore: librarian release pull request: 20251106T145301Z (#2808) PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: not available Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container:latest <details><summary>librarian: 1.0.0</summary> ## [1.0.0](v0.5.0...v1.0.0) (2025-11-06) ### Features * Remove `..._gax` dependency (#2713) ([01675b7](01675b72)) * add context to Librarian PRs (#2698) ([0523329](0523329a)) * add a package comment linter (#2712) ([1bd3e32](1bd3e32e)) * generate pom.xml files (#2682) ([50b95f2](50b95f20)) * add test-container test logic (#2656) ([514cf7e](514cf7e5)) * improve rust-publish logging (#2671) ([585ed50](585ed50b)) * write a timing log at the end of update-image (#2771) ([5fc9e3b](5fc9e3b6)) * migrate Java container from sdk-platform-java (#2670) ([69ac47f](69ac47fd)) * switch to original head after running update-image (#2696) ([7a3e404](7a3e404a)) * format bulk commit from other sources in release notes (#2665) ([7c52da2](7c52da2b)) * enable multi-version API generation (#2699) ([86c5250](86c52507)) * release stage to update pom.xml files (#2772) ([be56755](be567550)) * use proto presence info to generate null-safe code (#2726) ([e36fb81](e36fb81a)) * Base messages in google_cloud_protobuf (#2660) ([e607ea6](e607ea63)) ### Bug Fixes * retry Github 503 requests up to 3 times (#2650) ([09468fa](09468faf)) * Changed docs to ConfigurationException (#2697) ([0950c1e](0950c1e3)) * fix the reference to the old "librariangen" folder (#2677) ([09dc53f](09dc53fe)) * run godoclint via golangci-lint (#2751) ([264a6a0](264a6a0e)) * pass context as the first argument (#2769) ([298a3bd](298a3bd8)) * Move HTTP client creation to `_gax` (#2672) ([4968d63](4968d63d)) * deduplicate bulk commits (#2758) ([4dfae9a](4dfae9ae)) * Support additional api paths for an existing library (#2666) ([50046f5](50046f55)) * remove stray TODO (#2748) ([5072f0e](5072f0e0)) * omit status field when empty (#2654) ([572ae4f](572ae4f3)) * use T.Context in tests (#2768) ([7e7cd2d](7e7cd2dd)) * wrap error to provide more context for commitAndPush (#2767) ([a2a41a4](a2a41a4a)) * use t.Fatal in tests for proper failure handling (#2759) ([cdabb28](cdabb287)) * enforce removal before copying library files (#2765) ([d5ac6c8](d5ac6c87)) * change log level to debug (#2798) ([f042d0b](f042d0bd)) * change path to `doc.go` in docgen test (#2700) ([fd6bae4](fd6bae40)) ### Documentation * use consistent library id in flags and examples (#2770) ([87a1005](87a10056)) </details>
chore: librarian release pull request: 20251022T180958Z (#2653) Librarian Version: v0.0.0-20251022154542-dd249212325d Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container:latest <details><summary>librarian: 0.5.0</summary> ## [0.5.0](v0.4.0...v0.5.0) (2025-10-22) ### Features * speed up finding changed files in commits (#2645) ([1060946](10609465)) * Can config dart `export` (#2641) ([97eacd2](97eacd29)) * minor whitespace and doc changes to the Dart templates (#2636) ([b3ac7b4](b3ac7b42)) * only generate libraries with changed APIs (#2618) ([82171be](82171bed)) * make extra modules public (#2622) ([2c94a53](2c94a53f)) * skip a GitHub release for a library (#2612) ([6258f4d](6258f4d1)) * allow skipping semver checks for rust-publish (#2584) ([739ce0d](739ce0d5)) * add ability to open pull request as a draft (#2604) ([c1f0285](c1f02859)) * capture discovery revision (#2605) ([14a1483](14a14830)) * Add conditional instrumentation to gRPC clients (#2594) ([3cc63b2](3cc63b22)) * add update-image CLI command (#2580) ([90e0f6e](90e0f6e5)) * Generate more samples for oneof main setters. (#2592) ([c55f3ce](c55f3ceb)) * Add documentation for generated service constructors (#2575) ([6a4aead](6a4aeade)) * disable some clippy warnings (#2567) ([9f51084](9f510842)) * Generate setter samples for oneof fields. (#2573) ([8c2416a](8c2416ab)) * add default Rust features option (#2562) ([892f42b](892f42b7)) * Include a correct URL for issues (#2570) ([10493ed](10493ed9)) * add ability to find the latest docker image SHA (#2539) ([62e80f1](62e80f19)) * add ability to checkout a repo at a certain commit (#2555) ([23b8ffe](23b8ffea)) * add onboarding PR body (#2552) ([e32719c](e32719cd)) ### Bug Fixes * associate bulk change to individual libraries (#2626) ([dd24921](dd249212)) * Allow `unnecessary_import`s (#2642) ([88c4379](88c43794)) * resolve issue where onboarded library can't be released (#2632) ([b300a4e](b300a4ea)) * resolve issue where commits cannot be fetched for new library (#2631) ([45652c0](45652c03)) * address a typo in the Message.ServicePlaceholder docs (#2616) ([82fda96](82fda96b)) * bad version bump edits (#2613) ([9902b1d](9902b1d5)) * use templates for update-image PR body (#2602) ([7309cad](7309cadd)) * populate configure command pr content (#2591) ([811eb8e](811eb8e2)) * shrink release PR size when there are bulk changes (#2585) ([bcb914a](bcb914ac)) * Fixes several issues with oneof main setter samples (#2589) ([e4958d0](e4958d00)) * resolve broken link in PR body (#2579) ([098c1d2](098c1d24)) * Remove double sample code blocks (#2582) ([6b10456](6b104567)) * change commit package (#2571) ([45ee48f](45ee48f0)) * show chores in release notes (#2544) ([88b62cc](88b62ccb)) * avoid work duplication when finding changes (#2558) ([0adeeac](0adeeac6)) * mangled method names and doc links (#2565) ([895dac9](895dac94)) ### Reverts * show chores in release notes (#2601) ([7e6740f](7e6740ff)) </details>
chore: librarian release pull request: 20251022T180958Z (#2653) Librarian Version: v0.0.0-20251022154542-dd249212325d Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container:latest <details><summary>librarian: 0.5.0</summary> ## [0.5.0](v0.4.0...v0.5.0) (2025-10-22) ### Features * speed up finding changed files in commits (#2645) ([1060946](10609465)) * Can config dart `export` (#2641) ([97eacd2](97eacd29)) * minor whitespace and doc changes to the Dart templates (#2636) ([b3ac7b4](b3ac7b42)) * only generate libraries with changed APIs (#2618) ([82171be](82171bed)) * make extra modules public (#2622) ([2c94a53](2c94a53f)) * skip a GitHub release for a library (#2612) ([6258f4d](6258f4d1)) * allow skipping semver checks for rust-publish (#2584) ([739ce0d](739ce0d5)) * add ability to open pull request as a draft (#2604) ([c1f0285](c1f02859)) * capture discovery revision (#2605) ([14a1483](14a14830)) * Add conditional instrumentation to gRPC clients (#2594) ([3cc63b2](3cc63b22)) * add update-image CLI command (#2580) ([90e0f6e](90e0f6e5)) * Generate more samples for oneof main setters. (#2592) ([c55f3ce](c55f3ceb)) * Add documentation for generated service constructors (#2575) ([6a4aead](6a4aeade)) * disable some clippy warnings (#2567) ([9f51084](9f510842)) * Generate setter samples for oneof fields. (#2573) ([8c2416a](8c2416ab)) * add default Rust features option (#2562) ([892f42b](892f42b7)) * Include a correct URL for issues (#2570) ([10493ed](10493ed9)) * add ability to find the latest docker image SHA (#2539) ([62e80f1](62e80f19)) * add ability to checkout a repo at a certain commit (#2555) ([23b8ffe](23b8ffea)) * add onboarding PR body (#2552) ([e32719c](e32719cd)) ### Bug Fixes * associate bulk change to individual libraries (#2626) ([dd24921](dd249212)) * Allow `unnecessary_import`s (#2642) ([88c4379](88c43794)) * resolve issue where onboarded library can't be released (#2632) ([b300a4e](b300a4ea)) * resolve issue where commits cannot be fetched for new library (#2631) ([45652c0](45652c03)) * address a typo in the Message.ServicePlaceholder docs (#2616) ([82fda96](82fda96b)) * bad version bump edits (#2613) ([9902b1d](9902b1d5)) * use templates for update-image PR body (#2602) ([7309cad](7309cadd)) * populate configure command pr content (#2591) ([811eb8e](811eb8e2)) * shrink release PR size when there are bulk changes (#2585) ([bcb914a](bcb914ac)) * Fixes several issues with oneof main setter samples (#2589) ([e4958d0](e4958d00)) * resolve broken link in PR body (#2579) ([098c1d2](098c1d24)) * Remove double sample code blocks (#2582) ([6b10456](6b104567)) * change commit package (#2571) ([45ee48f](45ee48f0)) * show chores in release notes (#2544) ([88b62cc](88b62ccb)) * avoid work duplication when finding changes (#2558) ([0adeeac](0adeeac6)) * mangled method names and doc links (#2565) ([895dac9](895dac94)) ### Reverts * show chores in release notes (#2601) ([7e6740f](7e6740ff)) </details>
chore: librarian release pull request: 20251009T070156Z (#2521) Librarian Version: v0.0.0-20251009012716-e267b1dfc9b9 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container:latest <details><summary>librarian: 0.4.0</summary> ## [0.4.0](v0.3.0...v0.4.0) (2025-10-09) ### Features * add `git log` functionality (#2510) ([e267b1d](e267b1d)) * Modify README.md to match our agreed-upon wording (#2503) ([2dc6fc6](2dc6fc6)) * Show actual enum values on setter samples. (#2491) ([13fd5a1](13fd5a1)) * sort library state when writing to `state.yaml` (#2504) ([35e4495](35e4495)) * Generate methods that use server-side streaming (#2474) ([31a496d](31a496d)) * allow configuring tag_format in config.yaml (#2236) ([e0eeddb](e0eeddb)) * `update` supports different roots (#2473) ([65fa7ed](65fa7ed)) * Support git push via SSH (#2397) ([7259194](7259194)) * mount output dir in configure docker command (#2439) ([365019e](365019e)) * Update templates for otel (#2443) ([ea54ba6](ea54ba6)) * support aggregated pagination (#2432) ([5b010b9](5b010b9)) * override pagination items field (#2441) ([4a3664a](4a3664a)) * include source root in configure request (#2431) ([475a62d](475a62d)) * rust+disco bytes (de)serialization (#2428) ([b2a186c](b2a186c)) * enum serialization for non-proto sources (#2410) ([516f29e](516f29e)) * optional singular fields in discovery (#2408) ([c86c2db](c86c2db)) * deprecated elements in discovery docs (#2399) ([1d83853](1d83853)) * allow "." as valid `source_roots` entry (#2396) ([2f52aa7](2f52aa7)) * inline messages in discovery docs (#2394) ([043cf65](043cf65)) * write pr-body.txt to the work root when not pushing (#2395) ([862c7d7](862c7d7)) * define LIBRARIAN_GITHUB_TOKEN as a constant (#2367) ([5979bfd](5979bfd)) ### Bug Fixes * clarify doc and comment with commit and push flag (#2507) ([645e42a](645e42a)) * keep first value for repeated footer keys (#2440) ([e51490d](e51490d)) * group commit msg if they have the same piper id and subject (#2496) ([60b7d38](60b7d38)) * real runs for `rust-publish` (#2484) ([15d63c2](15d63c2)) * Remove unnecessary dereference in transport template (#2481) ([610cec9](610cec9)) * shorten SHAs in generate commit msgs (#2472) ([de336b1](de336b1)) * handle slashes in library IDs (#2463) ([91c0189](91c0189)) * nil check for github.NewClient (#2465) ([71db17e](71db17e)) * Conventional Commit parser filters files based on Librarian flow (#2433) ([6cb55d2](6cb55d2)) * Ensure detailed-tracing-attributes flag is fully propagated (#2438) ([a184f0d](a184f0d)) * relax footer regex to allow line broke footers to be properly recognized (#2388) ([dcbe063](dcbe063)) * release init provides read-only full repository (#2370) ([2e11004](2e11004)) * write the PR body on "commit but no push" (#2430) ([88698b4](88698b4)) * should not push to github when no push flag specified (#2405) ([2a49ae6](2a49ae6)) * only mount global files in configure command (#2377) ([1a2aaa0](1a2aaa0)) * `Map` field attribute in discovery (#2414) ([00c645f](00c645f)) * missing IDs in discovery doc fields (#2386) ([d579dd7](d579dd7)) </details>
chore: librarian release pull request: 20251009T070156Z (#2521) Librarian Version: v0.0.0-20251009012716-e267b1dfc9b9 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container:latest <details><summary>librarian: 0.4.0</summary> ## [0.4.0](v0.3.0...v0.4.0) (2025-10-09) ### Features * add `git log` functionality (#2510) ([e267b1d](e267b1d)) * Modify README.md to match our agreed-upon wording (#2503) ([2dc6fc6](2dc6fc6)) * Show actual enum values on setter samples. (#2491) ([13fd5a1](13fd5a1)) * sort library state when writing to `state.yaml` (#2504) ([35e4495](35e4495)) * Generate methods that use server-side streaming (#2474) ([31a496d](31a496d)) * allow configuring tag_format in config.yaml (#2236) ([e0eeddb](e0eeddb)) * `update` supports different roots (#2473) ([65fa7ed](65fa7ed)) * Support git push via SSH (#2397) ([7259194](7259194)) * mount output dir in configure docker command (#2439) ([365019e](365019e)) * Update templates for otel (#2443) ([ea54ba6](ea54ba6)) * support aggregated pagination (#2432) ([5b010b9](5b010b9)) * override pagination items field (#2441) ([4a3664a](4a3664a)) * include source root in configure request (#2431) ([475a62d](475a62d)) * rust+disco bytes (de)serialization (#2428) ([b2a186c](b2a186c)) * enum serialization for non-proto sources (#2410) ([516f29e](516f29e)) * optional singular fields in discovery (#2408) ([c86c2db](c86c2db)) * deprecated elements in discovery docs (#2399) ([1d83853](1d83853)) * allow "." as valid `source_roots` entry (#2396) ([2f52aa7](2f52aa7)) * inline messages in discovery docs (#2394) ([043cf65](043cf65)) * write pr-body.txt to the work root when not pushing (#2395) ([862c7d7](862c7d7)) * define LIBRARIAN_GITHUB_TOKEN as a constant (#2367) ([5979bfd](5979bfd)) ### Bug Fixes * clarify doc and comment with commit and push flag (#2507) ([645e42a](645e42a)) * keep first value for repeated footer keys (#2440) ([e51490d](e51490d)) * group commit msg if they have the same piper id and subject (#2496) ([60b7d38](60b7d38)) * real runs for `rust-publish` (#2484) ([15d63c2](15d63c2)) * Remove unnecessary dereference in transport template (#2481) ([610cec9](610cec9)) * shorten SHAs in generate commit msgs (#2472) ([de336b1](de336b1)) * handle slashes in library IDs (#2463) ([91c0189](91c0189)) * nil check for github.NewClient (#2465) ([71db17e](71db17e)) * Conventional Commit parser filters files based on Librarian flow (#2433) ([6cb55d2](6cb55d2)) * Ensure detailed-tracing-attributes flag is fully propagated (#2438) ([a184f0d](a184f0d)) * relax footer regex to allow line broke footers to be properly recognized (#2388) ([dcbe063](dcbe063)) * release init provides read-only full repository (#2370) ([2e11004](2e11004)) * write the PR body on "commit but no push" (#2430) ([88698b4](88698b4)) * should not push to github when no push flag specified (#2405) ([2a49ae6](2a49ae6)) * only mount global files in configure command (#2377) ([1a2aaa0](1a2aaa0)) * `Map` field attribute in discovery (#2414) ([00c645f](00c645f)) * missing IDs in discovery doc fields (#2386) ([d579dd7](d579dd7)) </details>
chore: librarian release pull request: 20250925T070206Z (#2356) Librarian Version: v0.0.0-20250925031739-cb21cf1ae8af Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container:latest <details><summary>librarian: 0.3.0</summary> ## [0.3.0](v0.2.0...v0.3.0) (2025-09-25) ### Features * discovery-based APIs and pagination (#2350) ([cb21cf1](cb21cf1)) * Make generated `ProtoMessage` and `ProtoEnum` classes `final` (#2349) ([7d0520b](7d0520b)) * Require that all imports have a version contraints (#2331) Fixes #1989 This should not be landed before googleapis/google-cloud-rust#3396 ([00828d5](00828d5)) * Generate samples for single value setters (#2263) ([f7c0b84](f7c0b84)) * discovery doc arrays (#2337) ([da69195](da69195)) * Inject InstrumentationClientInfo for tracing (#2252) - Add static INSTRUMENTATION_CLIENT_INFO to lib.rs.mustache. - Use INSTRUMENTATION_CLIENT_INFO in transport.rs.mustache if tracing is enabled. For #2212 see also googleapis/google-cloud-rust#3347 and googleapis/google-cloud-rust#3376 ([1358226](1358226)) * parse most object fields (#2318) Parse most fields of object in a discovery doc. Fields with an inline type definition still need some custom work. ([f2d1a10](f2d1a10)) * Add the ability to insert text after the package title (#2323) The current use case for this is to advise users of equivalent Firebase packages. For example: ```toml readme-after-title-text = """> [!TIP] > Flutter applications should use [Firebase AI Logic](https://firebase.google.com/products/firebase-ai-logic). > > The Generate Language API is meant for Dart desktop and cloud applications. > Firebase AI Logic provides client-side access to both the Gemini Developer > API and Vertex AI. """ ``` Which results in a README.md that looks like: <img width="1485" height="909" alt="image" src="https://github.com/user-attachments/assets/a1c9120e-eafd-4394-9562-48c595ab4960" /> ([756e72f](756e72f)) ### Bug Fixes * read version from version.txt file (#2347) Fixes #2348 Moves version.txt to the `internal/cli` package so it can be read by the `embed` package as a variable. When constructing the synthetic version number, use this release version as the base. ([014b5f4](014b5f4)) * race condition in createWorkRoot() (#2338) Creating a temporary directory based on a timestamp is inherently racy. Use the standard functions to create temporary directories, and relax the tests to check for what matters. ([46428ca](46428ca)) * parse github remote from local directory (#2328) Fixes #2327 ([1c71bd9](1c71bd9)) </details>
chore: librarian release pull request: 20250925T070206Z (#2356) Librarian Version: v0.0.0-20250925031739-cb21cf1ae8af Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container:latest <details><summary>librarian: 0.3.0</summary> ## [0.3.0](v0.2.0...v0.3.0) (2025-09-25) ### Features * discovery-based APIs and pagination (#2350) ([cb21cf1](cb21cf1)) * Make generated `ProtoMessage` and `ProtoEnum` classes `final` (#2349) ([7d0520b](7d0520b)) * Require that all imports have a version contraints (#2331) Fixes #1989 This should not be landed before googleapis/google-cloud-rust#3396 ([00828d5](00828d5)) * Generate samples for single value setters (#2263) ([f7c0b84](f7c0b84)) * discovery doc arrays (#2337) ([da69195](da69195)) * Inject InstrumentationClientInfo for tracing (#2252) - Add static INSTRUMENTATION_CLIENT_INFO to lib.rs.mustache. - Use INSTRUMENTATION_CLIENT_INFO in transport.rs.mustache if tracing is enabled. For #2212 see also googleapis/google-cloud-rust#3347 and googleapis/google-cloud-rust#3376 ([1358226](1358226)) * parse most object fields (#2318) Parse most fields of object in a discovery doc. Fields with an inline type definition still need some custom work. ([f2d1a10](f2d1a10)) * Add the ability to insert text after the package title (#2323) The current use case for this is to advise users of equivalent Firebase packages. For example: ```toml readme-after-title-text = """> [!TIP] > Flutter applications should use [Firebase AI Logic](https://firebase.google.com/products/firebase-ai-logic). > > The Generate Language API is meant for Dart desktop and cloud applications. > Firebase AI Logic provides client-side access to both the Gemini Developer > API and Vertex AI. """ ``` Which results in a README.md that looks like: <img width="1485" height="909" alt="image" src="https://github.com/user-attachments/assets/a1c9120e-eafd-4394-9562-48c595ab4960" /> ([756e72f](756e72f)) ### Bug Fixes * read version from version.txt file (#2347) Fixes #2348 Moves version.txt to the `internal/cli` package so it can be read by the `embed` package as a variable. When constructing the synthetic version number, use this release version as the base. ([014b5f4](014b5f4)) * race condition in createWorkRoot() (#2338) Creating a temporary directory based on a timestamp is inherently racy. Use the standard functions to create temporary directories, and relax the tests to check for what matters. ([46428ca](46428ca)) * parse github remote from local directory (#2328) Fixes #2327 ([1c71bd9](1c71bd9)) </details>
PreviousNext