chore: version packages #24
Open
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@marcurry/core@0.1.0
Minor Changes
f2a3dc1: Environment validation is here
You can now validate environments the same way you validate flags. We've also unified key validation across the board—flags and environments now share the same rules, so you get consistent error messages everywhere.
New exports:
validateEnvironment– validate environment objects before savingvalidateKeyandKEY_REGEX– reusable key validation for your own use casesThis is a non-breaking change. If you're already using flag validation, everything works as before.
10d6196: Project and environment validation
Core
New validators and error classes for projects and environments:
validateProject()— Validates project name (required, max 200 characters)ProjectValidationError— Thrown when project validation failsProjectMustHaveEnvironmentError— Thrown when creating a project without environmentsCannotDeleteLastEnvironmentError— Thrown when attempting to delete the last environment in a projectWeb
Projects now require at least one environment at creation time. This rule is enforced at the service layer, ensuring data integrity regardless of how the API is called.
@marcurry/sdk@0.1.0
Minor Changes
0bb6e87: Feature flag SDK for JavaScript/TypeScript
Evaluate feature flags in your application with a simple, type-safe client:
createClient- Initialize once with your API key and environmentisEnabled()- Check if a flag is on for a usergetValue()- Get a flag's value with a default fallbackevaluateFlag()- Get the full evaluation result with reasonPatch Changes
@marcurry/web@0.1.0
Minor Changes
10d6196: Project and environment validation
Core
New validators and error classes for projects and environments:
validateProject()— Validates project name (required, max 200 characters)ProjectValidationError— Thrown when project validation failsProjectMustHaveEnvironmentError— Thrown when creating a project without environmentsCannotDeleteLastEnvironmentError— Thrown when attempting to delete the last environment in a projectWeb
Projects now require at least one environment at creation time. This rule is enforced at the service layer, ensuring data integrity regardless of how the API is called.
4299bcb: Feature flag evaluation API & key management
UI
API Key Management
Create and manage API keys directly from your project's Edit dialog. Each key gives your applications secure access to evaluate feature flags.
API
Flag Evaluation Endpoint
Evaluate feature flags programmatically with
POST /api/v1/flags/evaluate:The response includes the flag's enabled state, resolved value, and evaluation reason — everything you need to make feature decisions in your code.
c0f0b41: Improved theme switching experience with a new dropdown menu
Patch Changes
1a11207: Streamline project and environment forms
Description fields have been removed from the UI as they were never persisted to the database. Forms are now streamlined to only show fields that are actually saved.
757c7c0: Improve UI elements theme consistency
Some UI elements were inconsistent with the theming, in this update, we are addressing the issue.
7f78184: New Light & Dark Theme Toggle
We've added a theme switcher so you can choose the look that works best for you.
f2a3dc1: Better environment validation
Creating or updating environments now automatically validates your input before saving. Invalid keys or names are caught early with clear error messages, so you'll know exactly what to fix.
Updated dependencies [f2a3dc1]
Updated dependencies [10d6196]