hugo/tpl/collections
Bjørn Erik Pedersen 71fd79a3f4 Revise the deprecation logging
This introduces a more automatic way of increasing the log levels for deprecation log statements based on the version it was deprecated.

The thresholds are a little arbitrary, but

* We log INFO for 6 releases
* We log WARN for another 6 releases
* THen ERROR (failing the build)

This should give theme authors plenty of time to catch up without having the log filled with warnings.
2023-10-26 20:41:19 +02:00
..
append.go tpl: Improve template funcs GoDoc 2022-12-21 15:33:02 +01:00
append_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
apply.go tpl/collections: Fix description of apply function 2023-07-28 09:51:01 +02:00
apply_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
collections.go Revise the deprecation logging 2023-10-26 20:41:19 +02:00
collections_test.go tpl/collections: Fix WordCount (etc.) regression in Where, Sort, Delimit 2023-07-11 12:11:39 +02:00
complement.go tpl: Improve template funcs GoDoc 2022-12-21 15:33:02 +01:00
complement_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
index.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
index_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
init.go Add a page template func 2023-02-25 19:53:18 +01:00
integration_test.go tpl/collections: Fix and deprecate echoParams 2023-09-27 17:34:13 +02:00
merge.go tpl: Improve template funcs GoDoc 2022-12-21 15:33:02 +01:00
merge_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
reflect_helpers.go Fix raw TOML dates in where/eq 2022-06-07 13:02:58 +02:00
sort.go tpl/collections: Fix WordCount (etc.) regression in Where, Sort, Delimit 2023-07-11 12:11:39 +02:00
sort_test.go tpl/collections: Fix WordCount (etc.) regression in Where, Sort, Delimit 2023-07-11 12:11:39 +02:00
symdiff.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
symdiff_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
where.go tpl/collections: Add like operator to where function 2023-07-28 09:53:00 +02:00
where_test.go tpl/collections: Add BenchmarkWhereOps 2023-07-28 10:08:13 +02:00