Skip to content

Commit

Permalink
bump version 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
flosch committed Jun 24, 2022
1 parent aec36e7 commit becf68f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pongo2 is a Django-syntax like templating-language ([official website](https://w
Install/update using `go get` (no dependencies required by pongo2):

```sh
go get -u github.com/flosch/pongo2/v5
go get -u github.com/flosch/pongo2/v6
```

Please use the [issue tracker](https://github.com/flosch/pongo2/issues) if you're encountering any problems with pongo2 or if you need help with implementing tags or filters ([create a ticket!](https://github.com/flosch/pongo2/issues/new)).
Expand Down Expand Up @@ -142,7 +142,7 @@ fmt.Println(out) // Output: Hello Florian!
package main

import (
"github.com/flosch/pongo2/v5"
"github.com/flosch/pongo2/v6"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/flosch/pongo2/v5
module github.com/flosch/pongo2/v6

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion pongo2.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package pongo2

// Version string
const Version = "5.0.0"
const Version = "6.0.0"

// Must panics, if a Template couldn't successfully parsed. This is how you
// would use it:
Expand Down
2 changes: 1 addition & 1 deletion pongo2_issues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pongo2_test
import (
"testing"

"github.com/flosch/pongo2/v5"
"github.com/flosch/pongo2/v6"
)

func TestIssue151(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pongo2_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"testing"
"time"

"github.com/flosch/pongo2/v5"
"github.com/flosch/pongo2/v6"
)

type stringerValueType int
Expand Down
2 changes: 1 addition & 1 deletion pongo2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pongo2_test
import (
"testing"

"github.com/flosch/pongo2/v5"
"github.com/flosch/pongo2/v6"
. "gopkg.in/check.v1"
)

Expand Down
12 changes: 12 additions & 0 deletions template_tests/CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

## v6.0.0

- Go 1.18 is now the minimum required Go version.
- Improved block performance (#293).
- Support for variable subscript syntax (for maps/arrays/slices), such as `mymap["foo"]` or
`myarray[0]` (#281).
- Backwards-incompatible change: `block.Super` won't be escaped anymore by default (#301).
- `nil` is now supported in function calls (#277).

Thanks to all contributors.
2 changes: 1 addition & 1 deletion template_tests/pongo2ctx.tpl.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
6.0.0

0 comments on commit becf68f

Please sign in to comment.