Update module github.com/maddalax/htmgo/framework to v1.0.5 #4

Open
renovate-bot wants to merge 1 commit from renovate/github.com-maddalax-htmgo-framework-1.x into master
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/maddalax/htmgo/framework require patch v1.0.3-0.20241101111035-2c4ac8b2866d -> v1.0.5

Release Notes

maddalax/htmgo (github.com/maddalax/htmgo/framework)

v1.0.5

Compare Source

Small release this time, added 2 new JS commands

  1. h.OnRunInterval(time.Duration, commands ... Command)
    Allows you to run JS commands on the specific interval

Usage:

h.Div(
    h.OnLoad(
	  h.RunOnInterval(time.Second,
            js.ConsoleLog("this runs a command every 1s"),
            js.SetInnerHtml(h.Div()),
            js.EvalJs(`alert('you can eval complex js too')`)
	  ),
    )
)
  1. h.RunAfterTimeout(time.Duration, commands ... Command)
    Allows you to run JS commands after a specified timeout
h.Div(
    h.OnLoad(
	  h.RunAfterTimeout(time.Second,
            js.ConsoleLog("this runs a command once after a second"),
            js.SetInnerHtml(h.Div()),
	  ),
    )
)

Additional fixes:
Fixes issues where using simple commands such as js.SetText, js.SetInnerHtml were failing when used in things such as Js.EvalCommands due to 'this' not existing. Commands will now always use 'self' if it exists, otherwise 'this'


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/maddalax/htmgo/framework](https://github.com/maddalax/htmgo) | require | patch | `v1.0.3-0.20241101111035-2c4ac8b2866d` -> `v1.0.5` | --- ### Release Notes <details> <summary>maddalax/htmgo (github.com/maddalax/htmgo/framework)</summary> ### [`v1.0.5`](https://github.com/maddalax/htmgo/releases/tag/v1.0.5) [Compare Source](https://github.com/maddalax/htmgo/compare/v1.0.2...v1.0.5) Small release this time, added 2 new JS commands 1. **h.OnRunInterval(time.Duration, commands ... Command)** Allows you to run JS commands on the specific interval Usage: ```go h.Div( h.OnLoad( h.RunOnInterval(time.Second, js.ConsoleLog("this runs a command every 1s"), js.SetInnerHtml(h.Div()), js.EvalJs(`alert('you can eval complex js too')`) ), ) ) ``` 2. **h.RunAfterTimeout(time.Duration, commands ... Command)** Allows you to run JS commands after a specified timeout ```go h.Div( h.OnLoad( h.RunAfterTimeout(time.Second, js.ConsoleLog("this runs a command once after a second"), js.SetInnerHtml(h.Div()), ), ) ) ``` Additional fixes: Fixes issues where using simple commands such as js.SetText, js.SetInnerHtml were failing when used in things such as Js.EvalCommands due to 'this' not existing. Commands will now always use 'self' if it exists, otherwise 'this' </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjkuMiIsInVwZGF0ZWRJblZlciI6IjM4LjEyOS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Author
Contributor

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/maddalax/htmgo/framework v1.0.5
go: downloading github.com/pocketbase/pocketbase v0.22.23
go: downloading github.com/go-chi/chi/v5 v5.1.0
go: downloading github.com/google/uuid v1.6.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/fatih/color v1.17.0
go: downloading github.com/spf13/cobra v1.8.1
go: downloading github.com/spf13/cast v1.7.0
go: downloading github.com/labstack/echo/v5 v5.0.0-20230722203903-ec5b858dab61
go: downloading github.com/pocketbase/dbx v1.10.1
go: downloading golang.org/x/crypto v0.28.0
go: downloading github.com/go-ozzo/ozzo-validation/v4 v4.3.0
go: downloading github.com/golang-jwt/jwt/v4 v4.5.0
go: downloading modernc.org/sqlite v1.32.0
go: downloading github.com/mattn/go-sqlite3 v1.14.22
go: downloading golang.org/x/oauth2 v0.22.0
go: downloading golang.org/x/net v0.30.0
go: downloading github.com/domodwyer/mailyak/v3 v3.6.2
go: downloading github.com/ganigeorgiev/fexpr v0.4.1
go: downloading golang.org/x/sync v0.8.0
go: downloading github.com/aws/aws-sdk-go-v2 v1.32.2
go: downloading github.com/aws/aws-sdk-go-v2/config v1.27.31
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.17.30
go: downloading github.com/aws/smithy-go v1.22.0
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.60.1
go: downloading github.com/disintegration/imaging v1.6.2
go: downloading github.com/gabriel-vasile/mimetype v1.4.5
go: downloading gocloud.dev v0.39.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading golang.org/x/sys v0.26.0
go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/goccy/go-json v0.10.3
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.15
go: downloading github.com/valyala/fasttemplate v1.2.2
go: downloading golang.org/x/time v0.6.0
go: downloading github.com/AlecAivazis/survey/v2 v2.3.7
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.12
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.22.5
go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.5
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.30.5
go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.4
go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.16
go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.16
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.4
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.18
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.18
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.16
go: downloading github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading golang.org/x/term v0.25.0
go: downloading golang.org/x/text v0.19.0
go: downloading golang.org/x/image v0.19.0
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.16
go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
go: downloading go.opencensus.io v0.24.0
go: downloading google.golang.org/grpc v1.65.0
go: downloading golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9
go: downloading github.com/googleapis/gax-go/v2 v2.13.0
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading google.golang.org/api v0.194.0
go: downloading google.golang.org/protobuf v1.34.2
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed
go: downloading modernc.org/libc v1.55.3
go: downloading modernc.org/gc/v3 v3.0.0-20240801135723-a856999a2e4a
go: downloading modernc.org/token v1.1.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.6.0
go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7
go: downloading modernc.org/strutil v1.2.0
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
go: downloading github.com/ncruces/go-strftime v0.1.9
go: downloading modernc.org/memory v1.8.0
go: blog imports
	blog/__htmgo: package blog/__htmgo is not in std (/opt/containerbase/tools/golang/1.23.4/src/blog/__htmgo)
go: blog/pages imports
	blog/__htmgo/assets: package blog/__htmgo/assets is not in std (/opt/containerbase/tools/golang/1.23.4/src/blog/__htmgo/assets)

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: go.sum ``` Command failed: go get -d -t ./... go: -d flag is deprecated. -d=true is a no-op go: downloading github.com/maddalax/htmgo/framework v1.0.5 go: downloading github.com/pocketbase/pocketbase v0.22.23 go: downloading github.com/go-chi/chi/v5 v5.1.0 go: downloading github.com/google/uuid v1.6.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/fatih/color v1.17.0 go: downloading github.com/spf13/cobra v1.8.1 go: downloading github.com/spf13/cast v1.7.0 go: downloading github.com/labstack/echo/v5 v5.0.0-20230722203903-ec5b858dab61 go: downloading github.com/pocketbase/dbx v1.10.1 go: downloading golang.org/x/crypto v0.28.0 go: downloading github.com/go-ozzo/ozzo-validation/v4 v4.3.0 go: downloading github.com/golang-jwt/jwt/v4 v4.5.0 go: downloading modernc.org/sqlite v1.32.0 go: downloading github.com/mattn/go-sqlite3 v1.14.22 go: downloading golang.org/x/oauth2 v0.22.0 go: downloading golang.org/x/net v0.30.0 go: downloading github.com/domodwyer/mailyak/v3 v3.6.2 go: downloading github.com/ganigeorgiev/fexpr v0.4.1 go: downloading golang.org/x/sync v0.8.0 go: downloading github.com/aws/aws-sdk-go-v2 v1.32.2 go: downloading github.com/aws/aws-sdk-go-v2/config v1.27.31 go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.17.30 go: downloading github.com/aws/smithy-go v1.22.0 go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.60.1 go: downloading github.com/disintegration/imaging v1.6.2 go: downloading github.com/gabriel-vasile/mimetype v1.4.5 go: downloading gocloud.dev v0.39.0 go: downloading github.com/mattn/go-colorable v0.1.13 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading golang.org/x/sys v0.26.0 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/inconshreveable/mousetrap v1.1.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/goccy/go-json v0.10.3 go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.15 go: downloading github.com/valyala/fasttemplate v1.2.2 go: downloading golang.org/x/time v0.6.0 go: downloading github.com/AlecAivazis/survey/v2 v2.3.7 go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.12 go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.22.5 go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.5 go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.30.5 go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.4 go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.16 go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.16 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.4 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.18 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.18 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.16 go: downloading github.com/valyala/bytebufferpool v1.0.0 go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 go: downloading golang.org/x/term v0.25.0 go: downloading golang.org/x/text v0.19.0 go: downloading golang.org/x/image v0.19.0 go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.16 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d go: downloading go.opencensus.io v0.24.0 go: downloading google.golang.org/grpc v1.65.0 go: downloading golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 go: downloading github.com/googleapis/gax-go/v2 v2.13.0 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading google.golang.org/api v0.194.0 go: downloading google.golang.org/protobuf v1.34.2 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed go: downloading modernc.org/libc v1.55.3 go: downloading modernc.org/gc/v3 v3.0.0-20240801135723-a856999a2e4a go: downloading modernc.org/token v1.1.0 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading modernc.org/mathutil v1.6.0 go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7 go: downloading modernc.org/strutil v1.2.0 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec go: downloading github.com/ncruces/go-strftime v0.1.9 go: downloading modernc.org/memory v1.8.0 go: blog imports blog/__htmgo: package blog/__htmgo is not in std (/opt/containerbase/tools/golang/1.23.4/src/blog/__htmgo) go: blog/pages imports blog/__htmgo/assets: package blog/__htmgo/assets is not in std (/opt/containerbase/tools/golang/1.23.4/src/blog/__htmgo/assets) ```
renovate-bot force-pushed renovate/github.com-maddalax-htmgo-framework-1.x from 7d34eb34e1
Some checks failed
renovate/artifacts Artifact file update failure
to cc053d2c77
Some checks failed
renovate/artifacts Artifact file update failure
2024-12-18 20:14:51 +00:00
Compare
renovate-bot force-pushed renovate/github.com-maddalax-htmgo-framework-1.x from cc053d2c77
Some checks failed
renovate/artifacts Artifact file update failure
to eb5496e40b
Some checks failed
renovate/artifacts Artifact file update failure
2024-12-18 22:01:12 +00:00
Compare
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/github.com-maddalax-htmgo-framework-1.x:renovate/github.com-maddalax-htmgo-framework-1.x
git switch renovate/github.com-maddalax-htmgo-framework-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/github.com-maddalax-htmgo-framework-1.x
git switch renovate/github.com-maddalax-htmgo-framework-1.x
git rebase master
git switch master
git merge --ff-only renovate/github.com-maddalax-htmgo-framework-1.x
git switch renovate/github.com-maddalax-htmgo-framework-1.x
git rebase master
git switch master
git merge --no-ff renovate/github.com-maddalax-htmgo-framework-1.x
git switch master
git merge --squash renovate/github.com-maddalax-htmgo-framework-1.x
git switch master
git merge --ff-only renovate/github.com-maddalax-htmgo-framework-1.x
git switch master
git merge renovate/github.com-maddalax-htmgo-framework-1.x
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ginjiruu/blog!4
No description provided.