Releases: epuber-io/bade
Releases · epuber-io/bade
Release list
v0.3.10
v0.3.8
v0.3.7
- Hotfix: remove accidental print to console
Full Changelog: v0.3.6...v0.3.7
v0.3.6
Bade v0.3.5
Bade v0.3.4
Bade v0.3.3
Released 2022-03-22
- Fix formatting error messages (correct is overriding
#to_sinstead of#message)
Full Changelog: v0.3.2...v0.3.3
Bade v0.3.2
Released 2022-03-22
- Improve error messages and locations
- Resolve infinite loop when requiring not existing library #19
Full Changelog: v0.3.1...v0.3.2
Bade v0.3.1
Released 2022-03-22
Added option to filter constants to remove when using GlobalsTracker
Bade::Runtime::GlobalsTracker.new(constants_location_prefixes: ['/Users/xyz/Projects/abc'])Full Changelog: v0.3.0...v0.3.1
Bade v0.3.0
Released 2022-03-21
Breaking changes:
Dropped support for Ruby 2.4 and older.
Changes:
Added support for required key-value parameters in mixin
Example:mixin some_mixin(param:)
Backtrace of error from template (#7)
When some error is raised, it will return position of the error. Given this template:
mixin m()
a
- raise StandardError
+m
It will produce following error:
Exception raised during execution of mixin `m`: StandardError
template backtrace:
template.bade:3:in `+m'
template.bade:5:in `<top>'
Added keyword yield for invoking default block in mixin (#4)
Previous solution:
mixin first
p.first
- default_block.call
+first Some text
New solution:
mixin first
p.first
yield
+first Some text
Which produces:
<p class="first">Some text</p>Full Changelog: v0.2.5...v0.3.0