Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-28 | releaser: Bump versions for release of 0.123.5v0.123.5 | hugoreleaser | |
[ci skip] | |||
2024-02-26 | releaser: Prepare repository for 0.124.0-DEVrelease-0.123.4 | hugoreleaser | |
[ci skip] | |||
2024-02-26 | releaser: Bump versions for release of 0.123.4v0.123.4 | hugoreleaser | |
[ci skip] | |||
2024-02-23 | releaser: Prepare repository for 0.124.0-DEVrelease-0.123.3 | hugoreleaser | |
[ci skip] | |||
2024-02-23 | releaser: Bump versions for release of 0.123.3v0.123.3 | hugoreleaser | |
[ci skip] | |||
2024-02-23 | Speed up GetPage | Bjørn Erik Pedersen | |
``` name old time/op new time/op delta GetPage-10 413ns ± 0% 287ns ± 1% -30.47% (p=0.029 n=4+4) GetPageRegular/From_root-10 757ns ± 1% 706ns ± 1% -6.75% (p=0.029 n=4+4) GetPageRegular/Page_relative-10 838ns ± 1% 786ns ± 1% -6.16% (p=0.029 n=4+4) name old alloc/op new alloc/op delta GetPage-10 312B ± 0% 24B ± 0% -92.31% (p=0.029 n=4+4) GetPageRegular/From_root-10 328B ± 0% 200B ± 0% -39.02% (p=0.029 n=4+4) GetPageRegular/Page_relative-10 360B ± 0% 232B ± 0% -35.56% (p=0.029 n=4+4) name old allocs/op new allocs/op delta GetPage-10 8.00 ± 0% 2.00 ± 0% -75.00% (p=0.029 n=4+4) GetPageRegular/From_root-10 7.00 ± 0% 5.00 ± 0% -28.57% (p=0.029 n=4+4) GetPageRegular/Page_relative-10 9.00 ± 0% 7.00 ± 0% -22.22% (p=0.029 n=4+4) ``` | |||
2024-02-22 | releaser: Prepare repository for 0.124.0-DEVrelease-0.123.2 | hugoreleaser | |
[ci skip] | |||
2024-02-22 | releaser: Bump versions for release of 0.123.2v0.123.2 | hugoreleaser | |
[ci skip] | |||
2024-02-21 | releaser: Prepare repository for 0.124.0-DEVrelease-0.123.1 | hugoreleaser | |
[ci skip] | |||
2024-02-21 | releaser: Bump versions for release of 0.123.1v0.123.1 | hugoreleaser | |
[ci skip] | |||
2024-02-19 | releaser: Bump versions for release of 0.123.0release-0.123.0 | hugoreleaser | |
[ci skip] | |||
2024-02-16 | Fix rebuild with resources.Concat | Bjørn Erik Pedersen | |
Fixes #12017 | |||
2024-02-06 | Fix rebuild of changed bundled content files | Bjørn Erik Pedersen | |
Fixes #12000 | |||
2024-02-04 | Handle resource changes when the resources is already evicted from cache | Bjørn Erik Pedersen | |
Also fix a logical flaw in the cache resizer that made it too aggressive. After this I haven't been able to reproduce #11988, but I need to look closer. Closes #11973 Updates #11988 | |||
2024-02-03 | all: Rename Unmormalized => Unnormalized | Bjørn Erik Pedersen | |
2024-02-03 | hugio: Rename strigReadSeeker => stringReadSeeker | Bjørn Erik Pedersen | |
2024-02-03 | resources: Optimize reading resource Content when it's already a string | Bjørn Erik Pedersen | |
2024-02-01 | Improve nilpointer error message | Bjørn Erik Pedersen | |
2024-02-01 | Fix disabled languages regression | Bjørn Erik Pedersen | |
Fixes #11959 | |||
2024-01-30 | Create default link and image render hooks | Bjørn Erik Pedersen | |
Fixes #11933 | |||
2024-01-30 | Emit a warning that can be turned off when overwriting built-in .Params values | Bjørn Erik Pedersen | |
Fixes #11941 | |||
2024-01-30 | Add warnidf template function | Bjørn Erik Pedersen | |
Also rename config `ignoreErrors` => `ignoreLogs` But the old still works. Closes #9189 | |||
2024-01-28 | all: Run gofumpt -l -w . | Bjørn Erik Pedersen | |
2024-01-28 | testing: Simplify some integration tests | Bjørn Erik Pedersen | |
2024-01-28 | testing: Rename integration_test.go to PACKAGE_integration_test.go | Bjørn Erik Pedersen | |
Primary motivation making them easier to find in the code editor. | |||
2024-01-27 | all: Rework page store, add a dynacache, improve partial rebuilds, and some ↵develop2024 | Bjørn Erik Pedersen | |
general spring cleaning There are some breaking changes in this commit, see #11455. Closes #11455 Closes #11549 This fixes a set of bugs (see issue list) and it is also paying some technical debt accumulated over the years. We now build with Staticcheck enabled in the CI build. The performance should be about the same as before for regular sized Hugo sites, but it should perform and scale much better to larger data sets, as objects that uses lots of memory (e.g. rendered Markdown, big JSON files read into maps with transform.Unmarshal etc.) will now get automatically garbage collected if needed. Performance on partial rebuilds when running the server in fast render mode should be the same, but the change detection should be much more accurate. A list of the notable new features: * A new dependency tracker that covers (almost) all of Hugo's API and is used to do fine grained partial rebuilds when running the server. * A new and simpler tree document store which allows fast lookups and prefix-walking in all dimensions (e.g. language) concurrently. * You can now configure an upper memory limit allowing for much larger data sets and/or running on lower specced PCs. We have lifted the "no resources in sub folders" restriction for branch bundles (e.g. sections). Memory Limit * Hugos will, by default, set aside a quarter of the total system memory, but you can set this via the OS environment variable HUGO_MEMORYLIMIT (in gigabytes). This is backed by a partitioned LRU cache used throughout Hugo. A cache that gets dynamically resized in low memory situations, allowing Go's Garbage Collector to free the memory. New Dependency Tracker: Hugo has had a rule based coarse grained approach to server rebuilds that has worked mostly pretty well, but there have been some surprises (e.g. stale content). This is now revamped with a new dependency tracker that can quickly calculate the delta given a changed resource (e.g. a content file, template, JS file etc.). This handles transitive relations, e.g. $page -> js.Build -> JS import, or $page1.Content -> render hook -> site.GetPage -> $page2.Title, or $page1.Content -> shortcode -> partial -> site.RegularPages -> $page2.Content -> shortcode ..., and should also handle changes to aggregated values (e.g. site.Lastmod) effectively. This covers all of Hugo's API with 2 known exceptions (a list that may not be fully exhaustive): Changes to files loaded with template func os.ReadFile may not be handled correctly. We recommend loading resources with resources.Get Changes to Hugo objects (e.g. Page) passed in the template context to lang.Translate may not be detected correctly. We recommend having simple i18n templates without too much data context passed in other than simple types such as strings and numbers. Note that the cachebuster configuration (when A changes then rebuild B) works well with the above, but we recommend that you revise that configuration, as it in most situations should not be needed. One example where it is still needed is with TailwindCSS and using changes to hugo_stats.json to trigger new CSS rebuilds. Document Store: Previously, a little simplified, we split the document store (where we store pages and resources) in a tree per language. This worked pretty well, but the structure made some operations harder than they needed to be. We have now restructured it into one Radix tree for all languages. Internally the language is considered to be a dimension of that tree, and the tree can be viewed in all dimensions concurrently. This makes some operations re. language simpler (e.g. finding translations is just a slice range), but the idea is that it should also be relatively inexpensive to add more dimensions if needed (e.g. role). Fixes #10169 Fixes #10364 Fixes #10482 Fixes #10630 Fixes #10656 Fixes #10694 Fixes #10918 Fixes #11262 Fixes #11439 Fixes #11453 Fixes #11457 Fixes #11466 Fixes #11540 Fixes #11551 Fixes #11556 Fixes #11654 Fixes #11661 Fixes #11663 Fixes #11664 Fixes #11669 Fixes #11671 Fixes #11807 Fixes #11808 Fixes #11809 Fixes #11815 Fixes #11840 Fixes #11853 Fixes #11860 Fixes #11883 Fixes #11904 Fixes #7388 Fixes #7425 Fixes #7436 Fixes #7544 Fixes #7882 Fixes #7960 Fixes #8255 Fixes #8307 Fixes #8863 Fixes #8927 Fixes #9192 Fixes #9324 | |||
2024-01-26 | releaser: Prepare repository for 0.123.0-DEVrelease-0.122.0 | hugoreleaser | |
[ci skip] | |||
2024-01-26 | releaser: Bump versions for release of 0.122.0v0.122.0 | hugoreleaser | |
[ci skip] | |||
2024-01-05 | releaser: Prepare repository for 0.122.0-DEVrelease-0.121.2 | hugoreleaser | |
[ci skip] | |||
2024-01-05 | releaser: Bump versions for release of 0.121.2v0.121.2 | hugoreleaser | |
[ci skip] | |||
2023-12-18 | all: Remove unused code | Bjørn Erik Pedersen | |
Using x/tools/cmd/deadcode | |||
2023-12-08 | releaser: Prepare repository for 0.122.0-DEVrelease-0.121.1 | hugoreleaser | |
[ci skip] | |||
2023-12-08 | releaser: Bump versions for release of 0.121.1v0.121.1 | hugoreleaser | |
[ci skip] | |||
2023-12-05 | releaser: Prepare repository for 0.122.0-DEVrelease-0.121.0 | hugoreleaser | |
[ci skip] | |||
2023-12-05 | releaser: Bump versions for release of 0.121.0v0.121.0 | hugoreleaser | |
[ci skip] | |||
2023-12-04 | tpl/urls: Retain query and fragment with absURL and absLangURL | Joe Mooring | |
Closes #11772 | |||
2023-11-28 | common/para: Skip flaky test on CI | Bjørn Erik Pedersen | |
2023-11-28 | deps: Upgrade to libwebp 1.3.2 | Bjørn Erik Pedersen | |
Closes #11746 | |||
2023-11-16 | common/para: Skip flaky tests on Windows | Bjørn Erik Pedersen | |
2023-11-08 | releaser: Prepare repository for 0.121.0-DEVrelease-0.120.4 | hugoreleaser | |
[ci skip] | |||
2023-11-08 | releaser: Bump versions for release of 0.120.4v0.120.4 | hugoreleaser | |
[ci skip] | |||
2023-11-01 | releaser: Prepare repository for 0.121.0-DEVrelease-0.120.3 | hugoreleaser | |
[ci skip] | |||
2023-11-01 | releaser: Bump versions for release of 0.120.3v0.120.3 | hugoreleaser | |
[ci skip] | |||
2023-11-01 | Add a field prefix to the deprecated log statements | Bjørn Erik Pedersen | |
To make theme easier to spot, esp. on INFO level. | |||
2023-11-01 | Avoid double printing INFO deprecation messages | Bjørn Erik Pedersen | |
Fixes #11645 | |||
2023-10-31 | releaser: Prepare repository for 0.121.0-DEVrelease-0.120.2 | hugoreleaser | |
[ci skip] | |||
2023-10-31 | releaser: Bump versions for release of 0.120.2v0.120.2 | hugoreleaser | |
[ci skip] | |||
2023-10-31 | Fix deprecation printing on info level | Bjørn Erik Pedersen | |
Fixes #11638 | |||
2023-10-30 | releaser: Prepare repository for 0.121.0-DEVrelease-0.120.1 | hugoreleaser | |
[ci skip] | |||
2023-10-30 | releaser: Bump versions for release of 0.120.1v0.120.1 | hugoreleaser | |
[ci skip] |