Skip to content

Commit 6e6809c

Browse files
committed
bump version
1 parent 17c6200 commit 6e6809c

File tree

7 files changed

+29
-13
lines changed

7 files changed

+29
-13
lines changed

change/react-native-xaml-afc66e36-8f27-44ac-a827-d806ef2b49ae.json

-7
This file was deleted.

package/CHANGELOG.json

+15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
{
22
"name": "react-native-xaml",
33
"entries": [
4+
{
5+
"date": "Tue, 26 Apr 2022 08:42:12 GMT",
6+
"tag": "react-native-xaml_v0.0.64",
7+
"version": "0.0.64",
8+
"comments": {
9+
"patch": [
10+
{
11+
"author": "[email protected]",
12+
"package": "react-native-xaml",
13+
"comment": "Use hashed string values for type creator lookup",
14+
"commit": "17c62007fd6d87739793cfe1a4c79f995d189903"
15+
}
16+
]
17+
}
18+
},
419
{
520
"date": "Wed, 13 Apr 2022 21:16:52 GMT",
621
"tag": "react-native-xaml_v0.0.63",

package/CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# Change Log - react-native-xaml
22

3-
This log was last generated on Wed, 13 Apr 2022 21:16:52 GMT and should not be manually modified.
3+
This log was last generated on Tue, 26 Apr 2022 08:42:12 GMT and should not be manually modified.
44

55
<!-- Start content -->
66

7+
## 0.0.64
8+
9+
Tue, 26 Apr 2022 08:42:12 GMT
10+
11+
### Patches
12+
13+
- Use hashed string values for type creator lookup ([email protected])
14+
715
## 0.0.63
816

917
Wed, 13 Apr 2022 21:16:52 GMT

package/Codegen/TypeCreator.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public virtual string TransformText()
7171
"turn unk.as<winrt::IInspectable>();\r\n } else {\r\n // type probably has a " +
7272
"custom activation factory, use C++/WinRT to create it\r\n WindowsDeleteString" +
7373
"(clsid);\r\n clsid = nullptr;\r\n const auto key = COMPILE_TIME_CRC32_STR(" +
74-
"typeName.data());\r\n const std::pair<uint32_t, winrt::Windows::Foundation::I" +
75-
"Inspectable(*)()> map[] = {\r\n");
74+
"typeName.data());\r\n static constexpr const std::pair<uint32_t, winrt::Windo" +
75+
"ws::Foundation::IInspectable(*)()> map[] = {\r\n");
7676

7777
#line 52 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TypeCreator.tt"
7878
foreach (var t in Types.Where(t => Util.GetComposableFactoryType(t) != null).OrderBy(t => Util.GetCRC32(t.GetFullName()))) {

package/Codegen/TypeCreator.tt

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ winrt::Windows::Foundation::IInspectable XamlMetadata::Create(const std::string_
4848
WindowsDeleteString(clsid);
4949
clsid = nullptr;
5050
const auto key = COMPILE_TIME_CRC32_STR(typeName.data());
51-
const std::pair<uint32_t, winrt::Windows::Foundation::IInspectable(*)()> map[] = {
51+
static constexpr const std::pair<uint32_t, winrt::Windows::Foundation::IInspectable(*)()> map[] = {
5252
<# foreach (var t in Types.Where(t => Util.GetComposableFactoryType(t) != null).OrderBy(t => Util.GetCRC32(t.GetFullName()))) { #>
5353
{ COMPILE_TIME_CRC32_STR("<#= t.GetFullName() #>"), []() -> winrt::Windows::Foundation::IInspectable { return <#= Util.GetCppWinRTType(t) #>(); } }, // 0x<#= Util.GetCRC32(t.GetFullName()).ToString("X8") #>
5454
<# } #>

package/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-xaml",
33
"title": "React Native Xaml",
4-
"version": "0.0.63",
4+
"version": "0.0.64",
55
"description": "Allows using XAML directly, inside of a React Native Windows app",
66
"main": "lib/index.js",
77
"typings": "lib/index.d.ts",

package/windows/ReactNativeXaml/Codegen/Version.g.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT MODIFY MANUALLY
77
#define VERSION_MAJOR 0
88
#define VERSION_MINOR 0
99
#define VERSION_REVISION 0
10-
#define VERSION_BUILD 63
10+
#define VERSION_BUILD 64

0 commit comments

Comments
 (0)