Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from gohugoio:master #1291

Merged
merged 34 commits into from
Aug 1, 2023
Merged

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    575d7f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f058b8 View commit details
    Browse the repository at this point in the history
  3. 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
    ```
    bep committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    4d7af75 View commit details
    Browse the repository at this point in the history
  4. Use os.UserCacheDir as first fallback if cacheDir is not set

    We will now try
    
    1. cacheDir (or, commonly set in environment as `HUGO_CACHEDIR`)
    2. if on Netlify we use `/opt/build/cache/hugo_cache/`
    3. os.UserCacheDir
    4. A temp dir
    
    Storing the cache, especially the module cache, in a temporary idea has had lots of hard to debug issues, especially on MacOS,
    which this commit tries to fix.
    
    This should also make it easier to locate the Hugo cache:
    
    >UserCacheDir returns the default root directory to use for user-specific cached data. Users should create their own
    application-specific subdirectory within this one and use that.
    >
    >On Unix systems, it returns $XDG_CACHE_HOME as specified by
    https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if non-empty, else $HOME/.cache. On Darwin, it
    returns $HOME/Library/Caches. On Windows, it returns %LocalAppData%. On Plan 9, it returns $home/lib/cache.
    >
    >If the location cannot be determined (for example, $HOME is not defined), then it will return an error.
    
    Fixes #11286
    Fixes #11291
    bep authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    b3f1055 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9163973 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. tpl/collections: Fix description of apply function

    The collections.Apply template function cannot be used with maps.
    jmooring authored and bep committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    dc2a544 View commit details
    Browse the repository at this point in the history
  2. tpl/collections: Add like operator to where function

    Closes #11279
    jmooring authored and bep committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    f4598a0 View commit details
    Browse the repository at this point in the history
  3. tpl/collections: Add BenchmarkWhereOps

    ```
    BenchmarkWhereOps/eq-10 	    8702	    120410 ns/op	   52280 B/op	    2515 allocs/op
    BenchmarkWhereOps/ne-10 	    9829	    120759 ns/op	   52280 B/op	    2515 allocs/op
    BenchmarkWhereOps/like-10           6754	    176377 ns/op	   52917 B/op	    2515 allocs/op
    ```
    bep committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    ef6e813 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2589b12 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    36b5126 View commit details
    Browse the repository at this point in the history
  6. build(deps): bump golang.org/x/image from 0.8.0 to 0.9.0

    Bumps [golang.org/x/image](https://github.com/golang/image) from 0.8.0 to 0.9.0.
    - [Commits](golang/image@v0.8.0...v0.9.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/image
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and bep committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    0bc7ed9 View commit details
    Browse the repository at this point in the history
  7. build(deps): bump github.com/rogpeppe/go-internal

    Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) from 1.10.1-0.20230508101108-a4f6fabd84c5 to 1.11.0.
    - [Release notes](https://github.com/rogpeppe/go-internal/releases)
    - [Commits](https://github.com/rogpeppe/go-internal/commits/v1.11.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/rogpeppe/go-internal
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    5542f02 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b3cb678 View commit details
    Browse the repository at this point in the history
  9. Warn about unknown kinds in disableKinds

    See #11256
    bep committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    1c97095 View commit details
    Browse the repository at this point in the history
  10. Deprecate taxonomyTerm

    In favour of 'taxonomy'
    
    Closes #11256
    bep committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    bec9b80 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Squashed 'docs/' changes from 85befbb4d..c43daf45f

    c43daf45f Update build-options.md
    3ebbfedd4 Build options: Improve readability
    5091bf6a0 Improve safeHTMLAttr explanation
    b64cbce2e Fix description of collections.Apply
    6ea264b9c netlify: Hugo 0.115.4
    b42e7c542 Revert "config: Remove disableLiveReload"
    35ce2290e Remove excess spaces in configuration docs
    2edf761de Update listed titleCaseStyle default value
    887f6fb97 config: Remove disableLiveReload
    c9f49fb26 Fix typo
    37d8569ac Remove tools associated with Atom
    871d11b72 Fix URL in postprocess docs
    bbb17d29f Update GitLab workflow
    bc53ea5ce Use sentence-style capitalization for headings
    7ca578786 netlify: Hugo 0.115.3
    c5e010bd0 Merge branch 'tempv0.115.3'
    c885604bf Remove starter kits page
    4c0fe269e Update mention of Netlify CMS to Decap CMS
    05067175c Consistently use file name instead of filename
    763dd6404 Improve multilingual config example and descriptions
    e5aa61ec5 Use lowercase when referring to front matter (#2132)
    7ba3d0c72 docs: Refresh docs.json
    de8bddedf Update description of timeout configuration value
    e1245d9f8 netify: Hugo 0.115.2
    153a36bdf Merge branch 'tempv0.115.2'
    707cec754 Fix typo in figure example in shortcodes.md
    128cbe1e5 Improve taxonomy template examples
    4e743ec36 Improve highlight function example
    f96fa6805 transpile sass: Fixes typo
    e4a8a21f7 Compile Sass to CSS, not SCSS
    c1538bd00 docs: Regenerate CLI docs
    bd4e33436 Add titleCaseStyle none and firstupper
    6ff93d478 Update quick-start.md
    5c6653cb1 Update build config examples and explanation
    1458d9a43 Remove the `url` parameter
    6a1e92044 netlify: Hugo 0.115.1
    a9d5d6f2f Merge branch 'tempv0.115.1'
    4c4882384 docs: Regen docs helper
    d1aa1c1f5 Add link to PowerShell vs Windows PowerShell documentation
    6e3b70c21 Fix link to Git installation instructions
    4f8a9ca38 Clarify resources.Copy arguments
    ee86dd121 Update theme
    dc7c305cf Update theme
    60c23920b Clarify caching for resources.FromString (#2120)
    5bf2fef6d netlify: Hugo 0.115.0
    46bde87c5 Merge branch 'tempv0.115.0'
    42cc48c16 Specify target path caching for resources.ExecuteAsTemplate (#2027)
    a54bf4cd0 Correct the sample code of mermaid (#2119)
    8c49b06fc docs: Update permalinks documentation
    a4818d99b Page bundles: link to info about single vs. list page templates (#2116)
    3fc7744d7 snap: Document removable media access
    dbd08f58a Update theme
    df5b88633 netlify: Hugo 0.114.1
    6b859834a Fix typo
    9ec92cf68 Improve Dart Sass example for Netlify
    2d294ece9 Add Dart Sass installation and usage documentation
    4c6b77d6c Fix placement of curly braces
    897812a50 Update template-debugging.md to include a jsonify example
    22bca519b Update GitHub Pages hosting instructions (#2109)
    a964d93ce Document math functions new in v0.114.0 (#2108)
    9f4cb040e netlify: Hugo 0.114.0
    55b4d9221 Merge branch 'tempv0.114.0'
    93c4dcf93 docs: Regen docshelper
    96f03c77f docs: Regen CLI docs
    8e22a228a Clarify resource media type variables (#2106)
    2652da8d4 Update transform.Unmarshal.md (#2105)
    92657177a Update theme
    4601c1d65 Update theme
    a216f3145 Merge commit '3c1deaf201a35de08d23cc58f8f03682cace3349'
    eed8794f5 cache: Set default cache path based on $USER
    
    git-subtree-dir: docs
    git-subtree-split: c43daf45fdc36c254f4274a0815ea62d4d8c37e0
    bep committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    87de22d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8859be1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a50356b View commit details
    Browse the repository at this point in the history
  4. docs: Update where function operators

    Related to #11281
    jmooring authored and bep committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    036e260 View commit details
    Browse the repository at this point in the history
  5. docs: Update where

    Go doesn't use the RE2 (C++) library, it's a pure Go implementation.
    bep authored Jul 29, 2023
    Configuration menu
    Copy the full SHA
    d524778 View commit details
    Browse the repository at this point in the history
  6. Update where.md

    bep authored Jul 29, 2023
    Configuration menu
    Copy the full SHA
    295d733 View commit details
    Browse the repository at this point in the history
  7. commands: Update cacheDir description

    jmooring authored and bep committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    d9fdcbe View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2023

  1. readme: Fix link

    tfsojon authored Jul 30, 2023
    Configuration menu
    Copy the full SHA
    87d9bff View commit details
    Browse the repository at this point in the history
  2. Fix so temporary images do not get published

    Fixes #10255
    bep committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    fbb8eb3 View commit details
    Browse the repository at this point in the history
  3. docs: Regenerate CLI docs

    bep committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    d297c8e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be8e2de View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. config: Do not fail on unknown config keys

    Make it a warning.
    
    One such example I found in an old site is `blackfriday`. These should be fixed/removed, but it's not important enough
    to fail the build.
    bep committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    c1df5b1 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump github.com/evanw/esbuild from 0.18.11 to 0.18.17

    Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.18.11 to 0.18.17.
    - [Release notes](https://github.com/evanw/esbuild/releases)
    - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
    - [Commits](evanw/esbuild@v0.18.11...v0.18.17)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/evanw/esbuild
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and bep committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    d7db096 View commit details
    Browse the repository at this point in the history
  3. releaser: Bump versions for release of 0.116.0

    [ci skip]
    bep committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    5a7e0da View commit details
    Browse the repository at this point in the history
  4. releaser: Prepare repository for 0.117.0-DEV

    [ci skip]
    bep committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    92c1594 View commit details
    Browse the repository at this point in the history
  5. deps: Fix Chroma dependency version

    Fixes #11311
    jmooring authored and bep committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    58da855 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Fix module config watch regression

    Fixes #11313
    bep committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    30885a6 View commit details
    Browse the repository at this point in the history
  2. releaser: Bump versions for release of 0.116.1

    [ci skip]
    bep committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    3e1ea03 View commit details
    Browse the repository at this point in the history
  3. releaser: Prepare repository for 0.117.0-DEV

    [ci skip]
    bep committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    239f2e2 View commit details
    Browse the repository at this point in the history