Releases: gobuffalo/plush
Releases · gobuffalo/plush
v3.7.6
v3.7.5
v3.7.4: Added optional data map to contentFor/contentOf helpers (#55)
* Added optional data map to contentFor/contentOf helpers addresses https://github.com/gobuffalo/plush/issues/54 * added example to README * better docs * explained the map is optional * ensured map doesn't affect outer context * added better comment * better implementation of creating sub-block * defensive programming to avoid panic This is a freebee :)
v3.7.3
v3.7.2: Update env helper to use envy. Add envOr. Register helpers (#49)
* Update env helper to use envy. Add envOr. Register helpers * Fix gofmt issues * Use envy.Get and envy.MustGet directly. Test helpers by rendering a template * tidy up tests
v3.7.1
v3.7.0: evalPrefixExpression now handles unknown identifiers (#44)
Previously evalIfExpression was updated to handle unknown identifiers, so the following would go down the else case. if (unknownIdentifier) { } else { } evalPrefixExpression did not not handle unknown identifiers the same way, so the following would also go down the else case. if (!unknownIdentifier) { } else { } evalPrefixExpression will now properly return !isTruthy.