d8aba18...
by
hugoreleaser <email address hidden>
on 2022-09-23
releaser: Prepare repository for 0.105.0-DEV
[ci skip]
c744dbd...
by
hugoreleaser <email address hidden>
on 2022-09-23
releaser: Bump versions for release of 0.104.0
[ci skip]
5c41653...
by
Bjørn Erik Pedersen
on 2022-09-23
Consolidate the glob case logic
Looking at the code as a whole, we ended up with a little to much "buttons". It turns out that doing case insensitive matching (lower both pattern and strings to match) performs just fine. Or at least, it
gives the penalty to the people who uses mixed case filenames.
```
GetGlob/ Default_ cache-10 10.6ns ± 2% 10.6ns ± 1% ~ (p=0.657 n=4+4)
GetGlob/ Filenames_ cache,_ lowercase_ searchs- 10 10.6ns ± 2% 10.6ns ± 0% ~ (p=1.000 n=4+4)
GetGlob/ Filenames_ cache,_ mixed_case_ searchs- 10 29.7ns ± 1% 29.6ns ± 1% ~ (p=0.886 n=4+4)
GetGlob/GetGlob-10 13.7ns ± 1% 13.7ns ± 0% ~ (p=0.429 n=4+4)
name old alloc/op new alloc/op delta
GetGlob/ Default_ cache-10 0.00B 0.00B ~ (all equal)
GetGlob/ Filenames_ cache,_ lowercase_ searchs- 10 0.00B 0.00B ~ (all equal)
GetGlob/ Filenames_ cache,_ mixed_case_ searchs- 10 5.00B ± 0% 5.00B ± 0% ~ (all equal)
GetGlob/GetGlob-10 0.00B 0.00B ~ (all equal)
name old allocs/op new allocs/op delta
GetGlob/ Default_ cache-10 0.00 0.00 ~ (all equal)
GetGlob/ Filenames_ cache,_ lowercase_ searchs- 10 0.00 0.00 ~ (all equal)
GetGlob/ Filenames_ cache,_ mixed_case_ searchs- 10 1.00 ± 0% 1.00 ± 0% ~ (all equal)
GetGlob/GetGlob-10
```
281554e...
by
satotake <email address hidden>
on 2022-09-21
hugofs: Fix glob case-sensitivity bug
On Linux, `hugofs.Glob` does not hit any directories which includes
uppercase letters. (This does not happen on macOS.)
Since `resources. GetMatch/ Match` uses `Glob`,
```
{{ resources.GetMatch "Foo/bar.css" }}
```
this does not match `assets/ Foo/bar. css` .
On the other hand, you can get it with
```
{{ resources.Get "Foo/bar.css" }}
```
f3560aa...
by
Bjørn Erik Pedersen
on 2022-09-23
server: Fix 404 redirects on Windows
Fixes #10314
edf9038...
by
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
on 2022-09-23
build(deps): bump github. com/evanw/ esbuild from 0.15.8 to 0.15.9
Bumps [github. com/evanw/ esbuild] (https:/ /github. com/evanw/ esbuild ) from 0.15.8 to 0.15.9.
- [Release notes](https:/ /github. com/evanw/ esbuild/ releases )
- [Changelog](https:/ /github. com/evanw/ esbuild/ blob/master/ CHANGELOG. md )
- [Commits](https:/ /github. com/evanw/ esbuild/ compare/ v0.15.8. ..v0.15. 9 )
---
updated- dependencies:
- dependency-name: github. com/evanw/ esbuild
dependency-type: direct:production
update-type: version- update: semver- patch
...
Signed-off-by: dependabot[bot] <email address hidden>
78f49b4...
by
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
on 2022-09-22
build(deps): bump github. com/yuin/ goldmark from 1.4.14 to 1.4.15
Bumps [github. com/yuin/ goldmark] (https:/ /github. com/yuin/ goldmark ) from 1.4.14 to 1.4.15.
- [Release notes](https:/ /github. com/yuin/ goldmark/ releases )
- [Commits](https:/ /github. com/yuin/ goldmark/ compare/ v1.4.14. ..v1.4. 15 )
---
updated- dependencies:
- dependency-name: github. com/yuin/ goldmark
dependency-type: direct:production
update-type: version- update: semver- patch
...
Signed-off-by: dependabot[bot] <email address hidden>
fa4b77e...
by
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
on 2022-09-22
build(deps): bump github. com/getkin/ kin-openapi from 0.100.0 to 0.103.0
Bumps [github. com/getkin/ kin-openapi] (https:/ /github. com/getkin/ kin-openapi ) from 0.100.0 to 0.103.0.
- [Release notes](https:/ /github. com/getkin/ kin-openapi/ releases )
- [Commits](https:/ /github. com/getkin/ kin-openapi/ compare/ v0.100. 0...v0. 103.0 )
---
updated- dependencies:
- dependency-name: github. com/getkin/ kin-openapi
dependency-type: direct:production
update-type: version- update: semver- minor
...
Signed-off-by: dependabot[bot] <email address hidden>
8377c3c...
by
Bjørn Erik Pedersen
on 2022-09-22
docs: Regen docs helper
4d909d4...
by
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
on 2022-09-22
build(deps): bump github. com/alecthomas/ chroma/ v2 from 2.2.0 to 2.3.0
Bumps [github. com/alecthomas/ chroma/ v2](https:/ /github. com/alecthomas/ chroma ) from 2.2.0 to 2.3.0.
- [Release notes](https:/ /github. com/alecthomas/ chroma/ releases )
- [Changelog](https:/ /github. com/alecthomas/ chroma/ blob/master/ .goreleaser. yml )
- [Commits](https:/ /github. com/alecthomas/ chroma/ compare/ v2.2.0. ..v2.3. 0 )
---
updated- dependencies:
- dependency-name: github. com/alecthomas/ chroma/ v2
dependency-type: direct:production
update-type: version- update: semver- minor
...
Signed-off-by: dependabot[bot] <email address hidden>