Skip to content

Commit 7d44c8f

Browse files
committed
Merge branch 'main' into feat/uc2-migrations
2 parents 1e9d4ef + 56a2e22 commit 7d44c8f

File tree

6 files changed

+38
-2
lines changed

6 files changed

+38
-2
lines changed

.ldrelease/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ publications:
1010

1111
branches:
1212
- name: main
13-
description: 5.x
13+
description: 6.x
14+
- name: 5.x
1415
- name: 4.x
1516

1617
jobs:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the LaunchDarkly PHP SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [5.2.0] - 2023-10-23
6+
### Deprecated:
7+
- `LDUser` is now deprecated in favor of `LDContext`.
8+
59
## [5.1.1] - 2023-07-12
610
### Changed:
711
- Invalid context log message now includes the flag key as part of the Psr\Log context. (Thanks, [mrtus](https://github.com/launchdarkly/php-server-sdk/pull/179)!)

baseline.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<files psalm-version="4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69">
3+
<file src="src/LaunchDarkly/LDClient.php">
4+
<DeprecatedClass occurrences="7">
5+
<code>LDContext|LDUser</code>
6+
<code>LDContext|LDUser</code>
7+
<code>LDContext|LDUser</code>
8+
<code>LDContext|LDUser</code>
9+
<code>LDContext|LDUser</code>
10+
<code>LDContext|LDUser</code>
11+
<code>LDContext|LDUser</code>
12+
</DeprecatedClass>
13+
</file>
14+
<file src="src/LaunchDarkly/LDContext.php">
15+
<DeprecatedClass occurrences="1">
16+
<code>LDUser</code>
17+
</DeprecatedClass>
18+
</file>
19+
<file src="src/LaunchDarkly/LDUserBuilder.php">
20+
<DeprecatedClass occurrences="3">
21+
<code>LDUser</code>
22+
<code>LDUser</code>
23+
</DeprecatedClass>
24+
</file>
25+
</files>

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
66
xmlns="https://getpsalm.org/schema/config"
77
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8+
errorBaseline="baseline.xml"
89
>
910
<projectFiles>
1011
<directory name="src" />

src/LaunchDarkly/LDClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class LDClient
3636
* The current SDK version.
3737
* @var string
3838
*/
39-
const VERSION = '5.1.1';
39+
const VERSION = '5.2.0';
4040

4141
protected string $_sdkKey;
4242
protected string $_baseUri;

tests/bootstrap.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
error_reporting(E_ALL & ~E_USER_DEPRECATED);
4+
5+
require 'vendor/autoload.php';

0 commit comments

Comments
 (0)