Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Releases: dotnet/blazor

0.3.0

02 May 19:51
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

We are pleased to announce the release of Blazor 0.3.0.

Please note that this is an alpha quality release and is not suitable for production applications.

Features

  • Support custom events and non-bubbling standard events (#722)
  • Change component parameter declaration programming model (#696)
  • OnAfterRender / OnAfterRenderAsync (#691)
  • Support 'ref' syntax for capturing references to elements and components (#685)
  • Change blazorlib output type to Library (#621)
  • Bootstrap 4 and new styling (#619)
  • Eliminate wrapper elements (#602)
  • Add dependency from Blazor.Build -> Razor.Design (#548)
  • Add async event handler support (#519)
  • Move to Bootstrap 4 (#334)

Bugs Fixed

  • value handling for checkbox initial state is dependent on the attribute ordering (#703)
  • Unable to build Blazor: Input too long (#682)
  • Support removing 'value' attribute (#659)
  • Fix diffing when "bind" is combined with conditional attribute. Fixes #624 (#633)
  • Simplify directory structure for hosted template in VS (#332)
  • Creating Blazor ASPNET core app with hyphen in name fails (#291)

Known Issues

  • Autobuild results in 502 Gateway errors for ASP.NET Core hosted Blazor projects
    Workaround: we recommend disabling autobuild for the time being in ASP.NET Core hosted Blazor client projects by adding the <BlazorRebuildOnFileChange>false</BlazorRebuildOnFileChange> MSBuild property.

0.2.1

20 Apr 09:53
Compare
Choose a tag to compare
0.2.1 Pre-release
Pre-release

This is a minor patch release to fix the bug mentioned below. There are no runtime changes compared with the 0.2.0 release - this 0.2.1 release is purely to fix the VS tooling.

Please note that this is an alpha quality release and is not suitable for production applications.

Bugs Fixed

  • ASP.NET Core Blazor Language Services 15.7.10222 crash VS (#597)

0.2.0

17 Apr 18:00
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

We are pleased to announce the release of Blazor 0.2.0.

Please note that this is an alpha quality release and is not suitable for production applications.

Features

  • Update mono to a14f41c (#566)
  • Enable GenerateDocumentationFile. Add/fix XML docs. (#562)
  • Add compiler error if there's a <script> element inside a component (#552)
  • Add support for Action event handlers (#542)
  • Remove old workaround @OnClick and @Bind (#525)
  • Enable same-origin credentials by default. Add E2E test to show they … (#518)
  • HttpClient does not track cookies (#515)
  • Add first class support for onclick and other event handlers (#503)
  • Add event handlers as tag helpers (#498)
  • Add DI extension method namespace to Program.cs in templates (#494)
  • Add Blazor templates for ASP.NET Core 2.1 (#441)
  • Added SVG support (#366) (#435)
  • bind can be improved for <textarea> (#434)
  • Improve JS-side event handling code (#433)
  • Add 'bind-...' for two-way binding (#409)
  • Bug - Conditional Attributes (#373)
  • Move to Preview2 Razor SDK (#341)
  • Auto rebuild (#531)

Bugs Fixed

  • Unable to build Blazor Client project: Input too long (#554)
  • Adding new or renaming existing CSS file is a pain (#476)
  • Dependency injection crashes if you try to inject two instances of the same type (#462)
  • Compilation error when one-way binding an attribute value to a c# string. (#386)
  • index.html is not regenerated under bin when wwwroot/index.html is changed (#355)

0.1.0

30 Sep 15:52
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

We are pleased to announce the release of Blazor 0.1.0!

Please note that this is an alpha quality release and is not suitable for production applications.

Features

  • Support @page with custom route template on components (#220)
  • Standard BCL HttpClient (#159)
  • Add ASP.NET Core hosted project template (#118)
  • VS Blazor editor (#36)
  • Basic JavaScript interop (#21)
  • Publishing (#16)
  • Development host (#6)
  • Compilation (#4)

Bugs Fixed

  • Streamline delegate-typed component parameters (#314)
  • Log to console when running in dev mode that IL stripping is not enabled (#302)
  • Add global.json to template to pin the SDK version to 2.1.300-preview1 (#300)
  • After IL linking, HttpClient logs warning to console on each request (#239)
  • Add survey link to the template (#221)
  • C# expressions in attributes with hyphens don't compile (#219)
  • JSON parsing doesn't handle DateTimeOffset with timezone (#218)
  • Dependency injection doesn't handle inheritance (#216)
  • Allow arbitrary attributes on component tag helpers (#214)
  • Can't set initial value on a <select> (#157)
  • Missing function: schedule_background_exec (#81)

Known Issues

  • Currently you can't use data-* attributes with C#-expression values (e.g., <div data-something=@value /> does not compile) (#297). Workaround: write data_* instead (e.g., <div data_something=@value />), and we'll render it as data-* in the DOM.
  • If you create a project with a space or hyphen in the project name, the result app has build errors (#291). Workaround: don't put spaces or hyphens in the project name.
  • Blazor apps fail in IE11 with the error: "'Promise' is undefined". This is because the required polyfills are not yet added. This will be addressed in a future release.