Skip to content

feat: refactor from Bucket to Reflag - #92

Merged
owenvoke merged 1 commit into
mainfrom
feature/bucket-reflag
Sep 26, 2025
Merged

feat: refactor from Bucket to Reflag#92
owenvoke merged 1 commit into
mainfrom
feature/bucket-reflag

Conversation

@owenvoke

@owenvoke owenvoke commented Sep 2, 2025

Copy link
Copy Markdown
Member

BREAKING CHANGE: The naming of configuration and classes change from Bucket naming to Reflag.

Public announcement for this will be coming 4th September. 👍🏻

@owenvoke
owenvoke requested review from a team, Copilot and odinns September 2, 2025 15:37
BREAKING CHANGE: The naming of configuration and classes change from `Bucket` naming to `Reflag`.
@owenvoke
owenvoke force-pushed the feature/bucket-reflag branch from 8c3623e to 7fff8f0 Compare September 2, 2025 15:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the codebase from "Bucket" naming to "Reflag" naming as part of a breaking change. This appears to be a complete provider rename, likely due to a service rebranding or migration.

Key changes:

  • Renamed all Bucket-related classes to Reflag equivalents (BucketProvider → ReflagProvider, BucketClient → ReflagClient, etc.)
  • Updated configuration keys and environment variable names from BUCKET_* to REFLAG_*
  • Changed the default base URI from bucket.co to reflag.com

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Providers/Reflag/ReflagProvider.php Renamed class and updated all internal references from Bucket to Reflag
src/Providers/Reflag/ReflagContext.php Renamed BucketContext class to ReflagContext
src/Providers/Reflag/ReflagClient.php Renamed BucketClient to ReflagClient, updated API endpoint and error messages
src/FeatureFlagsManager.php Updated manager to use Reflag driver and configuration
src/Exceptions/Reflag/ReflagInvalidResponseException.php Created new Reflag-specific exception class
src/Exceptions/Bucket/BucketInvalidResponseException.php Removed old Bucket exception class
config/feature-flags.php Updated configuration keys and environment variables
README.md Updated documentation to reference Reflag instead of LaunchDarkly duplicate

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@owenvoke
owenvoke merged commit 1988c3b into main Sep 26, 2025
12 checks passed
@owenvoke
owenvoke deleted the feature/bucket-reflag branch September 26, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants