Skip to content

Conversation

@kinyoklion
Copy link
Member

@kinyoklion kinyoklion commented Sep 3, 2025

This PR propagates the environment ID internal to the common client.
A subsequent PR will add hooks support and utilize this environment ID support.

Base automatically changed from rlamb/o11y-add-environment-id-support to main September 3, 2025 20:46
Copy link
Member Author

Choose a reason for hiding this comment

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

Removing temporary changes from the major versioning of the event source client.

@kinyoklion kinyoklion marked this pull request as ready for review September 4, 2025 16:12
@kinyoklion kinyoklion requested a review from a team as a code owner September 4, 2025 16:12
cursor[bot]

This comment was marked as outdated.

// (credential).
if (_store.environmentId != null) {
await _persistence?.set(
_environmentKey, _envIdKey, _store.environmentId!);
Copy link
Contributor

@tanderson-ld tanderson-ld Sep 5, 2025

Choose a reason for hiding this comment

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

Is this bang avoidable?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is checked before, but the dart compiler still wanted it. I think because maybe it doesn't know the parameter evaluation happens before the async operation.

@kinyoklion kinyoklion merged commit 71b522b into main Sep 5, 2025
5 checks passed
@kinyoklion kinyoklion deleted the rlamb/update-for-2.x-event-source branch September 5, 2025 16:22
kinyoklion pushed a commit that referenced this pull request Sep 12, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.7.0](launchdarkly_common_client-v1.6.2...launchdarkly_common_client-v1.7.0)
(2025-09-12)


### Features

* Add experimental plugin support.
([#225](#225))
([5bd9ce7](5bd9ce7))
* Add support for hooks.
([#220](#220))
([6e7a26d](6e7a26d))
* Internal environment ID support.
([#217](#217))
([71b522b](71b522b))


### Bug Fixes

* Change hook data values to `dynamic` from `LDValue`.
([d7720f3](d7720f3))
* Export required plugin meta-data types.
([d7720f3](d7720f3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

3 participants