Skip to content

chore: safeguard all packages as pre-release#15

Merged
aepfli merged 2 commits intomainfrom
chore/pre-release-safeguard
Mar 12, 2026
Merged

chore: safeguard all packages as pre-release#15
aepfli merged 2 commits intomainfrom
chore/pre-release-safeguard

Conversation

@aepfli
Copy link
Member

@aepfli aepfli commented Mar 12, 2026

Closes #14

Marks all language packages as pre-release to prevent accidental stable releases while the repository is still in active development.

Changes

Version strings

  • Rust: 0.1.00.1.0-alpha.0
  • Python: 0.1.00.1.0.dev0 (PEP 440)
  • JavaScript: 0.1.00.1.0-alpha.0
  • .NET: added <Version>0.1.0-alpha.0</Version>
  • Java: already 0.1.0-SNAPSHOT
  • Go: version via git tags only, no change needed

release-please

  • Set prerelease: true on the root Rust package
  • Added Java, Python, Go, JS, .NET packages to release-please-config.json
  • Updated .release-please-manifest.json with initial versions for all packages

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces changes to safeguard all language packages by explicitly marking them as pre-release. This measure prevents accidental stable releases while the repository is still under active development, ensuring that consumers are aware of the experimental nature of the current builds. The changes involve adjusting version numbers in various project files and updating the automated release configuration.

Highlights

  • Version String Updates: Updated version strings across Rust, Python, JavaScript, and .NET packages to reflect pre-release status (e.g., 0.1.0 to 0.1.0-alpha.0 or 0.1.0.dev0).
  • Release-Please Configuration: Configured the release-please tool to mark the root Rust package as pre-release and added comprehensive pre-release configurations for Java, Python, Go, JavaScript, and .NET packages.
  • Manifest Updates: Updated the .release-please-manifest.json to include initial pre-release versions for all newly configured language packages.
Changelog
  • .release-please-manifest.json
    • Added initial version entries for Java, Python, Go, JS, and .NET packages.
  • Cargo.lock
    • Updated flagd-evaluator version from 0.1.0 to 0.1.0-alpha.0.
    • Updated flagd-evaluator-py version from 0.1.0 to 0.1.0-alpha.0.
  • Cargo.toml
    • Updated flagd-evaluator version from 0.1.0 to 0.1.0-alpha.0.
  • dotnet/src/FlagdEvaluator/FlagdEvaluator.csproj
    • Added <Version>0.1.0-alpha.0</Version> property.
  • js/package.json
    • Updated version from 0.1.0 to 0.1.0-alpha.0.
  • python/Cargo.toml
    • Updated flagd-evaluator-py version from 0.1.0 to 0.1.0-alpha.0.
  • python/pyproject.toml
    • Updated version from 0.1.0 to 0.1.0.dev0.
  • release-please-config.json
    • Set prerelease to true and prerelease-type to alpha for the root package.
    • Added full configurations for Java, Python, Go, JS, and .NET packages, each with prerelease: true and prerelease-type: "alpha", along with their respective release-type, package-name, changelog-path, and changelog-sections.
Activity
  • No human activity has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly sets up pre-releases for all packages by updating version strings and configuring release-please. The changes are consistent across different languages. I've found one potential issue with the .release-please-manifest.json file that could cause problems with the release automation. My suggestion aims to align the manifest with the new pre-release versions you've set in the code.

@aepfli aepfli force-pushed the chore/pre-release-safeguard branch from d7cdccc to 8108d18 Compare March 12, 2026 11:31
aepfli and others added 2 commits March 12, 2026 14:03
- Rust: 0.1.0 → 0.1.0-alpha.0 (Cargo.toml + python/Cargo.toml)
- Python: 0.1.0 → 0.1.0.dev0 (PEP 440)
- JavaScript: 0.1.0 → 0.1.0-alpha.0
- .NET: added <Version>0.1.0-alpha.0</Version>
- Java: already 0.1.0-SNAPSHOT (no change)
- Go: version via git tags only (no change)

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…s pre-release

- Set prerelease: true and prerelease-type: alpha on root Rust package
- Add Java (maven), Python, Go, JavaScript (node), .NET (simple) packages
- Each package includes full changelog-sections config
- Updated .release-please-manifest.json with initial versions for all packages

Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aepfli aepfli force-pushed the chore/pre-release-safeguard branch from 8108d18 to 3fb2f0c Compare March 12, 2026 13:04
@aepfli aepfli merged commit 25c232d into main Mar 12, 2026
20 checks passed
@aepfli aepfli deleted the chore/pre-release-safeguard branch March 12, 2026 13:13
@github-actions github-actions bot mentioned this pull request Mar 12, 2026
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.

chore: safeguard all packages as pre-release and expand release-please to manage all language packages

1 participant