Releases: reactjs/React.NET
Releases · reactjs/React.NET
2.5.0
Upgraded ASP.NET Core support from 1.0 RC2 to 1.0 RTM
2.4.0
- #271 - Upgrade to ASP.NET Core RC2. Thanks to Shiki Byakko.
- #254 - Allow JavaScript engines to be bypassed entirely. Thanks to Dustin Masters.
- #266 - Allow customisation of file name extension for Babel transpilation. Thanks to Andrew Ovens.
- #270 - Always return JS engine to pool after component render. Thanks to Dustin Masters.
- #253 - Fix handling of relative paths in OWIN.
- #226 - Serialize props when they're set, rather than every time the component render code is called. This ensures that the props are only serialized once rather than twice.
2.3.0
- #252 - Update to React 15
- #248 - Update
babel-standalone
to a version that bundles thetransform-decorators-legacy
plugin - #251 - Upgrade to JSPool 0.4.1. Includes some fixes for high-concurrency environments
- Upgrade to JavaScriptEngineSwitcher 1.5.2
- Upgrade to ASP.NET RC1 Update 1
- #230 - Use GUIDs for container IDs, rather than sequential IDs
2.2.1
2.2
2.1.2
2.1.1
Upgrade to ASP.NET 5 RC1
2.1
- #189 - If errors occur while loading a JS file, don't throw an exception until we actually try to use the script. This ensures that a syntax error in a file loaded with
AddScriptWithoutTransform
will not crash IIS. - #186 - Expose
ReactDOM
just in case it's used in some script. - #182 - Use SHA1 rather than MD5 for cache hashing so that it can be used in a FIPS-compliant environment. Thanks to Ruaidhri Primrose
- Added a console sample to show how ReactJS.NET can be used outside of a web context.
- #195 - Add
ReactEnvironment.Current
property as a shortcut to get the current React environment. This replaces the old method of directly using the DI container (React.AssemblyRegistration.Container.Resolve<IReactEnvironment>()
).
2.0
The major change in this release is the switch from JSXTransformer to Babel for transformation of JavaScript files. JSXTransformer is now deprecated, and Babel supports many more ES6 features than JSXTransformer did (see the Babel site for a full list). Additionally, syntax error messages are now more detailed and display the correct file name and line number.
Full list of changes:
- #138 - Use Babel to transform JavaScript files.
- #171 - Updated ASP.NET 5 integration to support Beta 8.
- #164 - Upgraded to React 0.14.
- By default, only handle
*.jsx
files in ASP.NET 5 and OWIN middleware. You can modify theExtensions
setting inBabelFileOptions
to change this behaviour.
Under the hood:
- #168 - Everything relating to JSX transformer has been renamed to Babel (eg.
IJsxTransformer
is nowIBabel
). - Renamed
React
assembly toReact.Core
. The NuGet package has been called "React.Core" forever, but the corresponding assembly name didn't match, resulting in confusion. - Deprecated
IReactEnvironment.TransformJsxFile
andIReactEnvironment.TransformJsx
have finally been removed. These methods have been obsolete since ReactJS.NET 0.2.
1.5.5
- Upgrade ASP.NET 5 to Beta 7
- Add missing VroomJs.dll to React.Core NuGet package
- Change samples to use Github avatars rather than Facebook photos