Skip to content
Permalink
Browse files
Bump version
  • Loading branch information
DarthSim committed Sep 30, 2021
1 parent 64448d7 commit 7709b74a5e206f2a245e2d1ea60e8097fbcee857
Showing with 202 additions and 202 deletions.
  1. +3 −3 bufpool/bufpool.go
  2. +1 −1 bufreader/bufreader.go
  3. +3 −3 config/config.go
  4. +1 −1 config/configurators/configurators.go
  5. +1 −1 errorreport/airbrake/airbrake.go
  6. +1 −1 errorreport/bugsnag/bugsnag.go
  7. +4 −4 errorreport/errorreport.go
  8. +1 −1 errorreport/honeybadger/honeybadger.go
  9. +1 −1 errorreport/sentry/sentry.go
  10. +3 −3 etag/etag.go
  11. +2 −2 etag/etag_test.go
  12. +2 −2 go.mod
  13. +2 −2 healthcheck.go
  14. +6 −6 imagedata/download.go
  15. +3 −3 imagedata/image_data.go
  16. +6 −6 imagedata/read.go
  17. +1 −1 imagemeta/bmp.go
  18. +1 −1 imagemeta/gif.go
  19. +1 −1 imagemeta/heif.go
  20. +1 −1 imagemeta/ico.go
  21. +1 −1 imagemeta/image_meta.go
  22. +1 −1 imagemeta/jpeg.go
  23. +1 −1 imagemeta/png.go
  24. +1 −1 imagemeta/svg.go
  25. +1 −1 imagemeta/tiff.go
  26. +1 −1 imagemeta/webp.go
  27. +1 −1 logger/log.go
  28. +1 −1 logger/syslog.go
  29. +10 −10 main.go
  30. +1 −1 memory/stats.go
  31. +2 −2 metrics/datadog/datadog.go
  32. +3 −3 metrics/metrics.go
  33. +1 −1 metrics/newrelic/newrelic.go
  34. +2 −2 metrics/prometheus/prometheus.go
  35. +1 −1 options/presets_test.go
  36. +5 −5 options/processing_options.go
  37. +2 −2 options/processing_options_test.go
  38. +1 −1 options/url.go
  39. +4 −4 processing/apply_filters.go
  40. +2 −2 processing/calc_position.go
  41. +2 −2 processing/copy_and_check_timeout.go
  42. +4 −4 processing/crop.go
  43. +3 −3 processing/export_color_profile.go
  44. +4 −4 processing/extend.go
  45. +3 −3 processing/finalize.go
  46. +5 −5 processing/fix_webp_size.go
  47. +3 −3 processing/flatten.go
  48. +4 −4 processing/import_color_profile.go
  49. +4 −4 processing/padding.go
  50. +4 −4 processing/pipeline.go
  51. +5 −5 processing/prepare.go
  52. +8 −8 processing/processing.go
  53. +3 −3 processing/rotate_and_flip.go
  54. +3 −3 processing/scale.go
  55. +6 −6 processing/scale_on_load.go
  56. +3 −3 processing/trim.go
  57. +5 −5 processing/watermark.go
  58. +12 −12 processing_handler.go
  59. +7 −7 processing_handler_test.go
  60. +1 −1 reuseport/listen_reuseport.go
  61. +1 −1 router/logging.go
  62. +2 −2 router/timer.go
  63. +2 −2 security/image_size.go
  64. +1 −1 security/signature.go
  65. +1 −1 security/signature_test.go
  66. +1 −1 security/source.go
  67. +5 −5 server.go
  68. +1 −1 transport/azure/azuret.go
  69. +1 −1 transport/fs/fs.go
  70. +1 −1 transport/gcs/gcs.go
  71. +1 −1 transport/s3/s3.go
  72. +1 −1 version/version.go
  73. +3 −3 vips/ico.go
  74. +1 −1 vips/testing_helpers.go
  75. +5 −5 vips/vips.go
@@ -6,9 +6,9 @@ import (
"sort"
"sync"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v2/imath"
"github.com/imgproxy/imgproxy/v2/metrics/prometheus"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/imgproxy/imgproxy/v3/imath"
"github.com/imgproxy/imgproxy/v3/metrics/prometheus"
)

type intSlice []int
@@ -5,7 +5,7 @@ import (
"bytes"
"io"

"github.com/imgproxy/imgproxy/v2/imath"
"github.com/imgproxy/imgproxy/v3/imath"
)

type Reader struct {
@@ -10,9 +10,9 @@ import (

log "github.com/sirupsen/logrus"

"github.com/imgproxy/imgproxy/v2/config/configurators"
"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v2/version"
"github.com/imgproxy/imgproxy/v3/config/configurators"
"github.com/imgproxy/imgproxy/v3/imagetype"
"github.com/imgproxy/imgproxy/v3/version"
)

var (
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

func Int(i *int, name string) {
@@ -4,7 +4,7 @@ import (
"net/http"

"github.com/airbrake/gobrake/v5"
"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v3/config"
)

var notifier *gobrake.Notifier
@@ -4,7 +4,7 @@ import (
"net/http"

"github.com/bugsnag/bugsnag-go/v2"
"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v3/config"
)

var enabled bool
@@ -3,10 +3,10 @@ package errorreport
import (
"net/http"

"github.com/imgproxy/imgproxy/v2/errorreport/airbrake"
"github.com/imgproxy/imgproxy/v2/errorreport/bugsnag"
"github.com/imgproxy/imgproxy/v2/errorreport/honeybadger"
"github.com/imgproxy/imgproxy/v2/errorreport/sentry"
"github.com/imgproxy/imgproxy/v3/errorreport/airbrake"
"github.com/imgproxy/imgproxy/v3/errorreport/bugsnag"
"github.com/imgproxy/imgproxy/v3/errorreport/honeybadger"
"github.com/imgproxy/imgproxy/v3/errorreport/sentry"
)

func Init() {
@@ -5,7 +5,7 @@ import (
"strings"

"github.com/honeybadger-io/honeybadger-go"
"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v3/config"
)

var (
@@ -5,7 +5,7 @@ import (
"time"

"github.com/getsentry/sentry-go"
"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v3/config"
)

var (
@@ -10,9 +10,9 @@ import (
"strings"
"sync"

"github.com/imgproxy/imgproxy/v2/imagedata"
"github.com/imgproxy/imgproxy/v2/options"
"github.com/imgproxy/imgproxy/v2/version"
"github.com/imgproxy/imgproxy/v3/imagedata"
"github.com/imgproxy/imgproxy/v3/options"
"github.com/imgproxy/imgproxy/v3/version"
)

type eTagCalc struct {
@@ -6,8 +6,8 @@ import (
"strings"
"testing"

"github.com/imgproxy/imgproxy/v2/imagedata"
"github.com/imgproxy/imgproxy/v2/options"
"github.com/imgproxy/imgproxy/v3/imagedata"
"github.com/imgproxy/imgproxy/v3/options"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
4 go.mod
@@ -1,6 +1,6 @@
module github.com/imgproxy/imgproxy/v2
module github.com/imgproxy/imgproxy/v3

go 1.13
go 1.15

require (
cloud.google.com/go/storage v1.15.0
@@ -8,8 +8,8 @@ import (
"net/http"
"os"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v2/config/configurators"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/imgproxy/imgproxy/v3/config/configurators"
)

func healthcheck() int {
@@ -9,13 +9,13 @@ import (
"net/http"
"time"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v2/ierrors"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/imgproxy/imgproxy/v3/ierrors"

azureTransport "github.com/imgproxy/imgproxy/v2/transport/azure"
fsTransport "github.com/imgproxy/imgproxy/v2/transport/fs"
gcsTransport "github.com/imgproxy/imgproxy/v2/transport/gcs"
s3Transport "github.com/imgproxy/imgproxy/v2/transport/s3"
azureTransport "github.com/imgproxy/imgproxy/v3/transport/azure"
fsTransport "github.com/imgproxy/imgproxy/v3/transport/fs"
gcsTransport "github.com/imgproxy/imgproxy/v3/transport/gcs"
s3Transport "github.com/imgproxy/imgproxy/v3/transport/s3"
)

var (
@@ -9,9 +9,9 @@ import (
"strings"
"sync"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v2/ierrors"
"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/imgproxy/imgproxy/v3/ierrors"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

var (
@@ -3,12 +3,12 @@ package imagedata
import (
"io"

"github.com/imgproxy/imgproxy/v2/bufpool"
"github.com/imgproxy/imgproxy/v2/bufreader"
"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v2/ierrors"
"github.com/imgproxy/imgproxy/v2/imagemeta"
"github.com/imgproxy/imgproxy/v2/security"
"github.com/imgproxy/imgproxy/v3/bufpool"
"github.com/imgproxy/imgproxy/v3/bufreader"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/imgproxy/imgproxy/v3/ierrors"
"github.com/imgproxy/imgproxy/v3/imagemeta"
"github.com/imgproxy/imgproxy/v3/security"
)

var (
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"io"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

var bmpMagick = []byte("BM")
@@ -3,7 +3,7 @@ package imagemeta
import (
"io"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

func DecodeGifMeta(r io.Reader) (Meta, error) {
@@ -8,7 +8,7 @@ import (
"io"
"io/ioutil"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

const heifBoxHeaderSize = int64(8)
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"io"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

type IcoMeta struct {
@@ -7,7 +7,7 @@ import (
"sync"
"sync/atomic"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

type Meta interface {
@@ -4,7 +4,7 @@ import (
"bufio"
"io"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

const (
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"io"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

var pngMagick = []byte("\x89PNG\r\n\x1a\n")
@@ -7,7 +7,7 @@ import (
"io"
"strings"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v3/config"
"golang.org/x/text/encoding/charmap"
)

@@ -6,7 +6,7 @@ import (
"encoding/binary"
"io"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
)

var (
@@ -10,7 +10,7 @@ import (
"errors"
"io"

"github.com/imgproxy/imgproxy/v2/imagetype"
"github.com/imgproxy/imgproxy/v3/imagetype"
"golang.org/x/image/riff"
"golang.org/x/image/vp8"
"golang.org/x/image/vp8l"
@@ -7,7 +7,7 @@ import (

logrus "github.com/sirupsen/logrus"

"github.com/imgproxy/imgproxy/v2/config/configurators"
"github.com/imgproxy/imgproxy/v3/config/configurators"
)

func Init() error {
@@ -5,7 +5,7 @@ import (
"log/syslog"
"os"

"github.com/imgproxy/imgproxy/v2/config/configurators"
"github.com/imgproxy/imgproxy/v3/config/configurators"
"github.com/sirupsen/logrus"
)

20 main.go
@@ -10,16 +10,16 @@ import (

log "github.com/sirupsen/logrus"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v2/errorreport"
"github.com/imgproxy/imgproxy/v2/imagedata"
"github.com/imgproxy/imgproxy/v2/logger"
"github.com/imgproxy/imgproxy/v2/memory"
"github.com/imgproxy/imgproxy/v2/metrics"
"github.com/imgproxy/imgproxy/v2/metrics/prometheus"
"github.com/imgproxy/imgproxy/v2/options"
"github.com/imgproxy/imgproxy/v2/version"
"github.com/imgproxy/imgproxy/v2/vips"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/imgproxy/imgproxy/v3/errorreport"
"github.com/imgproxy/imgproxy/v3/imagedata"
"github.com/imgproxy/imgproxy/v3/logger"
"github.com/imgproxy/imgproxy/v3/memory"
"github.com/imgproxy/imgproxy/v3/metrics"
"github.com/imgproxy/imgproxy/v3/metrics/prometheus"
"github.com/imgproxy/imgproxy/v3/options"
"github.com/imgproxy/imgproxy/v3/version"
"github.com/imgproxy/imgproxy/v3/vips"
)

func initialize() error {
@@ -5,7 +5,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/imgproxy/imgproxy/v2/vips"
"github.com/imgproxy/imgproxy/v3/vips"
)

func LogStats() {
@@ -11,8 +11,8 @@ import (
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/ext"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v2/version"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/imgproxy/imgproxy/v3/version"
)

type spanCtxKey struct{}
@@ -5,9 +5,9 @@ import (
"net/http"
"time"

"github.com/imgproxy/imgproxy/v2/metrics/datadog"
"github.com/imgproxy/imgproxy/v2/metrics/newrelic"
"github.com/imgproxy/imgproxy/v2/metrics/prometheus"
"github.com/imgproxy/imgproxy/v3/metrics/datadog"
"github.com/imgproxy/imgproxy/v3/metrics/newrelic"
"github.com/imgproxy/imgproxy/v3/metrics/prometheus"
)

func Init() error {
@@ -6,7 +6,7 @@ import (
"net/http"
"time"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/newrelic/go-agent/v3/newrelic"
)

@@ -10,8 +10,8 @@ import (
"github.com/prometheus/client_golang/prometheus/promhttp"
log "github.com/sirupsen/logrus"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v2/reuseport"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/imgproxy/imgproxy/v3/reuseport"
)

var (
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/imgproxy/imgproxy/v2/config"
"github.com/imgproxy/imgproxy/v3/config"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

0 comments on commit 7709b74

Please sign in to comment.