Skip to content

VCST-5337: Allow the prerelease GA4 Data API client in the stable package - #64

Merged
OlegoO merged 1 commit into
devfrom
feat/VCST-5337-ga-release-nu5104
Oct 21, 2026
Merged

OlegoO merged 1 commit into
devfrom
feat/VCST-5337-ga-release-nu5104

Conversation

@yuskithedeveloper

@yuskithedeveloper yuskithedeveloper commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes the module's release. The stable VirtoCommerce.GoogleEcommerceAnalyticsModule.Data package could not be packed: it depends on Google.Analytics.Data.V1Beta, which Google publishes only as prerelease (every version is a beta). NuGet reports that as NU5104, and this repository treats warnings as errors, so the 4.1005.0 release stopped at "Publish Nuget" and published nothing (failed run). The Data project now suppresses NU5104, as the Data project of vc-module-azure-search does. The package keeps the same Google.Analytics.Data.V1Beta 2.0.0-beta10 dependency that #61 added.

No code change: no schema change, no migrations, no new settings, no new dependencies.

Unblocks VirtoCommerce/vc-module-sales-rep#15, which pins this module's release.

New GraphQL queries and mutations

None.

Changes to existing GraphQL queries and mutations

None.

New public services / interfaces / methods

None.

New protected methods (extensibility)

None.

Breaking changes

None.

New dependencies

None. The prerelease Google.Analytics.Data.V1Beta dependency came with #61; this PR only lets the stable package carry it.

Note (why PR builds did not catch it) — NU5104 fires only when the package being packed has a stable version. PR builds and the alpha packages are prerelease themselves, so they packed fine, and the release was the first stable pack. A local stable dotnet pack of dev reproduces the error; with this change the Core and Data packages pack as 4.1006.0. 4.1005.0 was never published (no NuGet package, no GitHub release), so the next release is 4.1006.0.

References

QA-test:

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-5337

Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.GoogleEcommerceAnalytics_4.1006.0-pr-64-2a19.zip

🤖 Generated with Claude Code

…5104)

Google publishes Google.Analytics.Data.V1Beta only as prerelease, so the
stable 4.1005.0 release failed at Publish Nuget: NU5104 ("a stable release
of a package should not have a prerelease dependency") is an error under
TreatWarningsAsErrors. The Data project now suppresses it, as the Data
project of vc-module-azure-search does. PR builds and alphas are prerelease
packages themselves, so only a stable pack shows the warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@OlegoO
OlegoO merged commit 7dc529c into dev Oct 21, 2026
11 checks passed
@OlegoO
OlegoO deleted the feat/VCST-5337-ga-release-nu5104 branch October 21, 2026 16:31
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.

2 participants