Bjørn Erik Pedersen
4dcf38968f
Add a field prefix to the deprecated log statements
...
To make theme easier to spot, esp. on INFO level.
2023-11-01 15:50:20 +01:00
Bjørn Erik Pedersen
b1d207700d
Avoid double printing INFO deprecation messages
...
Fixes #11645
2023-11-01 15:50:16 +01:00
hugoreleaser
9e06fd3394
releaser: Prepare repository for 0.121.0-DEV
...
[ci skip]
2023-10-31 16:40:29 +00:00
hugoreleaser
9c2b2414d2
releaser: Bump versions for release of 0.120.2
...
[ci skip]
2023-10-31 16:27:18 +00:00
Bjørn Erik Pedersen
ab21433689
Fix deprecation printing on info level
...
Fixes #11638
2023-10-31 10:42:23 +01:00
hugoreleaser
47bf2fcbe2
releaser: Prepare repository for 0.121.0-DEV
...
[ci skip]
2023-10-30 16:57:41 +00:00
hugoreleaser
16fb2cae88
releaser: Bump versions for release of 0.120.1
...
[ci skip]
2023-10-30 16:44:31 +00:00
hugoreleaser
935999e2fa
releaser: Prepare repository for 0.121.0-DEV
...
[ci skip]
2023-10-30 14:20:34 +00:00
hugoreleaser
20c3bae2c4
releaser: Bump versions for release of 0.120.0
...
[ci skip]
2023-10-30 14:06:47 +00:00
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
Joe Mooring
d1b4458536
common/hugo: Add hugo.IsServer and hugo.IsDevelopment
...
And deprecate site.IsServer.
Closes #11510
2023-10-06 16:26:51 +02:00
Oleksandr Redko
274852bcf2
all: Format files with gofmt
2023-10-05 14:45:55 +02:00
hugoreleaser
d234a963eb
releaser: Prepare repository for 0.120.0-DEV
...
[ci skip]
2023-09-24 15:32:33 +00:00
hugoreleaser
b84644c008
releaser: Bump versions for release of 0.119.0
...
[ci skip]
2023-09-24 15:20:17 +00:00
Oleksandr Redko
6b65b2fae6
common: Remove unused constants
2023-09-24 11:59:49 +02:00
Bjørn Erik Pedersen
ef0e7149d6
Add $image.Process
...
Which supports all the existing actions: resize, crop, fit, fill.
But it also allows plain format conversions:
```
{{ $img = $img.Process "webp" }}
```
Which will be a simple re-encoding of the source image.
Fixes #11483
2023-09-24 11:54:29 +02:00
hugoreleaser
2ae4786ca1
releaser: Prepare repository for 0.119.0-DEV
...
[ci skip]
2023-08-31 11:35:48 +00:00
hugoreleaser
da7983ac4b
releaser: Bump versions for release of 0.118.2
...
[ci skip]
2023-08-31 11:23:51 +00:00
hugoreleaser
7362ba2204
releaser: Prepare repository for 0.119.0-DEV
...
[ci skip]
2023-08-31 09:56:08 +00:00
hugoreleaser
0eb480aa1d
releaser: Bump versions for release of 0.118.1
...
[ci skip]
2023-08-31 09:42:31 +00:00
hugoreleaser
0200eaf58f
releaser: Prepare repository for 0.119.0-DEV
...
[ci skip]
2023-08-31 07:49:58 +00:00
hugoreleaser
28b640a220
releaser: Bump versions for release of 0.118.0
...
[ci skip]
2023-08-31 07:36:55 +00:00
Oleksandr Redko
65871d5cf4
common/loggers: Fix typo in option name
2023-08-23 22:52:37 +02:00
Bjørn Erik Pedersen
7d74cd0cc8
commands: Handle floats without decimals in hugo config
...
Updates #11345
2023-08-08 09:13:17 +02:00
hugoreleaser
239f2e2c99
releaser: Prepare repository for 0.117.0-DEV
...
[ci skip]
2023-08-01 07:36:32 +00:00
hugoreleaser
3e1ea030a5
releaser: Bump versions for release of 0.116.1
...
[ci skip]
2023-08-01 07:24:54 +00:00
hugoreleaser
92c1594372
releaser: Prepare repository for 0.117.0-DEV
...
[ci skip]
2023-07-31 10:40:27 +00:00
hugoreleaser
5a7e0da84e
releaser: Bump versions for release of 0.116.0
...
[ci skip]
2023-07-31 10:28:28 +00:00
Bjørn Erik Pedersen
bec9b80d95
Deprecate taxonomyTerm
...
In favour of 'taxonomy'
Closes #11256
2023-07-28 15:14:24 +02:00
Bjørn Erik Pedersen
4d7af757c9
Add a common regexp cache
...
```
BenchmarkGetOrCompileRegexp-10 73959368 13.71 ns/op 0 B/op 0 allocs/op
BenchmarkCompileRegexp-10 3143529 380.1 ns/op 872 B/op 10 allocs/op
```
2023-07-27 19:23:12 +02:00
hugoreleaser
0dbe0f1a07
releaser: Prepare repository for 0.116.0-DEV
...
[ci skip]
2023-07-20 07:02:18 +00:00
hugoreleaser
dc95245212
releaser: Bump versions for release of 0.115.4
...
[ci skip]
2023-07-20 06:49:57 +00:00
Joe Mooring
2f11e673c5
common/htime: Fix localization of abbreviated month names
...
Fixes #11267
2023-07-19 19:00:18 +02:00
Bjørn Erik Pedersen
387c5f60f9
Improve error messages for PostCSS etc.
...
Fixes #9730
2023-07-17 20:42:32 +02:00
hugoreleaser
79f15be5b0
releaser: Prepare repository for 0.116.0-DEV
...
[ci skip]
2023-07-13 16:23:50 +00:00
hugoreleaser
5c2e014a51
releaser: Bump versions for release of 0.115.3
...
[ci skip]
2023-07-13 16:11:34 +00:00
hugoreleaser
91b02091a5
releaser: Prepare repository for 0.116.0-DEV
...
[ci skip]
2023-07-08 17:19:03 +00:00
hugoreleaser
8966424e0e
releaser: Bump versions for release of 0.115.2
...
[ci skip]
2023-07-08 17:06:56 +00:00
Anthony Fok
bf7ee8a91a
Bump github.com/bep/clock v0.3.0 to renamed github.com/bep/clocks v0.5.0
2023-07-04 09:14:48 +02:00
hugoreleaser
d912491f2d
releaser: Prepare repository for 0.116.0-DEV
...
[ci skip]
2023-07-03 17:39:56 +00:00
hugoreleaser
857374e693
releaser: Bump versions for release of 0.115.1
...
[ci skip]
2023-07-03 17:28:25 +00:00
hugoreleaser
87886f40d1
releaser: Prepare repository for 0.116.0-DEV
...
[ci skip]
2023-06-29 16:09:06 +00:00
hugoreleaser
67caf50698
releaser: Bump versions for release of 0.115.0
...
[ci skip]
2023-06-29 15:56:39 +00:00
khayyam
b74b8d6478
common/collections: Fix append regression to allow appending nil
...
Closes #11180
2023-06-28 09:41:36 +02:00
hugoreleaser
5e12bf7dc3
releaser: Prepare repository for 0.115.0-DEV
...
[ci skip]
2023-06-19 17:12:27 +00:00
hugoreleaser
9df2ec7988
releaser: Bump versions for release of 0.114.0
...
[ci skip]
2023-06-19 17:01:43 +00:00
Bjørn Erik Pedersen
6dfbd24797
common/loggers: Drop the bold INFO etc. prefixes
...
That looked a little too much.
2023-06-19 17:35:43 +02:00
Bjørn Erik Pedersen
f59c3c0214
loggers: Avoid using Logf for the LevelLoggerToWriter
...
To prevent issues with percentage chars.
2023-06-19 15:56:44 +02:00
Oleksandr Redko
9009c8cdca
all: Fix typos in function names and comments
2023-06-19 09:26:29 +02:00
Bjørn Erik Pedersen
1b85303ac2
common/loggers: Re-add trailing newline in logger.Printf
...
Fixes #11130
2023-06-18 18:56:45 +02:00