scriban v5.0.0 Release Notes

Release Date: 2021-10-20 // 3 months ago
    • 🛠 Fix scope for variable (global vs local) (#385)

Previous changes from v4.1.0

    • ➕ Add IQueryable<T> support in for-loops.
      • Parameter offset:count will be translated to IQueryable<T>.Skip(count)
      • Parameter reversed will be translated to IQueryable<T>.Reverse()
      • Parameter limit:count will be translated to IQueryable<T>.Take(count)
      • Special for loop variables are supported with the exception of rindex and last
      • Optional LoopLimitQueryable-property on TemplateContext object to control looplimit in case of IQueryable<T> (defaults to LoopLimit)