Skip to content

Commit e70b762

Browse files
authored
Merge pull request #75 from trydofor/main
version schema to semver
2 parents a8fb043 + c242466 commit e70b762

14 files changed

Lines changed: 1079 additions & 1523 deletions

File tree

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.13.0

.tool-versions

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ make sure the versions matches,
1414

1515
* `vue` to [hope vue]
1616
* `vuepress/*` to [hope vue]
17-
* `execa` to [hope npm]
17+
* `execa` to [hope cli]
18+
* `prettier` to [hope npm]
1819
* `deploy-docs.yml` to [git workflow]
1920

2021
then npm commands,
@@ -24,7 +25,8 @@ then npm commands,
2425
* `npm run docs:dev-clean` - clean and review
2526
* `npm run docs:update-package` - update deps helper
2627

27-
[hope vue]: https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/packages/components/package.json
28+
[hope vue]: https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/pnpm-workspace.yaml
29+
[hope cli]: https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/packages/create/package.json
2830
[hope npm]: https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/package.json
2931
[git workflow]: https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/packages/create/src/config/workflow.ts
3032

package-lock.json

Lines changed: 1002 additions & 1474 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
"docs:update-package": "npx vp-update"
1313
},
1414
"devDependencies": {
15-
"@vuepress/bundler-vite": "2.0.0-rc.19",
16-
"@vuepress/plugin-docsearch": "2.0.0-rc.74",
17-
"mermaid": "^11.2.0",
18-
"prettier": "^3.2.5",
19-
"sass-embedded": "^1.83.4",
20-
"vue": "^3.5.13",
21-
"vuepress": "2.0.0-rc.19",
22-
"vuepress-theme-hope": "2.0.0-rc.71"
15+
"@vuepress/bundler-vite": "2.0.0-rc.20",
16+
"@vuepress/plugin-docsearch": "2.0.0-rc.82",
17+
"mermaid": "11.4.1",
18+
"prettier": "3.5.3",
19+
"sass-embedded": "1.85.1",
20+
"vue": "3.5.13",
21+
"vuepress": "2.0.0-rc.20",
22+
"vuepress-theme-hope": "2.0.0-rc.74"
2323
},
2424
"engines": {
2525
"node": ">=20"

src/0-wings/0a-code-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,4 +486,4 @@ Setter naming in Pojo, taking into account the common serialization tool compati
486486
In this context, non-serialized Setters refer to polymorphic Setters with the same name but different parameters.
487487
In particular, a single parameter tends to interfere with the serialization of pojo's real Setters.
488488

489-
For differences between jackson and fastjson, see [0D.03.jackson and fastjson](. /0d-qa-devops.md#0d03)
489+
For differences between jackson and fastjson, see [0D.03.jackson and fastjson](./0d-qa-devops.md#0d03)

src/0-wings/0f-qa-others.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ $0.childNodes.forEach(a=>console.log('![' + a.title +'](' + a.firstChild.src.
8080
| ![Ancient Apparition](/ancientapparition_minimap_icon.png) Ancient Apparition | 2023-10-20 | ![Ti12](/team_spirit.png) Ti12 Team Spirit | 2023-12-12 |
8181
| ![Anti-Mage](/antimage_minimap_icon.png) Anti-Mage | 2024-01-29 | ![Arc Warden](/arcwarden_minimap_icon.png) Arc Warden | 2024-03-03 |
8282
| ![Bane](/bane_minimap_icon.png "Bane") Bane | 2024-05-14 | ![Batrider](/batrider_minimap_icon.png "Batrider") Batrider | 2024-08-31 |
83-
| ![Bloodseeker](/bloodseeker_minimap_icon.png "Bloodseeker") Bloodseeker | - | ![Bounty Hunter](/bountyhunter_minimap_icon.png "Bounty Hunter") Bounty Hunter | - |
83+
| ![Bloodseeker](/bloodseeker_minimap_icon.png "Bloodseeker") Bloodseeker | 2025-02-08 | ![Bounty Hunter](/bountyhunter_minimap_icon.png "Bounty Hunter") Bounty Hunter | - |
8484
| ![Broodmother](/broodmother_minimap_icon.png "Broodmother") Broodmother | - | ![Chen](/chen_minimap_icon.png "Chen") Chen | - |
8585

8686
---

src/0-wings/README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,21 @@ to microservices. At any project stage and business size, it can:
3030

3131
## 0.1.Version Number
3232

33-
Wings version is [3-segment](https://semver.org), the first 2 is SpringBoot's,
34-
the 3rd is Wings `BUILD` number. For example, `3.2.100-SNAPSHOT` are,
35-
36-
* `3.2` - SpringBoot's `MAJOR` and `MINOR`
37-
* `100` - 3 digits, should reset to `100` when `MAJOR` changed
38-
- first 2, range [10-99], semver's `MINOR` meaning
39-
- last 1, range [0-9], semver's `PATCH` meaning
40-
* `SNAPSHOT` - maven's SNAPSHOT
33+
From `x01.x.x`, Wings version is a standard [3-segment](https://semver.org),
34+
Combined with the dev version (`m.n.p-SNAPSHOT`) based on SpringBoot (`M.N.P`).
35+
36+
`V` = `M*100+m`.`N*100+n`.`P*100+p`-`SNAPSHOT`
37+
38+
So, a Wings version is `300.201.1230-SNAPSHOT`, then.
39+
40+
* SpringBoot - `3.2.12`
41+
* Wings Dev - `0.1.30-SNAPSHOT`
42+
43+
But, under `x00.x.x`, i.e. Wings dev is `0.x.x`, semantic downgrades,
44+
45+
* `SNAPSHOT` equals to `path`
46+
* `path` equals to `minor`
47+
* `minor` equals to `major`
4148

4249
Wings uses the `revision` and `changelist` CI placeholders, requires Maven 3.5.0+.
4350

src/4-warlock/4a-authn.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,19 @@ In Wings, there are 2 AuthenticationEntryPoint by default.
3737
LoginUrl can select which form of login to provide to the user by login-forward setting.
3838

3939
On the EntryPoint selection, `http header` can be set to satisfy specific matching rules.
40-
The following settings can skip basic authentication rules, see HttpBasicConfigurer.registerDefaults for details
41-
42-
* Without the `X-Requested-With: XMLHttpRequest` header
43-
* Include any of the following values in `Accept`
44-
- application/xhtml+xml
45-
- image/*
46-
- text/html
47-
- text/plain
40+
The following settings use basic authentication if any of the rules are met.
41+
see [HttpBasicConfigurer.registerDefaults](https://github.com/spring-projects/spring-security/blob/39a80497c27b4cbab70f331f1f92eac7d555f502/config/src/main/java/org/springframework/security/config/annotation/web/configurers/HttpBasicConfigurer.java#L168-L187) for details
42+
43+
* X_REQUESTED_WITH - contains `X-Requested-With: XMLHttpRequest` header
44+
* restNotHtmlMatcher - `Accept` dont contain `text/html`, and contains any of the following,
45+
- application/atom+xml
46+
- application/x-www-form-urlencoded
47+
- application/json
48+
- application/octet-stream
49+
- application/xml
50+
- multipart/form-data
51+
- text/xml
52+
* allMatcher - `Accept` contains `*/*`
4853

4954
## 4A.3.OpenAPI3 Features
5055

src/9-example/9a.wings-change/9a0.notable.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ category:
1010

1111
Incompatible and important features grouped by feather branch in reverse order.
1212

13-
[Bloodseeker]: https://github.com/trydofor/professional-wings/tree/develop
13+
[BountyHunter]: https://github.com/trydofor/professional-wings/tree/develop
14+
[Bloodseeker]: https://github.com/trydofor/professional-wings/tree/3.3.140
1415
[Batrider]: https://github.com/trydofor/professional-wings/tree/3.2.130
1516
[Bane]: https://github.com/trydofor/professional-wings/tree/3.2.120
1617
[ArcWarden]: https://github.com/trydofor/professional-wings/tree/3.2.110
@@ -27,7 +28,9 @@ Incompatible and important features grouped by feather branch in reverse order.
2728
[Clockwerk]: https://github.com/trydofor/professional-wings/tree/4ff27bf31299303956b5e63999a3183d2c474d36
2829
[ChaosKnight]: https://github.com/trydofor/professional-wings/tree/731a61c9aea5f5c7bbc6a0ce69f379f14b85a0c9
2930

30-
## ![Bloodseeker](/bloodseeker_minimap_icon.png "Bloodseeker") ongoing [Bloodseeker] 3.3.140.SS
31+
## ![BountyHunter](/bountyhunter_minimap_icon.png "BountyHunter") ongoing [BountyHunter] 300.301.741-SS
32+
33+
## ![Bloodseeker](/bloodseeker_minimap_icon.png "Bloodseeker") 250208 [Bloodseeker] 3.3.140
3134

3235
* 💥 up deps: boot 3.3, mirana new i18n [#309](https://github.com/trydofor/professional-wings/issues/309)
3336
* 💥 extract i18n text to codeEnum [#310](https://github.com/trydofor/professional-wings/issues/310)

0 commit comments

Comments
 (0)