Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

item-mixin: Improve Item name validation RegEx #2658

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

florian-h05
Copy link
Contributor

A-z also matches [ \ ] ^ _ , which is not intended.

`A-z` also matches `[ \ ] ^ _ `, which is not intended.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@florian-h05 florian-h05 requested a review from a team as a code owner July 9, 2024 09:51
@florian-h05 florian-h05 added enhancement New feature or request main ui Main UI labels Jul 9, 2024
@florian-h05 florian-h05 added this to the 4.3 milestone Jul 9, 2024
Copy link

relativeci bot commented Jul 9, 2024

#2114 Bundle Size — 10.67MiB (~+0.01%).

6baef88(current) vs 2d07d21 main#2113(baseline)

Warning

Bundle contains 2 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#2114
     Baseline
#2113
Regression  Initial JS 1.88MiB(~+0.01%) 1.88MiB
No change  Initial CSS 607.91KiB 607.91KiB
Change  Cache Invalidation 17.58% 23.14%
No change  Chunks 223 223
No change  Assets 246 246
No change  Modules 2888 2888
No change  Duplicate Modules 149 149
No change  Duplicate Code 1.85% 1.85%
No change  Packages 97 97
No change  Duplicate Packages 2 2
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#2114
     Baseline
#2113
Regression  JS 8.86MiB (~+0.01%) 8.86MiB
No change  CSS 892.63KiB 892.63KiB
No change  Fonts 526.1KiB 526.1KiB
No change  Media 295.6KiB 295.6KiB
No change  IMG 140.74KiB 140.74KiB
No change  HTML 1.24KiB 1.24KiB
No change  Other 871B 871B

Bundle analysis reportBranch florian-h05:validata-item-name-r...Project dashboard

@florian-h05 florian-h05 merged commit 553591d into openhab:main Jul 9, 2024
8 checks passed
@florian-h05 florian-h05 deleted the validata-item-name-regex branch July 9, 2024 10:02
florian-h05 pushed a commit that referenced this pull request Dec 31, 2024
florian-h05 pushed a commit that referenced this pull request Dec 31, 2024
Reported in
https://community.openhab.org/t/openhab-4-3-item-name-starting-with-underscore/161244

Regression from #2658

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
(cherry picked from commit 2028872)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request main ui Main UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant