You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+63Lines changed: 63 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,76 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
12
+
- New method `Redmine\Api\Attachment::fromHttpClient()` for creating the class.
13
+
- New method `Redmine\Api\CustomField::fromHttpClient()` for creating the class.
14
+
- New method `Redmine\Api\Group::fromHttpClient()` for creating the class.
15
+
- New method `Redmine\Api\Issue::fromHttpClient()` for creating the class.
16
+
- New method `Redmine\Api\IssueCategory::fromHttpClient()` for creating the class.
17
+
- New method `Redmine\Api\IssuePriority::fromHttpClient()` for creating the class.
18
+
- New method `Redmine\Api\IssueRelation::fromHttpClient()` for creating the class.
19
+
- New method `Redmine\Api\IssueStatus::fromHttpClient()` for creating the class.
20
+
- New method `Redmine\Api\Membership::fromHttpClient()` for creating the class.
21
+
- New method `Redmine\Api\News::fromHttpClient()` for creating the class.
22
+
- New method `Redmine\Api\Project::fromHttpClient()` for creating the class.
23
+
- New method `Redmine\Api\Query::fromHttpClient()` for creating the class.
24
+
- New method `Redmine\Api\Role::fromHttpClient()` for creating the class.
25
+
- New method `Redmine\Api\Search::fromHttpClient()` for creating the class.
26
+
- New method `Redmine\Api\TimeEntry::fromHttpClient()` for creating the class.
27
+
- New method `Redmine\Api\TimeEntryActivity::fromHttpClient()` for creating the class.
28
+
- New method `Redmine\Api\Tracker::fromHttpClient()` for creating the class.
29
+
- New method `Redmine\Api\User::fromHttpClient()` for creating the class.
30
+
- New method `Redmine\Api\Version::fromHttpClient()` for creating the class.
31
+
- New method `Redmine\Api\Wiki::fromHttpClient()` for creating the class.
12
32
- Add support for PHP 8.5
13
33
- Add support for Redmine 6.1.
14
34
15
35
### Changed
16
36
17
37
- Behaviour-driven tests are run against Redmine 6.1.0, 6.0.7, 5.1.10.
18
38
39
+
### Deprecated
40
+
41
+
-`Redmine\Api\Attachment::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Attachment::fromHttpClient()` instead.
42
+
- Extending `Redmine\Api\Attachment` is deprecated and will be set to final in future, create a wrapper class instead.
43
+
-`Redmine\Api\CustomField::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\CustomField::fromHttpClient()` instead.
44
+
- Extending `Redmine\Api\CustomField` is deprecated and will be set to final in future, create a wrapper class instead.
45
+
-`Redmine\Api\Group::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Group::fromHttpClient()` instead.
46
+
- Extending `Redmine\Api\Group` is deprecated and will be set to final in future, create a wrapper class instead.
47
+
-`Redmine\Api\Issue::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Issue::fromHttpClient()` instead.
48
+
- Extending `Redmine\Api\Issue` is deprecated and will be set to final in future, create a wrapper class instead.
49
+
-`Redmine\Api\IssueCategory::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\IssueCategory::fromHttpClient()` instead.
50
+
- Extending `Redmine\Api\IssueCategory` is deprecated and will be set to final in future, create a wrapper class instead.
51
+
-`Redmine\Api\IssuePriority::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\IssuePriority::fromHttpClient()` instead.
52
+
- Extending `Redmine\Api\IssuePriority` is deprecated and will be set to final in future, create a wrapper class instead.
53
+
-`Redmine\Api\IssueRelation::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\IssueRelation::fromHttpClient()` instead.
54
+
- Extending `Redmine\Api\IssueRelation` is deprecated and will be set to final in future, create a wrapper class instead.
55
+
-`Redmine\Api\IssueStatus::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\IssueStatus::fromHttpClient()` instead.
56
+
- Extending `Redmine\Api\IssueStatus` is deprecated and will be set to final in future, create a wrapper class instead.
57
+
-`Redmine\Api\Membership::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Membership::fromHttpClient()` instead.
58
+
- Extending `Redmine\Api\Membership` is deprecated and will be set to final in future, create a wrapper class instead.
59
+
-`Redmine\Api\News::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\News::fromHttpClient()` instead.
60
+
- Extending `Redmine\Api\News` is deprecated and will be set to final in future, create a wrapper class instead.
61
+
-`Redmine\Api\Project::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Project::fromHttpClient()` instead.
62
+
- Extending `Redmine\Api\Project` is deprecated and will be set to final in future, create a wrapper class instead.
63
+
-`Redmine\Api\Query::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Query::fromHttpClient()` instead.
64
+
- Extending `Redmine\Api\Query` is deprecated and will be set to final in future, create a wrapper class instead.
65
+
-`Redmine\Api\Role::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Role::fromHttpClient()` instead.
66
+
- Extending `Redmine\Api\Role` is deprecated and will be set to final in future, create a wrapper class instead.
67
+
-`Redmine\Api\Search::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Search::fromHttpClient()` instead.
68
+
- Extending `Redmine\Api\Search` is deprecated and will be set to final in future, create a wrapper class instead.
69
+
-`Redmine\TimeEntry::__construct()` is deprecated and will be set to private in future, use `\Redmine\TimeEntry::fromHttpClient()` instead.
70
+
- Extending `Redmine\TimeEntry` is deprecated and will be set to final in future, create a wrapper class instead.
71
+
-`Redmine\Api\TimeEntryActivity::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\TimeEntryActivity::fromHttpClient()` instead.
72
+
- Extending `Redmine\Api\TimeEntryActivity` is deprecated and will be set to final in future, create a wrapper class instead.
73
+
-`Redmine\Api\Tracker::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Tracker::fromHttpClient()` instead.
74
+
- Extending `Redmine\Api\Tracker` is deprecated and will be set to final in future, create a wrapper class instead.
75
+
-`Redmine\Api\User::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\User::fromHttpClient()` instead.
76
+
- Extending `Redmine\Api\User` is deprecated and will be set to final in future, create a wrapper class instead.
77
+
-`Redmine\Api\Version::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Version::fromHttpClient()` instead.
78
+
- Extending `Redmine\Api\Version` is deprecated and will be set to final in future, create a wrapper class instead.
79
+
-`Redmine\Api\Wiki::__construct()` is deprecated and will be set to private in future, use `\Redmine\Api\Wiki::fromHttpClient()` instead.
80
+
- Extending `Redmine\Api\Wiki` is deprecated and will be set to final in future, create a wrapper class instead.
$className = (new \ReflectionClass($this))->isAnonymous() ? '' : ' in `' . static::class . '`';
45
+
@trigger_error('Class `' . self::class . '` will declared as final in v3.0.0, stop extending it' . $className . '.', E_USER_DEPRECATED);
46
+
} else {
47
+
@trigger_error('Method `' . __METHOD__ . '()` is deprecated since v2.9.0 and will declared as private in v3.0.0, use `' . self::class . '::fromHttpClient()` instead.', E_USER_DEPRECATED);
$className = (new \ReflectionClass($this))->isAnonymous() ? '' : ' in `' . static::class . '`';
53
+
@trigger_error('Class `' . self::class . '` will declared as final in v3.0.0, stop extending it' . $className . '.', E_USER_DEPRECATED);
54
+
} else {
55
+
@trigger_error('Method `' . __METHOD__ . '()` is deprecated since v2.9.0 and will declared as private in v3.0.0, use `' . self::class . '::fromHttpClient()` instead.', E_USER_DEPRECATED);
$className = (new \ReflectionClass($this))->isAnonymous() ? '' : ' in `' . static::class . '`';
59
+
@trigger_error('Class `' . self::class . '` will declared as final in v3.0.0, stop extending it' . $className . '.', E_USER_DEPRECATED);
60
+
} else {
61
+
@trigger_error('Method `' . __METHOD__ . '()` is deprecated since v2.9.0 and will declared as private in v3.0.0, use `' . self::class . '::fromHttpClient()` instead.', E_USER_DEPRECATED);
$className = (new \ReflectionClass($this))->isAnonymous() ? '' : ' in `' . static::class . '`';
100
+
@trigger_error('Class `' . self::class . '` will declared as final in v3.0.0, stop extending it' . $className . '.', E_USER_DEPRECATED);
101
+
} else {
102
+
@trigger_error('Method `' . __METHOD__ . '()` is deprecated since v2.9.0 and will declared as private in v3.0.0, use `' . self::class . '::fromHttpClient()` instead.', E_USER_DEPRECATED);
103
+
}
104
+
105
+
parent::__construct($client);
106
+
}
107
+
75
108
/**
76
109
* List issues.
77
110
*
@@ -489,7 +522,7 @@ private function getIssueCategoryApi()
0 commit comments