RazorLight v2.0.0-beta1 Release Notes
Release Date: 2017-12-22 // over 6 years ago-
What's new?
๐ฅ Breaking changes
- Added new type: RazorLightEngineBuilder that comes to replace EngineFactory, as too many overloads are annoying
- EngineFactory masked as Obsolete.
- ๐ EngineFactory.RazorEngine is moved to DefaultRazorEngine.Instance
- ICompilationService.CompileAndEmit renamed to CompileAsync and returns Task
- 0๏ธโฃ DefaultCachingProvider renamed to MemoryCachingProvider
๐จ Note: there was a major refactoring, you may find some classes are moved to another namespaces
๐ New features
Templates that are resolved from FileSystem are now invalidated from MemoryCache when you change it.
You can now create an engine without a project, if you want to only create templates from strings - #110
It is possible now to create engine without caching provider
โ Add ability to set operating assembly (uses EntryAssembly if not specified)
Disable encoding for the entire document with template property "DisableEncoding" - #106
๐ Bug fixes