chore: librarian release pull request: 20250919T155130Z #2245
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Librarian Version: v0.0.0-20250919154014-58336acc2588
Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-release-container@sha256:50dd9b59bcf4f55178f9a35dcd4f81a8db20609da386357fa05a457a8da3b4e9
librarian: 0.2.0
0.2.0 (2025-09-19)
Features
generate_blocked field in per-library configuration (feat: generate_blocked field in per-library configuration #2221) (c3c71af)
add e2e test for release tag-and-release (feat(testing): add e2e test for release tag-and-release #2222) (5d05481)
add DeleteBranch() and ClosePullRequest() (feat: add DeleteBranch() and ClosePullRequest() #2232) (234f2a2)
add Restore function (feat: add Restore function #2028) (e5a86a1)
Ability to include the repository URL of a package in pubspec.yaml (feat: Ability to include the repository URL of a package in pubspec.yaml #2229) (2f526a3)
Force release for a specific library even if there are no releasable changes (feat: Force release for a specific library even if there are no releasable changes #2181) (382e634)
split
model.rs
into modules (feat(sidekick): splitmodel.rs
into modules #2213) (de628ec)add paginator for services proto wrap maxResults (feat(sidekick): add paginator for services proto wrap maxResults #2208) (f7a7c8e)
subcommand to publish Rust crates (feat(sidekick): subcommand to publish Rust crates #2182) (07f666d)
Use dependency constraints specified in configuration (feat: Use dependency constraints specified in configuration #1987) (1a3e3bb)
Make the Dart class representing the service
final
(feat: Make the Dart class representing the servicefinal
#2178) (2f447cc)Stage release with forceRun flag. Check cloudBuild trigger with triggersRun variable (feat: Stage release with force-run flag. Check cloudBuild trigger with triggersRun variable #2150) (1d68698)
release init can read per-library version override from config.yaml (feat: release init can read per-library version override from config.yaml #2083) (4d2e4de)
add ability to compare semver versions (feat: add ability to compare semver versions #2047) (7702829)
add per-library override configurations to .librarian/config.yaml (feat: add per-library override configurations to .librarian/config.yaml #2039) (4f8141c)
Add release-please tag to release PRs so louhi flow will get triggered (feat: Add release-please tag to release PRs so louhi flow will get triggered #2050) (f114aa2)
mount
repo
volume in configure command (feat(internal/docker): mountrepo
volume in configure command #2013) (d8dc3d1)return without an error if all generations failed (feat: log success in multiple library generation #1979) (0df6d65)
add a "LICENSE" file to Dart packages. (feat: add a "LICENSE" file to Dart packages. #1977) (70bb3c6)
add release notes in release pull request (feat: add release notes in release pull request #1905) (eebb5fe)
add pr body to generate pull request (feat: add pr body to generate pull request #1909) (9d782cf)
log generation statistics on completion (feat(internal/librarian): log generation statistics on completion #1892) (716e677)
add -branch flag for cloning and PRs (feat(internal/librarian): add -branch flag for cloning and PRs #1893) (3521090)
change README for GA clients (feat(sidekick/rust): change README for GA clients #1889) (9e1450d)
allow APIs to have no service config (feat(librarian): allow APIs to have no service config #1854) (f88a51a)
get commit history since last library generation (feat: get commit history since last library generation #1837) (8f409cc)
format release notes content for each library (feat(librarian): format release notes content for each library #1827) (1f3b20a)
rev the required Dart SDK version (feat(dart): rev the required Dart SDK version #1848) (1df05c3)
allow libraries to have no APIs (feat(librarian): allow libraries to have no APIs #1853) (c1f770e)
implement
commit
flag for release init (feat: implementcommit
flag for release init #1816) (c590f20)tag-and-release logic (feat(internal/librarian): tag-and-release logic #1812) (949f02f)
create a pull request in release init command (feat: create a pull request in release init command #1793) (152b561)
copy libraries and global files from container output to repo in release init command (feat: copy libraries and global files from container output to repo in release init command #1790) (f0edfd6)
publish-release automation only triggers CloudBuild if a repository contains a merged pull request with label release:pending (feat: publish-release automation only triggers CloudBuild if a repository contains a merged pull request with label release:pending #1789) (bded5dc)
support derive next semver from conventional commits (feat(internal/semver): support derive next semver from conventional commits #1769) (73c1bc7)
get library changes in
release init
command (feat: get library changes inrelease init
command #1780) (8756e01)add ability to create branch and push to remote repository (feat: add ability to create branch and push to remote repository #1775) (e3c9e31)
add a skeleton for release init (feat(internal/librarian): add a skeleton for release init #1761) (6dbc3c0)
add logic to get pull requests (feat(internal/librarian): add logic to get pull requests #1754) (6444b5f)
add logic to parse pr bodies (feat(internal/librarian): add logic to parse pr bodies #1767) (00b91cd)
parse conventional commits for library since last released version -part2 (feat(librarian): parse conventional commits for library since last released version -part2 #1765) (b2e2c93)
parse conventional commits for library since last released version (feat(librarian): parse conventional commits for library since last released version #1711) (65a9774)
add automation go script for triggering all configured repositories (feat: add automation go script for triggering all configured repositories #1687) (2d88ae9)
extends
configure-request.json
(feat(internal/docker): extendsconfigure-request.json
#1715) (0190366)partially copy a repo (feat(librarian/docker): partially copy a repo #1686) (946e550)
add skeleton for release tag-and-release (feat(internal/librarian): add skeleton for release tag-and-release #1701) (004401f)
add support requred for release (feat(internal/github): add support requred for release #1693) (c8a858e)
implement
release-init
container contract (feat: implementrelease-init
container contract #1677) (7b883ee)add a global config (feat: add a global config #1663) (4b35724)
add RepositoriesConfig yaml struct (feat: add RepositoriesConfig yaml struct #1661) (709adc0)
add labels to a github issue (feat: add labels to a github issue #1642) (a5b5b68)
clone googleapis if apisource is unspecified (feat: clone googleapis if apisource is unspecified #1589) (955052c)
Bug Fixes
align tag-and-release e2e test with API workflow (fix(testing): align tag-and-release e2e test with API workflow #2240) (b38097e)
validate library IDs are unique (fix(internal/config): validate library IDs are unique #2187) (6188338)
set branch in generate runner (fix: set branch in generate runner #2189) (3cdc998)
Skip release if there are no releasable units (fix: Skip release if there are no releasable units #2010) (0ee547d)
skip bumps for new crates (fix(sidekick): skip bumps for new crates #2169) (f93994a)
add cl num in release note (fix: add cl num in release note #2156) (973d2df)
parse commit message that contains multiple headers (fix: parse commit message that contains multiple headers #2147) (2e21c79)
format state yaml with indent of 2 for passing lint (fix: format state yaml with indent of 2 for passing lint #2149) (3532f19)
breaking change and feature pre-1.0 yields minor version bump (fix: breaking change and feature pre-1.0 yields minor version bump #2117) (a57e5fd)
Use language repo's commit value as the source_commit_hash (fix: Use language repo's commit value as the source_commit_hash #2078) (cb3c723)
add newline after Flags in help text (fix(internal/cli): add newline after Flags in help text #2125) (28e1282)
add newline after Usage in help text (fix(internal/cli): add newline after Usage in help text #2110) (305d7a5)
add link to definition of comitt-ish (docs(internal/github): add link to definition of commit-ish #2085) (27f5eaa)
add a title prefix (fix(internal/librarian): add a title prefix #2082) (c609ee9)
read release init response (fix: read release init response #2075) (56d59af)
specify the repository when searching for pull requests (fix: specify the repository when searching for pull requests #1986) (919487b)
regen PR title to feat (fix(librarian): regen PR title to feat #2049) (9bef458)
revert fix(release): use --output path directly for container mount #2015 (fix: revert https://github.com/googleapis/librarian/pull/2015 #2046) (4ffad18)
honor container contract changes format (fix(librarian): honor container contract changes format #2037) (f393e24)
save librarian state in release init (fix(internal/librarian): save librarian state in release init #2034) (0dd0273)
use --output path directly for container mount (fix(release): use --output path directly for container mount #2015) (45aa04a)
GA
is spelledstable
(fix(sidekick/rust):GA
is spelledstable
#2011) (33501c0)generate PR body (fix(librarian): generate PR body #2009) (88abd0d)
clean should preserve and remove files from sourceRoots (fix: clean should preserve and remove files from sourceRoots #1950) (80ec945)
commit the right repo in generate (fix(internal/librarian): commit the right repo in generate #1969) (e98e2be)
format release note correctly for multiple same category commits (fix: format release note correctly for multiple same category commits #1965) (e536c9a)
save old version in release (fix: save old version in release #1953) (a00e91b)
report the correct missing environment variable (fix(internal/librarian): report the correct missing environment variable #1962) (50acf6e)
change merge PR check condition to use merge_at field (fix: change merge PR check condition to use merge_at field #1959) (31e3ef3)
Tests and commands run in Windows (fix(sidekick): Tests and commands run in Windows #1954) (f890a37)
do not delete any files in .librarian/generator-input directory (fix: do not delete any files in .librarian/generator-input directory #1934) (0d3b7eb)
Add label for PRs on release init (fix: Add label for PRs on release init #1911) (c6e8e2e)
fix pull request url format mismatch (fix: fix pull request url format mismatch #1927) (ccfcfd9)
support SSH remotes (fix(librarian): support SSH remotes #1898) (3aebde8)
Correct help text for push flag (fix(generate): Correct help text for push flag #1908) (cedfb49)
prevent panic on release command without subcommand (fix(librarian): prevent panic on release command without subcommand #1901) (ee7391a)
Parse arguments as flags on hyphen prefix (fix(internal/librarian): Parse arguments as flags on hyphen prefix #1902) (e9f2ea3)
generate should fail with error if all libraries failed (fix(internal/librarian): generate should fail with error if all libraries failed #1876) (b7b26e2)
for tag-and-release not reading -repo flag (fix: for tag-and-release not reading -repo flag #1878) (a7188e2)
skip fetching commits if last generated commit is empty (fix: skip fetching commits if last generated commit is empty #1870) (8b3c743)
get conventional commits from source repository (fix: get conventional commits from source repository #1867) (40e7bc3)
default to source_roots when no remove_regex (fix(internal/librarian): default to source_roots when no remove_regex #1863) (3d051f8)
add MergeCommitSHA check, _PR substitution, PR limit in publish-release automation command (fix: add MergeCommitSHA check, _PR substitution, PR limit in publish-release automation command #1833) (4d2db9b)
bump version while updating libraries for release (fix(librarian): bump version while updating libraries for release #1842) (d6fa957)
don't clean dir for release init copies (fix(internal/librarian): don't clean dir for release init copies #1824) (a8ddd21)
use a clean output directory for each API when generating (fix: use a clean output directory for each API when generating #1836) (5ebd352)
don't pass undocumented flags (fix(librarian): don't pass undocumented flags #1834) (7ef0103)
don't clone apisource for
release init
(fix(librarian): don't clone apisource forrelease init
#1825) (71a25ee)subcommands now process args correctly (fix(librarian): subcommands now process args correctly #1826) (95f6736)
ignore version override if library flag is not specified (fix: ignore version override if library flag is not specified #1822) (aa507b1)
track the source service for mixins (fix(sidekick): track the source service for mixins #1821) (c0c043b)
setup global config in init docker command (fix: setup global config in init docker command #1800) (ca31f73)
make response files optional for generate/build (fix(internal/librarian): make response files optional for generate/build #1788) (ad446e1)
username is required, but ignored for GitHub's https push (fix: username is required, but ignored for GitHub's https push #1784) (d40c87c)
make config.yaml optional (fix: make config.yaml optional #1783) (eb00ef2)
change librarian volume to read-write in
build
command (fix: change librarian volume to read-write inbuild
command #1772) (c2a26dc)support local language repos better (fix(internal/librarian): support local language repos better #1756) (c9d075e)
generate command should parse the -push flag (fix: generate command should parse the -push flag #1744) (b53dcf3)
fix invalidPathChars regex (fix(librarian/internal): fix invalidPathChars regex #1714) (dcd1f71)
use source repo if
api-source
flag is not specified (fix(internal/librarian): use source repo ifapi-source
flag is not specified #1633) (7f365a4)add release related fields to state (fix(librarian): add release related fields to state #1630) (29881b8)
update state file for each success (fix(internal/librarian): update state file for each success #1017) (18457c3)
sidekick commands execute on Windows (fix(internal/sidekick): sidekick commands execute on Windows #1577) (c7bf957)
remove github.com/ghodss/yaml dependency (fix(internal/sidekick): remove github.com/ghodss/yaml dependency #1574) (f1293f9)
fix errors in internal/sidekick (fix(golangci-lint): fix errors in internal/sidekick #1575) (caaee72)
ignored directories are configurable (fix(sidekick): ignored directories are configurable #1573) (906e2e0)
Documentation
generate helptext for subcommands (docs(librarian): generate helptext for subcommands #2114) (b91721a)
start generating package godoc (docs: start generating package godoc #1956) (43e0a10)
add some clarifications (docs(librarian): add some clarifications #1974) (fb75149)
add consistency and more examples for CLI help text (docs(librarian): add consistency and more examples for CLI help text #1948) (505b74a)
bring more consistent styling to flag documentation (4be588f)
fix repo flag formatting (docs(librarian): fix repo flag formatting #1916) (b8dc941)
update help text for library flag (docs: update help text for library flag #1841) (1321930)