Skip to content

Commit d1eda90

Browse files
chore(release): 11.0.2 [skip ci]
## [11.0.2](v11.0.1...v11.0.2) (2025-02-28) ### Bug Fixes * **CommandFormatter.php:** enhance priority handling for command properties and contact fields ([56c5e9b](56c5e9b))
1 parent 56c5e9b commit d1eda90

File tree

4 files changed

+73
-14
lines changed

4 files changed

+73
-14
lines changed

HISTORY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [11.0.2](https://github.com/centralnicgroup-opensource/rtldev-middleware-php-sdk/compare/v11.0.1...v11.0.2) (2025-02-28)
2+
3+
4+
### Bug Fixes
5+
6+
* **CommandFormatter.php:** enhance priority handling for command properties and contact fields ([56c5e9b](https://github.com/centralnicgroup-opensource/rtldev-middleware-php-sdk/commit/56c5e9bb33dce37ebdf0fc455eb691403543cac4))
7+
18
## [11.0.1](https://github.com/centralnicgroup-opensource/rtldev-middleware-php-sdk/compare/v11.0.0...v11.0.1) (2025-02-07)
29

310

docs/classes/CNIC-CommandFormatter.html

Lines changed: 56 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,18 @@ <h4 id="toc-methods">
210210
<dd>Find the priority of a given key</dd>
211211

212212
<dt class="phpdocumentor-table-of-contents__entry -method -private">
213-
<a class="" href="classes/CNIC-CommandFormatter.html#method_getPriorityArray">getPriorityArray()</a>
213+
<a class="" href="classes/CNIC-CommandFormatter.html#method_getPropertiesContactFieldsWithPriority">getPropertiesContactFieldsWithPriority()</a>
214+
<span>
215+
&nbsp;: array&lt;string, mixed&gt; </span>
216+
</dt>
217+
<dd>Assign the priority of each key in the command array based on the key pattern</dd>
218+
219+
<dt class="phpdocumentor-table-of-contents__entry -method -private">
220+
<a class="" href="classes/CNIC-CommandFormatter.html#method_getPropertiesPriority">getPropertiesPriority()</a>
214221
<span>
215222
&nbsp;: array&lt;string, int&gt; </span>
216223
</dt>
217-
<dd>Get the priority array with regex patterns</dd>
224+
<dd>Generate the priority array with properties dynamically including contact fields and their priority</dd>
218225

219226
</dl>
220227

@@ -414,7 +421,7 @@ <h4 class="phpdocumentor-element__name" id="method_findPriority">
414421
<aside class="phpdocumentor-element-found-in">
415422
<abbr class="phpdocumentor-element-found-in__file" title="src/CommandFormatter.php"><a href="files/src-commandformatter.html"><abbr title="src/CommandFormatter.php">CommandFormatter.php</abbr></a></abbr>
416423
:
417-
<span class="phpdocumentor-element-found-in__line">121</span>
424+
<span class="phpdocumentor-element-found-in__line">143</span>
418425

419426
</aside>
420427

@@ -470,9 +477,9 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
470477
-private
471478
-static "
472479
>
473-
<h4 class="phpdocumentor-element__name" id="method_getPriorityArray">
474-
getPriorityArray()
475-
<a href="classes/CNIC-CommandFormatter.html#method_getPriorityArray" class="headerlink"><i class="fas fa-link"></i></a>
480+
<h4 class="phpdocumentor-element__name" id="method_getPropertiesContactFieldsWithPriority">
481+
getPropertiesContactFieldsWithPriority()
482+
<a href="classes/CNIC-CommandFormatter.html#method_getPropertiesContactFieldsWithPriority" class="headerlink"><i class="fas fa-link"></i></a>
476483

477484
</h4>
478485
<aside class="phpdocumentor-element-found-in">
@@ -482,11 +489,50 @@ <h4 class="phpdocumentor-element__name" id="method_getPriorityArray">
482489

483490
</aside>
484491

485-
<p class="phpdocumentor-summary">Get the priority array with regex patterns</p>
492+
<p class="phpdocumentor-summary">Assign the priority of each key in the command array based on the key pattern</p>
493+
494+
<code class="phpdocumentor-code phpdocumentor-signature ">
495+
<span class="phpdocumentor-signature__visibility">private</span>
496+
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getPropertiesContactFieldsWithPriority</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string, mixed&gt;</span></code>
497+
498+
<div class="phpdocumentor-label-line">
499+
</div>
500+
501+
502+
503+
504+
505+
506+
507+
<section>
508+
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
509+
<span class="phpdocumentor-signature__response_type">array&lt;string, mixed&gt;</span>
510+
</section>
511+
512+
</article>
513+
<article
514+
class="phpdocumentor-element
515+
-method
516+
-private
517+
-static "
518+
>
519+
<h4 class="phpdocumentor-element__name" id="method_getPropertiesPriority">
520+
getPropertiesPriority()
521+
<a href="classes/CNIC-CommandFormatter.html#method_getPropertiesPriority" class="headerlink"><i class="fas fa-link"></i></a>
522+
523+
</h4>
524+
<aside class="phpdocumentor-element-found-in">
525+
<abbr class="phpdocumentor-element-found-in__file" title="src/CommandFormatter.php"><a href="files/src-commandformatter.html"><abbr title="src/CommandFormatter.php">CommandFormatter.php</abbr></a></abbr>
526+
:
527+
<span class="phpdocumentor-element-found-in__line">123</span>
528+
529+
</aside>
530+
531+
<p class="phpdocumentor-summary">Generate the priority array with properties dynamically including contact fields and their priority</p>
486532

487533
<code class="phpdocumentor-code phpdocumentor-signature ">
488534
<span class="phpdocumentor-signature__visibility">private</span>
489-
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getPriorityArray</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string, int&gt;</span></code>
535+
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getPropertiesPriority</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string, int&gt;</span></code>
490536

491537
<div class="phpdocumentor-label-line">
492538
</div>
@@ -624,7 +670,8 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
624670
<li class=""><a href="classes/CNIC-CommandFormatter.html#method_formatCommand">formatCommand()</a></li>
625671
<li class=""><a href="classes/CNIC-CommandFormatter.html#method_getSortedCommand">getSortedCommand()</a></li>
626672
<li class=""><a href="classes/CNIC-CommandFormatter.html#method_findPriority">findPriority()</a></li>
627-
<li class=""><a href="classes/CNIC-CommandFormatter.html#method_getPriorityArray">getPriorityArray()</a></li>
673+
<li class=""><a href="classes/CNIC-CommandFormatter.html#method_getPropertiesContactFieldsWithPriority">getPropertiesContactFieldsWithPriority()</a></li>
674+
<li class=""><a href="classes/CNIC-CommandFormatter.html#method_getPropertiesPriority">getPropertiesPriority()</a></li>
628675
</ul>
629676
</li>
630677
</ul>

docs/js/searchIndex.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,15 @@ Search.appendIndex(
161161
"summary": "Format\u0020the\u0020command\u0020array\u0020into\u0020a\u0020plain\u0020text\u0020string",
162162
"url": "classes/CNIC-CommandFormatter.html#method_formatCommand"
163163
}, {
164-
"fqsen": "\\CNIC\\CommandFormatter\u003A\u003AgetPriorityArray\u0028\u0029",
165-
"name": "getPriorityArray",
166-
"summary": "Get\u0020the\u0020priority\u0020array\u0020with\u0020regex\u0020patterns",
167-
"url": "classes/CNIC-CommandFormatter.html#method_getPriorityArray"
164+
"fqsen": "\\CNIC\\CommandFormatter\u003A\u003AgetPropertiesContactFieldsWithPriority\u0028\u0029",
165+
"name": "getPropertiesContactFieldsWithPriority",
166+
"summary": "Assign\u0020the\u0020priority\u0020of\u0020each\u0020key\u0020in\u0020the\u0020command\u0020array\u0020based\u0020on\u0020the\u0020key\u0020pattern",
167+
"url": "classes/CNIC-CommandFormatter.html#method_getPropertiesContactFieldsWithPriority"
168+
}, {
169+
"fqsen": "\\CNIC\\CommandFormatter\u003A\u003AgetPropertiesPriority\u0028\u0029",
170+
"name": "getPropertiesPriority",
171+
"summary": "Generate\u0020the\u0020priority\u0020array\u0020with\u0020properties\u0020dynamically\u0020including\u0020contact\u0020fields\u0020and\u0020their\u0020priority",
172+
"url": "classes/CNIC-CommandFormatter.html#method_getPropertiesPriority"
168173
}, {
169174
"fqsen": "\\CNIC\\CommandFormatter\u003A\u003AfindPriority\u0028\u0029",
170175
"name": "findPriority",

src/HEXONET/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public function getReferer()
255255
*/
256256
public function getVersion()
257257
{
258-
return "11.0.1";
258+
return "11.0.2";
259259
}
260260

261261
/**

0 commit comments

Comments
 (0)