Skip to content

Commit 1148721

Browse files
authored
Version 0.12.0 (#516)
Release of version 0.12.0 See below the full CHANGELOG details. Added: - [Library] Radio button component ([#266](#266)) - [Library] `RadioButton` component tokens (tokens library v0.7.0) - [Library] Checkbox component ([#264](#264)) - [Library] `colorDecorativeNeutral*` color semantic tokens (tokens library v0.6.1) Changed: - [Tool] Migration to Xcode 16.2 ([#258](#258)) - [Tool] Update `SwiftLint` pod from v0.58.1 to v0.58.2 - [Tool] Update `fastlane` gem from v2.226.0 to v2.227.0 - [Library] Split checkbox component API for two-values and three-values states ([#497](#497)) - [Library] Rename *selector* to *indicator* for control item absed components ([#496](#496)) - [Library] Checkbox component v2 ([#486](#486)) - [Library] Group components by category in documentation ([#484](#484)) - [Tool] Update `json` RubyGem from 2.9.0 to 2.10.1 - [Tool] Update `SwiftFormat/CLI` pod from v0.55.3 to v0.55.5 - [Tool] Update `SwiftLint` pod from v0.57.1 to v0.58.1 - [Library] `Color` semantic tokens (tokens library v0.6.1) - [Library] `Badge`, `Chip` component tokens (tokens library v0.6.1) - [Library] Initialization of component tokens providers - [Library] Initialization of themes Removed: - [Library] Breadcrumb component tokens Fixed: - [DesignToolbox] Checkbox item displaying devider by default and should not ([#502](#502)) - [Library] Add `spaceRowGap` token between texts in `ControlItem` ([#499](#499)) - [Library] A11Y improvements for checkbox ([#488](#488)) - [DesignToolbox] Miscellaneous improvements ([#479](#479)) - [Library] Fixes for checkbox component ([#477](#477)) - [Library] Fix radius on button ([#472](#472)) Security: - [Tool] Update `json` RubyGem from 2.10.1 to 2.10.2 (CVE-2025-27788) ([#500](#500)) - [Tool] Update `uri` RubyGem to 1.0.3 (CVE-2025-27221) ([#6](https://github.com/Orange-OpenSource/ouds-ios/security/dependabot/6)) Co-authored-by: Pierre-Yves Lapersonne <[email protected]> Co-authored-by: Ludovic Pinel <[email protected]> Co-authored-by: boosted-bot <[email protected]> Signed-off-by Pierre-Yves Lapersonne <[email protected]>
2 parents 1bb9471 + a40020c commit 1148721

File tree

3,748 files changed

+9770
-2053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,748 files changed

+9770
-2053
lines changed

.github/CODE_OF_CONFLICT.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Code of Conflict
2+
3+
The Orange Unified Design System iOS library development effort is a kind
4+
of personal process just like open source (or not) software projects.
5+
Your code and ideas behind it will be carefully reviewed, maybe resulting
6+
in critique and criticism. The review will sometimes require improvements
7+
to the code before it can be included in the project. Know that this happens
8+
because everyone involved wants to see cool and useful features for
9+
the project.
10+
11+
If however, anyone feels personally abused, threatened, or otherwise
12+
uncomfortable due to this process, that is not acceptable. If so,
13+
please contact Orange Open Source Gouvernance at
14+
<[email protected]>, or the individual members, and they
15+
will work to resolve the issue to the best of their ability.
16+
17+
As a reviewer of code, please strive to keep things civil and focused on
18+
the technical issues involved. We are all humans, and frustrations can
19+
be high on both sides of the process.

.github/CONTRIBUTING.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Contributing to OUDS iOS
22

33
- [Using the Issue Tracker](#using-the-issue-tracker)
4+
- [Using the Discussion Tracker](#using-the-issue-tracker)
45
- [Issues and Labels](#issues-and-labels)
56
- [Bug Reports](#bug-reports)
67
- [Feature Requests](#feature-requests)
78
- [Pull Requests](#pull-requests)
89
- [Code Guidelines](#code-guidelines)
910
- [Commits Style](#commits-style)
11+
- [Developer Certificate of Origin](#developer-certificate-of-origin)
1012
- [Review Workflow](#review-workflow)
1113
- [License](#license)
1214

@@ -31,6 +33,16 @@ The [issue tracker](https://github.com/Orange-OpenSource/ouds-ios/issues) is the
3133

3234
- Please **do not** post comments consisting solely of "+1" or ":thumbsup:". Use [GitHub's "reactions" feature](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) instead. We reserve the right to delete comments which violate this rule.
3335

36+
## Using the Discussion Tracker
37+
38+
The GitHub project provides a [discussion tracker](https://github.com/Orange-OpenSource/ouds-ios/discussions) with several sections.
39+
40+
You may need to refer to the [Q&A section](https://github.com/Orange-OpenSource/ouds-ios/discussions/categories/q-a) if you have questions in mind, or to [Ideas section](https://github.com/Orange-OpenSource/ouds-ios/discussions/categories/ideas) for discussions about technical things.
41+
42+
If you found a discussion which interests you or fills your needs, feel free to use [GitHub's "reactions" feature](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) and bring useful comments. We reserve the right to delete comments which violate this rule.
43+
44+
Keep in mind internal or sensitive discussions must be in internal tools, not public ones.
45+
3446
## Issues and Labels
3547

3648
Our bug tracker utilizes several labels to help organize and identify issues. Here's what they represent and how we use them:
@@ -142,7 +154,7 @@ Respect the architecture of the project, and [refer to the wiki if needed](https
142154

143155
Try as best as possible to apply [conventional commits rules](https://www.conventionalcommits.org/en/v1.0.0/).
144156
Keep in mind to have your commits well prefixed, and with the issue number between parenthesis at the end.
145-
If your commits embed contributions for other people, do not forget to [add them as co-authors](https://docs.github.com/fr/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors). All of you should also comply to DCO.
157+
If your commits embed contributions for other people, do not forget to [add them as co-authors](https://docs.github.com/fr/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors).
146158

147159
For example, given a commit to fix the issue n°43, the commit should be like:
148160

@@ -223,6 +235,13 @@ Add thousands of tokens and hundreds of tests.
223235
Assisted-by: GPT-4o-mini (Dinootoo)
224236
```
225237

238+
## Developer Certificate of Origin
239+
240+
You may notice in the previous section the commits are signed-off.
241+
For external contributors the DCO (i.e. [Developer Certificate of Origin of Linux Foundation in its version 1.1](https://developercertificate.org/)) is required.
242+
For Orange contributors it is highly recommended and will be mandatory soon.
243+
You can refer to the documentation about [-s / --signoff](https://git-scm.com/docs/git-commit) options for your Git commands.
244+
226245
## Review workflow
227246

228247
Because we want to define and provide an amazing design system for developers, we want to onboard for any evolutions the Q/A team for tests and also the design ans accessibiltiy (a11y) teams so as to check the fixes, patches or evolutions have been well implemented and tested.

.github/DEVELOP.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ rbenv global 3.3.5
7676
ruby --version
7777
```
7878

79-
We use also for our GitLab CI runners **Xcode 16**, we suggest you use this version or newer if you want.
79+
We use also for our GitLab CI runners **Xcode 16.2**, we suggest you use this version or newer if you want.
8080

81-
**Xcode 16** and **Swift 6** are used for this project. You must use this configuration.
81+
**Xcode 16.2** and **Swift 6** are used for this project. You must use this configuration.
8282

8383
## Build Design System Toolbox
8484

@@ -131,7 +131,7 @@ To run these UI tests follow some steps:
131131
2. `bundle exec pod install`
132132
3. Open *DesignToolbox.xcworkspace*
133133
4. Select *DesignToolboxSnapshotsTests* scheme
134-
5. Select *iPhone 16 Pro* simulator (the device used to tests and views rendering)
134+
5. Select *iPhone 16 Pro (18.0)* simulator (the device used to tests and views rendering)
135135
6. Run tests (Product -> Test)
136136

137137
Beware, if you add new UI tests using [swift-snapshot-testing](https://github.com/pointfreeco/swift-snapshot-testing) library, you may have new tests which fail at first time.
@@ -143,7 +143,7 @@ Any interface modifications require regenerating the illustrations using the too
143143

144144
**Note today because the demo app (Design System Toolbox) is hosted in the repository, the tests assets are versioned too, thus the _Swift Package_ will be heavy when being downloaded because Xcode downloads the entire repository. When the demo app app will be extracted to an internal repository, the _Swift Package_ will be lighter**.
145145

146-
The device under tests is a **simulator of iPhone 16 Pro, in portrait mode, with no a11y feature enabled, and a text size of 100% in english mode**.
146+
The device under tests is a **simulator of iPhone 16 Pro (18.0), in portrait mode, with no a11y feature enabled, and a text size of 100% in english mode**.
147147

148148
#### How to use to use swift-snapshot-testing library
149149

@@ -277,7 +277,7 @@ We can add metafields picked from [this good guideline](https://git.kernel.org/p
277277
This is not mandatory (yet) but a good practice and quite interesting to know who reviewed and validated what.
278278
You must mention *co-authors* (*Co-authored-by*). You should add who are code reviewers (*Reviewed-by*), evolutions testers (*Tested-by*) and if needed ackers (*Acked-by*).
279279

280-
For example, for issue n°123 and its pull request n°456, tested by Anton, Iman, Maxime, Stephen, Pierre-Yves and Benoit, reviewed by Ludovic, authored by Tayeb and Pierre-Yves, and acked by Julien:
280+
For example, for issue n°123 and its pull request n°456, tested by Anton, Iman, Maxime, Pierre-Yves and Benoit, reviewed by Ludovic, authored by Tayeb and Pierre-Yves, and acked by Stephen:
281281
```text
282282
refactor: update some things colors and design of the demo app (#123) (#4562)
283283
@@ -287,10 +287,9 @@ Tested-by: Iman Assabah <[email protected]>
287287
Tested-by: Anton Astafev <[email protected]>
288288
Tested-by: Benoit Suzanne <[email protected]>
289289
Tested-by: Maxime Tonnerre <[email protected]>
290-
Tested-by: Stephen McCarthy <[email protected]>
291290
Tested-by: Pierre-Yves Ayoul <[email protected]>
292291
Reviewed-by: Ludovic Pinel <[email protected]>
293-
Acked-by: Julien Déramond <julien.deramond@orange.com>
292+
Acked-by: Stephen McCarthy <stephen.mccarthy@orange.com>
294293
Co-authored-by: Tayeb Sedraia <[email protected]>
295294
Co-authored-by: Pierre-Yves Lapersonne <[email protected]>
296295
Signed-off-by: Tayeb Sedraia <[email protected]>

.github/ISSUE_TEMPLATE/component_update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ body:
3232
- label: Documentations have been updated
3333
- label: Unit tests have been updated
3434
- label: UI tests have been updated
35-
- label: Demo app have been updated
35+
- label: Design System Toolbox has been updated
3636
- label: Retrocompatibility has been checked, or broken API have been flagged as deprecated with a workaround

.github/MAINTAINERS.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
- [Overview](#overview)
2+
- [Current Maintainers](#current-maintainers)
3+
<!-- - [Emeritus](#emeritus) -->
4+
5+
## Overview
6+
7+
This document contains a list of maintainers in this repo. See [RESPONSIBILITIES.md](https://github.com/Orange-OpenSource/ouds-ios/blob/develop/.github/RESPONSIBILITIES.md#maintainer-responsibilities) that explains what the role of maintainer means, what maintainers do in this repository, and how they should be doing it. If you're interested in contributing, and becoming a maintainer, see [CONTRIBUTING](https://github.com/Orange-OpenSource/ouds-ios/blob/develop/.github/CONTRIBUTING.md).
8+
9+
## Current Maintainers
10+
11+
<!-- Sort by alphabetic order, last name in upper case -->
12+
13+
| Maintainer | GitHub ID | Emaill | Affiliation |
14+
| ------------------------ | ---------------------------------------------------- | -------------- |
15+
| Pierre-Yves LAPERSONNE | pylapp | [email protected] | Orange SA |
16+
| Ludovic PINEL | ludovic35 | [email protected] | Orange SA |
17+
18+
<!--
19+
## Emeritus
20+
21+
| Maintainer | GitHub ID | Affiliation |
22+
| ------------------------ | --------------------------------------------------------- | -------------- |
23+
-->

.github/RESPONSIBILITIES.md

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
- [Overview](#overview)
2+
- [Current Maintainers](#current-maintainers)
3+
- [Maintainer Responsibilities](#maintainer-responsibilities)
4+
- [Uphold Code of Conduct](#uphold-code-of-conduct)
5+
- [Prioritize Security](#prioritize-security)
6+
- [Review Pull Requests](#review-pull-requests)
7+
- [Triage Open Issues](#triage-open-issues)
8+
- [Automatically Label Issues](#automatically-label-issues)
9+
- [Be Responsive](#be-responsive)
10+
- [Maintain Overall Health of the Repo](#maintain-overall-health-of-the-repo)
11+
- [Keep Dependencies up to Date](#keep-dependencies-up-to-date)
12+
- [Manage Roadmap](#manage-roadmap)
13+
- [Add Continuous Integration Checks](#add-continuous-integration-checks)
14+
- [Use Semver](#use-semver)
15+
- [Release Frequently](#release-frequently)
16+
- [Promote Other Maintainers](#promote-other-maintainers)
17+
- [Describe the Repo](#describe-the-repo)
18+
- [Becoming a Maintainer](#becoming-a-maintainer)
19+
- [Nomination](#nomination)
20+
- [Interest](#interest)
21+
- [Addition](#addition)
22+
- [Removing a Maintainer](#removing-a-maintainer)
23+
- [Moving On](#moving-on)
24+
- [Inactivity](#inactivity)
25+
- [Negative Impact on the Project](#negative-impact-on-the-project)
26+
27+
## Overview
28+
29+
This document explains who maintainers are, what they do in this repository, and how they should be doing it. If you're interested in contributing, see [CONTRIBUTING](CONTRIBUTING.md).
30+
31+
## Current Maintainers
32+
33+
See the [MAINTAINERS.md](MAINTAINERS.md) file that lists current maintainers.
34+
35+
## Maintainer Responsibilities
36+
37+
Maintainers are active and visible members of the community, and have high-level permissions on the repository. Use those privileges to serve the community and evolve code as follows.
38+
39+
### Uphold Code of Conduct
40+
41+
Model the behavior set forward by the [Code of Conduct](CODE_OF_CONDUCT.md) and apply the [Code of Conflict](CODE_OF_CONFLCIT.md).
42+
43+
### Review Pull Requests
44+
45+
It's our responsibility to ensure the content and code in pull requests are correct and of high quality before they are merged. Here are some best practices:
46+
47+
- Leverage the issue triaging process to review pull requests and assign them to maintainers for review (use [CODEOWNERS](CODEOWNERS) if needed).
48+
- In cases of uncertainty on how to proceed, search for related issues and reference the pull request to find additional collaborators.
49+
- When providing feedback on pull requests, make sure your feedback is actionable to guide the pull request towards a conclusion.
50+
- If a pull request is valuable but isn't gaining traction, consider reaching out to fulfill the necessary requirements. This way, the pull request can be merged, even if the work is done by several individuals.
51+
- Lastly, strive for progress, not perfection.
52+
53+
### Triage Open Issues
54+
55+
Manage labels, review issues regularly, and triage by labelling them.
56+
57+
Use labels to target an issue or a pull request for a given release, add `Good first issue` to good issues for new community members, and `Help wanted` for issues that scare you or need immediate attention. Request for more information from a submitter if an issue is not clear. Create new labels as needed by the project.
58+
59+
#### Automatically Label Issues
60+
61+
There are many tools available in GitHub for controlling labels on issues and pull requests. Use standard issue templates in the [./.github/ISSUE_TEMPLATE](./.github/ISSUE_TEMPLATE) directory to apply appropriate labels such as `bug` and `triage`.
62+
63+
### Be Responsive
64+
65+
Respond to enhancement requests, and discussions. Allocate time to reviewing and commenting on issues and conversations as they come in.
66+
67+
### Maintain Overall Health of the Repo
68+
69+
Keep the `main` branch at production quality at all times. Backport features as needed. Cut release branches and tags to enable future patches.
70+
71+
#### Keep Dependencies up to Date
72+
73+
Maintaining up-to-date dependencies on third party projects reduces the risk of security vulnerabilities. The Open Source Security Foundation (OpenSSF) [recommends](https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool) either [dependabot](https://docs.github.com/en/code-security/dependabot) or [renovatebot](https://docs.renovatebot.com/). Both of these applications generate Pull Requests for dependency version updates. We use Renovate here.Renovate is integrated as part of the Remediate app in [Mend for Github](https://github.com/apps/mend-for-g.yxqyang.asia), which is enabled on this repository.
74+
75+
### Use Semver
76+
77+
Use and enforce [semantic versioning](https://semver.org/) and do not let breaking changes be made outside of major releases.
78+
79+
### Release Frequently
80+
81+
Make frequent project releases to the community.
82+
83+
### Promote Other Maintainers
84+
85+
Assist, add, and remove [MAINTAINERS](MAINTAINERS.md). Exercise good judgement, and propose high quality contributors to become co-maintainers. See [Becoming a Maintainer](#becoming-a-maintainer) for more information.
86+
87+
### Describe the Repo
88+
89+
Make sure the repo has a well-written, accurate, and complete description.
90+
91+
### Becoming or not a Maintainer
92+
93+
The repository admins, seens as top maintainer, are the only ones able to choose wether or not somebody can be named as maintainer, in the way they want.
94+

.github/SECURITY.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Security Policy
2+
3+
# Reporting Security Issues
4+
5+
We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
6+
Send an e-mail to [[email protected]](mailto:[email protected]) to report a vulnerability and contact all people in CONTRIBUTORS and MAINTAINERS including the word "SECURITY" in the subject line.
7+
8+
Please allow our team sufficient time to resolve the vulnerability before disclosing it ; we'll remain in contact about the fix and may ask for your assistance to verify it is resolved.
9+
10+
We will endeavor to respond quickly, and will keep you updated throughout the process.

.github/cliff.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
header = """
2020
# What's new\n
2121
```
22-
🧱 Tokens version: v.
22+
🧱 Tokens version:
2323
```
2424
"""
2525
# template for the changelog body

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ _Note: Please transform `- [ ]` into `- (NA)` in the description when things are
6060
- [ ] The evolution have been tested and the project builds for iPhones and iPads
6161
- [ ] Code review has been done by reviewers according to [CODEOWNERS file](https://github.com/Orange-OpenSource/ouds-ios/blob/develop/.github/CODEOWNERS)
6262
- [ ] Design review has been done
63-
- [ ] Accessibiltiy review has been done
63+
- [ ] Accessibility review has been done
6464
- [ ] Q/A team has tested the evolution
6565
- [ ] Documentation has been updated if relevant
6666
- [ ] Internal files have been updated if relevant (like CONTRIBUTING, DEVELOP, THIRD_PARTY, CONTRIBUTORS, NOTICE)

.github/workflows/build-and-test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Set up Xcode 16
4444
run: |
45-
sudo xcode-select -s /Applications/Xcode_16.app/Contents/Developer
45+
sudo xcode-select -s /Applications/Xcode_16.2.0.app/Contents/Developer
4646
4747
- name: Set up Ruby
4848
uses: ruby/setup-ruby@v1
@@ -65,9 +65,9 @@ jobs:
6565
- name: Checkout code
6666
uses: actions/checkout@v4
6767

68-
- name: Set up Xcode 16
68+
- name: Set up Xcode 16.2
6969
run: |
70-
sudo xcode-select -s /Applications/Xcode_16.app/Contents/Developer
70+
sudo xcode-select -s /Applications/Xcode_16.2.0.app/Contents/Developer
7171
7272
- name: Set up Ruby
7373
uses: ruby/setup-ruby@v1
@@ -91,9 +91,9 @@ jobs:
9191
- name: Checkout code
9292
uses: actions/checkout@v4
9393

94-
- name: Set up Xcode 16
94+
- name: Set up Xcode 16.2
9595
run: |
96-
sudo xcode-select -s /Applications/Xcode_16.app/Contents/Developer
96+
sudo xcode-select -s /Applications/Xcode_16.2.0.app/Contents/Developer
9797
9898
- name: Set up Ruby
9999
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)