RazorLight v2.0.0-beta2 Release Notes

Release Date: 2019-12-19 // over 4 years ago
  • What's new

    • #123 Template now shares model with layout.
    • #107 Embedded project can now accept Assembly + root namespace as a string, instead of Type of root object
    • #152 Allow FileSystemProject to set Extension ( @KorsG )
    • ๐Ÿ“‡ #180 Add ability to exclude assemblies from metadata references ( @mscrivo )
    • ๐Ÿ‘ #278 Add netcore 3.0 support ( @gjunge )

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  #103 - Fixed race condition compilation bug
    • ๐Ÿ›  #134 - Fixed rendering issues with included templates
    • ๐Ÿ›  #135 - Fixed ViewBag doesn't work in nested templates (@deckertron9000)
    • ๐Ÿ“‡ #141, #147, #133 - Resolve MetadataReferences without using DependencyContext on Full .NET Framework (@colinbull )
    • ๐Ÿ›  #153 - Fixed MemoryCachingProvider file naming (@KorsG )
    • @Raw() will not throw NullReferenceException on null or empty value (@ReinisV1 )

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ— EngineFactory will trigger build error. Marked completely Obsolette. Use RazorLightEngineBuilder instead
    • When template you want to render does not exist, TemplateNotFoundException will be throws instead of InvalidOperationException