com.elestrago.unity.package-tools 2.5.1 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CAHNGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ---
4
4
 
5
+ ## [2.5.2](https://gitlab.com/elestrago-pkg/package-tool/-/tags/2.5.2)
6
+
7
+ ### Fixed
8
+
9
+ - Fixed `unity-package-docs` scanner dropping public `readonly struct` and `ref struct` types.
10
+
11
+ ---
12
+
5
13
  ## [2.5.1](https://gitlab.com/elestrago-pkg/package-tool/-/tags/2.5.1)
6
14
 
7
15
  ### Changed
package/README.md CHANGED
@@ -29,7 +29,7 @@ Add the package to `Packages/manifest.json`:
29
29
  }
30
30
  ],
31
31
  "dependencies": {
32
- "com.elestrago.unity.package-tools": "2.5.1"
32
+ "com.elestrago.unity.package-tools": "2.5.2"
33
33
  }
34
34
  }
35
35
  ```
@@ -112,7 +112,7 @@ def normalize(src: str) -> str:
112
112
  NAMESPACE_RE = re.compile(r"^\s*namespace\s+(?P<name>[\w.]+)\s*[{;]?\s*$")
113
113
 
114
114
  TYPE_DECL_RE = re.compile(
115
- r"^\s*(?P<mods>(?:(?:public|internal|private|protected|sealed|static|abstract|partial|new|unsafe)\s+)*)"
115
+ r"^\s*(?P<mods>(?:(?:public|internal|private|protected|sealed|static|abstract|partial|new|unsafe|readonly|ref)\s+)*)"
116
116
  r"(?P<kind>class|struct|interface|enum)\s+"
117
117
  r"(?P<name>[A-Za-z_]\w*)"
118
118
  r"(?P<generic><[^>]*>)?"
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "com.elestrago.unity.package-tools",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "displayName": "Package Tool",
5
5
  "description": "Tool for create unity packages",
6
6
  "category": "unity",
7
7
  "unity": "2021.3",
8
8
  "homepage": "https://gitlab.com/elestrago-pkg/package-tool",
9
- "documentationUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.5.1/README.md",
10
- "changelogUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.5.1/CHANGELOG.md",
11
- "licensesUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.5.1/LICENSE",
9
+ "documentationUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.5.2/README.md",
10
+ "changelogUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.5.2/CHANGELOG.md",
11
+ "licensesUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.5.2/LICENSE",
12
12
  "license": "MIT",
13
13
  "keywords": [
14
14
  "unity",