Breaking Changes 1.0-alpha17
The builder interface has been reconfigured and slimmed down by moving all stubble
RendererSettingsinto a separate builder class that can be configured with a delegate on the
StubbleBuildercalled configure following the pattern used in ASP.NET Core when configuring. This simplifies the configuration story allowing for a renderer to provide implementation specific settings.
Dictionary value getters are no longer aware of case insensitivity by default. This is because we don't if the provided dictionary is already case insensitive or not. Our recommendation is to provide dictionaries with case insensitive settings if you require casing to not matter. If you don't have control over the data being provided you can overwrite the default value getters to provide your own taking into account the new
- It is worth noting that we have special cased dynamic objects in that we will create a case insensitive dictionary for the dynamic values properties when looking up keys. Since this is likely to be very slow we advise against ignoring case unless it is vital on dynamic objects.
Value getters are now bound to a delegate interface instead of Func which allows better naming at the same time we added a
ignoreCaseparameter which will need to be handled or ignored in the value getter implementation itself.