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

build(deps): bump go.mau.fi/util from 0.4.2 to 0.6.0 #139

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 22, 2024

Bumps go.mau.fi/util from 0.4.2 to 0.6.0.

Release notes

Sourced from go.mau.fi/util's releases.

v0.6.0

  • (dbutil) Added -- transaction: sqlite-fkey-off mode to upgrades, which allows safer upgrades that disable foreign keys without having to disable transactions entirely.
    • Breaking change: UpgradeTable.Register now takes a TxnMode instead of a bool as the 5th parameter.
    • Breaking change: Database.DoTxn now takes *dbutil.TxnOptions instead of *sql.TxOptions. nil is still allowed and the existing fields are still supported, but there's a new field too.
    • Breaking change: Database.Conn was renamed to Execable to avoid confusion with the new AcquireConn method (Execable just returns the current transaction or database, AcquireConn acquires a connection for exclusive use).
  • (dbutil) Added finalizer for RowIter to panic if the rows aren't iterated.
  • (dbutil) Changed QueryOne to return a zero value (usually nil) if the Scan method returns an error.
  • (progress) Implemented io.Seeker in Reader.
  • (ptr) Added new utilities for creating pointers to arbitrary values, as well as safely dereferencing pointers and making shallow clones.
  • (exslices) Added functions to cast slices to different types.
  • (gnuzip) Added wrappers for gzip that operate on []bytes instead of io.Reader/Writers.
  • (lottie) Added wrapper for lottieconverter similar to ffmpeg.
  • (variationselector) Fixed edge cases where Add and FullyQualify produced invalid output.

v0.5.0

  • Breaking change (configupgrade) Changed Helper into an interface.
  • (configupgrade) Added ProxyHelper that prepends a given path to all calls to a target Helper.
  • (dbutil) Added support for notating line filters as (line commented) to indicate that they should be uncommented when the filter matches.
  • (dbutil) Prevented accidentally using the transaction of another database connection by mixing contexts.
  • (fallocate) Added utility for allocating file space on disk. Currently compatible with Linux (including Android) and macOS.
  • (requestlog) Added utility for HTTP access logging.
  • (progress) Added io.Reader and io.Writer wrappers that support monitoring progress of the reading/writing.
Changelog

Sourced from go.mau.fi/util's changelog.

v0.6.0 (2024-07-16)

  • (dbutil) Added -- transaction: sqlite-fkey-off mode to upgrades, which allows safer upgrades that disable foreign keys without having to disable transactions entirely.
    • Breaking change: UpgradeTable.Register now takes a TxnMode instead of a bool as the 5th parameter.
    • Breaking change: Database.DoTxn now takes *dbutil.TxnOptions instead of *sql.TxOptions. nil is still allowed and the existing fields are still supported, but there's a new field too.
    • Breaking change: Database.Conn was renamed to Execable to avoid confusion with the new AcquireConn method (Execable just returns the current transaction or database, AcquireConn acquires a connection for exclusive use).
  • (dbutil) Added finalizer for RowIter to panic if the rows aren't iterated.
  • (dbutil) Changed QueryOne to return a zero value (usually nil) if the Scan method returns an error.
  • (progress) Implemented io.Seeker in Reader.
  • (ptr) Added new utilities for creating pointers to arbitrary values, as well as safely dereferencing pointers and making shallow clones.
  • (exslices) Added functions to cast slices to different types.
  • (gnuzip) Added wrappers for gzip that operate on []bytes instead of io.Reader/Writers.
  • (lottie) Added wrapper for lottieconverter similar to ffmpeg.
  • (variationselector) Fixed edge cases where Add and FullyQualify produced invalid output.

v0.5.0 (2024-06-16)

  • Breaking change (configupgrade) Changed Helper into an interface.
  • (configupgrade) Added ProxyHelper that prepends a given path to all calls to a target Helper.
  • (dbutil) Added support for notating line filters as (line commented) to indicate that they should be uncommented when the filter matches.
  • (dbutil) Prevented accidentally using the transaction of another database connection by mixing contexts.
  • (fallocate) Added utility for allocating file space on disk. Currently compatible with Linux (including Android) and macOS.
  • (requestlog) Added utility for HTTP access logging.
  • (progress) Added io.Reader and io.Writer wrappers that support monitoring progress of the reading/writing.
Commits
  • 53633ec Bump version to v0.6.0
  • 8d7c874 variationselector: generate go code instead of json files
  • b8a43b0 variationselector: fix edge cases
  • 9b4a606 variationselector: update to Unicode 15.1
  • e8e8154 changelog: update
  • 773705b dbutil: print sqlite queries when compiled in trace mode
  • fe2e452 dbutil: export method for doing SQLite transaction without foreign keys
  • 03648b3 dbutil: add support for sqlite upgrades with foreign keys off
  • 931b33d lottie: add ffmpeg convert function
  • 2bc4043 lottie: add convert function
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [go.mau.fi/util](https://github.com/mautrix/go-util) from 0.4.2 to 0.6.0.
- [Release notes](https://github.com/mautrix/go-util/releases)
- [Changelog](https://github.com/mautrix/go-util/blob/main/CHANGELOG.md)
- [Commits](mautrix/go-util@v0.4.2...v0.6.0)

---
updated-dependencies:
- dependency-name: go.mau.fi/util
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 22, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 19, 2024

Superseded by #142.

@dependabot dependabot bot closed this Aug 19, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/go.mau.fi/util-0.6.0 branch August 19, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants