Upgrade Guide
This document is used to record the parts that need to be handled when upgrading between different versions.
1.4.x -> 2.0.x
- DateTime will no longer be mapped to js Date object. On the js side, System.DateTime should be used instead.
- TypedValue can only be passed to object type and no longer has the function of selecting overload.
- Under reflection mode, if a function has no overload or default parameters, no parameter check will be performed.
- The index used by Ref has changed from ['value'] to [0] (if your code uses puer.$ref and puer.$unref instead of directly using the index, it will not be affected).
- As announced in version 1.4, require is no longer included in version 2.0. It is recommended to use ExecuteModule instead. If the cost of transformation is too high, you can directly use puerts-commonjs.
Puerts.Editor.Generator.BindingMode
has been renamed toPuerts.BindingMode
.