1.1.0
What's Changed
Always assign rendered_at_least_once when rendering a view by @joeldrapper in #408
When building attributes, Phlex checks whether the view class been rendered at least once before in order to determine whether it should cache the attributes. We only want to cache attributes on the first render in case some unique attribute causes the cache to grow infinitely. To keep track of whether a view class had been rendered before, it would use self.class.rendered_at_least_once ||= true after each render, but the ||= does an unnecessary check and it’s actually faster to just assign self.class.rendered_at_least_once = true without checking whether or not it's already true.
Call render? after setting view context by @joeldrapper in #412
The render? predicate — which is used as a guard against rendering — is now called after setting the view context, so you can now access helpers in your implementation of that method.
Render unsafe_raw with nil by @djfpaagman in #417
unsafe_raw has been updated to ignore nil values, so it no longer raises when you pass it nil. It also no longer accepts blocks.
Render data hash with string keys by @djfpaagman and @joeldrapper in #420
You can now use String keys in nested attributes. Previously, you could only use Symbol keys. String keys are not dasherized, so they're a good option if you need to use real underscores _ in your attributes.
Full Changelog: 1.0.0...1.1.0