Python-hugo

Latest version: v24.1.1

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 44

0.103.1

What's Changed

* server: Fix redirects when file path contains bytes > 0x80 or whitespace 6be6752c bep 10287

0.103.0

There are 3 main topics in this release:

* The `hugo server` finally comes with proper [404 support](https://gohugo.io/getting-started/configuration/#404-server-error-page).
* You can now use `PostProcess`'ed resources in all file types (e.g. JSON), not just HTML.
* We have standardised the archive names for the release archives (as you can see further below). Hugo has since the first version used a rather odd and non-standard mixed case naming of the archive files (e.g. `hugo_0.102.3_OpenBSD-64bit.tar.gz`). We now use the standard GOOS/GOARCH values as-is, which makes it easier for people to script against. To avoid breakage when running on Netlify and similar, we create aliases for the most commonly downloaded Linux-archives on the old format and will continue to do so in the foreseeable future.

Bug fixes

* Fix usage description ab5ce598 satotake
* scss: Handle single-file sourcemaps correctly 02c89a44 toothrot 8174

Improvements

* Filter out any duplicate files to post process 8e77bcc9 bep 10269
* Support PostProcess for all file types 74daca6b bep 10269
* server: Add 404 support a5cda5ca bep
* Add `--force` to `hugo new` 7d40da87 satotake 9243
* Update stale.yml 5e03de0d sashashura

Dependency Updates

* build(deps): bump github.com/gobuffalo/flect from 0.2.5 to 0.3.0 1fd4c562 dependabot[bot]
* build(deps): bump github.com/getkin/kin-openapi from 0.98.0 to 0.100.0 5e2b28d6 dependabot[bot]
* build(deps): bump github.com/evanw/esbuild from 0.15.5 to 0.15.7 f2019f0a dependabot[bot]
* build(deps): bump github.com/yuin/goldmark from 1.4.13 to 1.4.14 475638fe dependabot[bot]

Build Setup

* Use standard GOOS/GOARCH values in release archives 3f0b40f6 bep 10073
* release: Bump Hugoreleaser version 06c3ac67 bep

0.102.3

What's Changed

* Fix shortcode parser regression with quoted param values 8e5044d7 bep 10236

0.102.2

What's Changed

* deps: Update github.com/tdewolff/minify/v2 v2.12.0 => v2.12.1 5046a6c7 jmooring 10230

0.102.1

What's Changed

* release: Fix the Deb archives 79932e72 bep 10220

0.102.0

**Note:** there were an issue with the Deb Linux binaries (see 10220), so those are now removed; will create a patch release with a fresh set later today.

This release adds Linux ARM64 extended archives (see issue 8257). If you look behind the scenes of this, you may say that "this looks like a lot of work for one file", but the current serial build setup was already closing in on the timeout limits of CircleCI (mostly because of the relatively resource-intensive extended build with CGO/webp/libsass). So, we eventually had to do something. This release is built using [Hugoreleaser](https://github.com/gohugoio/hugoreleaser), a custom build tool that allows us to [partition the build step](https://github.com/gohugoio/hugoreleaser#partitions). The Linux ARM64 binaries are built in its own Docker container, and we also get a general speedup of the entire build:

<img width="458" alt="image" src="https://user-images.githubusercontent.com/394382/187086315-ce02e0cb-9c4f-4f5c-a24e-4f9f003bb181.png">

In Circle CI, this is how the release flow looks like:

<img width="1023" alt="image" src="https://user-images.githubusercontent.com/394382/187086178-b1ab9bc5-1591-4a48-9338-975ac2ed2a3f.png">

In the above, `build_container1` is doing most of the work and is configured with `parallelism: 7` and partitioned using `$CIRCLE_NODE_TOTAL` and `$CIRCLE_NODE_INDEX`:

<img width="699" alt="image" src="https://user-images.githubusercontent.com/394382/187086203-b2af4770-2a31-41b4-88ce-8ac58ec6c578.png">

See the [CircleCI Config](https://github.com/gohugoio/hugo/blob/master/.circleci/config.yml) for details.

Notes

* The MacOS archives have been replaced with universal/fat binaries that works on all MacOS platforms, named *macOS-universal.tar.gz.
* These archives are removed: 32 bit Linux archives, Windows 32-bit and ARM, Linux ARM Deb. We may re-add some of these if enough people shout.

Bug fixes

* common/hugio: One more fix for non-OS fs f5ba6fd4 bep
* common/hugio: Fix CopyDir when fs is not OS c4bbc1ee bep
* markup/goldmark/codeblock: Fix attributes when no language identifier in CodeBlock cbdaff21 chick-p 10118
* commands: Fix embed in livereload.go 3fefea06 yyqqing

Improvements

* license: Add copyright info c9834841 bep 10218
* github: Use GitHub's Choco-Install function to retry installs f7e00c03 anthonyfok
* livereload: Inject script without head or body tag b017f7cb satotake 10105
* Externalise and embed livereload.js string 21562e3a satotake
* Cache when not found in LookupLayout 9c24b86e bep
* parser/pageparser: Don't store the byte slices 223bf280 bep
* Make the baseline benchmark's test files stable 72b0ccdb bep
* Accept vendor-specified build date if .git/ is unavailable 8ebcaa53 anthonyfok 10053
* Extract the baseline benchmark to a test d1278f69 bep
* Add a baseline benchmark 92f31ae6 bep

Dependency Updates

* build(deps): bump go.uber.org/atomic from 1.9.0 to 1.10.0 2de393c7 dependabot[bot]
* build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.9 to 2.2.10 7efb3568 dependabot[bot]
* build(deps): bump github.com/getkin/kin-openapi from 0.97.0 to 0.98.0 ddbcc671 dependabot[bot]
* deps: Update github.com/pelletier/go-toml/v2 v2.0.2 => v2.0.4 fd75f129 bep 10210
* build(deps): bump github.com/spf13/afero from 1.8.2 to 1.9.2 14878ca0 dependabot[bot]
* build(deps): bump github.com/tdewolff/parse/v2 from 2.6.1 to 2.6.2 e88873b8 dependabot[bot]
* build(deps): bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 4219993b dependabot[bot]
* build(deps): bump github.com/rogpeppe/go-internal from 1.8.1 to 1.9.0 988e1417 dependabot[bot]
* build(deps): bump github.com/yuin/goldmark from 1.4.12 to 1.4.13 42529882 dependabot[bot]
* build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 45f1b1cf dependabot[bot]
* build(deps): bump github.com/tdewolff/minify/v2 from 2.11.10 to 2.12.0 369bdf22 dependabot[bot]
* build(deps): bump github.com/evanw/esbuild from 0.14.43 to 0.15.5 d1b03a09 dependabot[bot]

Build Setup

* releaser: Bump versions for release of 0.102.0 0ff4a932 bep
* Add linux/arm64 extended to release setup 45e1084f bep 8257
* snap: Delete obsolete custom x-nodejs plugins 0e0fb1b6 anthonyfok
* releaser: Fat MacOS binaries 7fb28085 bep 9131
* Update to Go 1.19 0cd1929b bep 10145
* snap: Replace mage with "go build" and set VendorInfo=snap 24148193 anthonyfok
* snap: Use interface names etc-gitconfig and gitconfig, Take 2 5caed8a7 anthonyfok 6226
* snap: Use interface names etc-gitconfig and gitconfig fd3953c1 anthonyfok 6226
* releaser: Prepare repository for 0.102.0-DEV 15463f83 bep

Documentation

* readme: Add Golang URL to Go links 941c28ab reecerussell
* Update README.md ffbdcc75 bep
* Update README.md 95d97645 bep
* Update README.md b66f9f26 bep
* Update README.md 5c48ba93 bep 10136

Page 9 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.