Skip to content

Commit 4247657

Browse files
committed
Release v1.46.1
1 parent f8b0551 commit 4247657

36 files changed

+331
-212
lines changed

beta/auth/auth.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func WithContext(ctx context.Context, uid UID, data interface{}) (_ context.Cont
2929
// between releases.
3030
//
3131
// The current implementation of this function can be found here:
32-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/auth/auth.go#L63-L67
32+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/auth/auth.go#L63-L67
3333
doPanic("encore apps must be run using the encore command")
3434
return
3535
}

beta/auth/pkgfn.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func UserID() (_ UID, _ bool) {
99
// between releases.
1010
//
1111
// The current implementation of this function can be found here:
12-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/auth/pkgfn.go#L13-L15
12+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/auth/pkgfn.go#L13-L15
1313
doPanic("encore apps must be run using the encore command")
1414
return
1515
}
@@ -28,7 +28,7 @@ func Data() (_ any) {
2828
// between releases.
2929
//
3030
// The current implementation of this function can be found here:
31-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/auth/pkgfn.go#L25-L27
31+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/auth/pkgfn.go#L25-L27
3232
doPanic("encore apps must be run using the encore command")
3333
return
3434
}

beta/errs/builder.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func B() (_ *Builder) {
1818
//
1919
// The current implementation of this function can be found here:
2020
//
21-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/builder.go#L27-L27
21+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/builder.go#L27-L27
2222
doPanic("encore apps must be run using the encore command")
2323
return
2424
}
@@ -30,7 +30,7 @@ func (*Builder) Code(c ErrCode) (_ *Builder) {
3030
// between releases.
3131
//
3232
// The current implementation of this function can be found here:
33-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/builder.go#L30-L34
33+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/builder.go#L30-L34
3434
doPanic("encore apps must be run using the encore command")
3535
return
3636
}
@@ -42,7 +42,7 @@ func (*Builder) Msg(msg string) (_ *Builder) {
4242
// between releases.
4343
//
4444
// The current implementation of this function can be found here:
45-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/builder.go#L37-L40
45+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/builder.go#L37-L40
4646
doPanic("encore apps must be run using the encore command")
4747
return
4848
}
@@ -54,7 +54,7 @@ func (*Builder) Msgf(format string, args ...interface{}) (_ *Builder) {
5454
// between releases.
5555
//
5656
// The current implementation of this function can be found here:
57-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/builder.go#L43-L46
57+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/builder.go#L43-L46
5858
doPanic("encore apps must be run using the encore command")
5959
return
6060
}
@@ -66,7 +66,7 @@ func (*Builder) Meta(metaPairs ...interface{}) (_ *Builder) {
6666
// between releases.
6767
//
6868
// The current implementation of this function can be found here:
69-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/builder.go#L49-L52
69+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/builder.go#L49-L52
7070
doPanic("encore apps must be run using the encore command")
7171
return
7272
}
@@ -78,7 +78,7 @@ func (*Builder) Details(det ErrDetails) (_ *Builder) {
7878
// between releases.
7979
//
8080
// The current implementation of this function can be found here:
81-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/builder.go#L55-L59
81+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/builder.go#L55-L59
8282
doPanic("encore apps must be run using the encore command")
8383
return
8484
}
@@ -90,7 +90,7 @@ func (*Builder) Cause(err error) (_ *Builder) {
9090
// between releases.
9191
//
9292
// The current implementation of this function can be found here:
93-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/builder.go#L62-L77
93+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/builder.go#L62-L77
9494
doPanic("encore apps must be run using the encore command")
9595
return
9696
}
@@ -109,7 +109,7 @@ func (*Builder) Err() (_ error) {
109109
// between releases.
110110
//
111111
// The current implementation of this function can be found here:
112-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/builder.go#L87-L117
112+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/builder.go#L87-L117
113113
doPanic("encore apps must be run using the encore command")
114114
return
115115
}

beta/errs/error.go

+10-10
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func Wrap(err error, msg string, metaPairs ...interface{}) (_ error) {
4949
// between releases.
5050
//
5151
// The current implementation of this function can be found here:
52-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L66-L82
52+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L66-L82
5353
doPanic("encore apps must be run using the encore command")
5454
return
5555
}
@@ -62,7 +62,7 @@ func WrapCode(err error, code ErrCode, msg string, metaPairs ...interface{}) (_
6262
// between releases.
6363
//
6464
// The current implementation of this function can be found here:
65-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L86-L101
65+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L86-L101
6666
doPanic("encore apps must be run using the encore command")
6767
return
6868
}
@@ -76,7 +76,7 @@ func Convert(err error) (_ error) {
7676
// between releases.
7777
//
7878
// The current implementation of this function can be found here:
79-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L106-L117
79+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L106-L117
8080
doPanic("encore apps must be run using the encore command")
8181
return
8282
}
@@ -90,7 +90,7 @@ func Code(err error) (_ ErrCode) {
9090
// between releases.
9191
//
9292
// The current implementation of this function can be found here:
93-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L122-L129
93+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L122-L129
9494
doPanic("encore apps must be run using the encore command")
9595
return
9696
}
@@ -103,7 +103,7 @@ func Meta(err error) (_ Metadata) {
103103
// between releases.
104104
//
105105
// The current implementation of this function can be found here:
106-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L133-L138
106+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L133-L138
107107
doPanic("encore apps must be run using the encore command")
108108
return
109109
}
@@ -116,7 +116,7 @@ func Details(err error) (_ ErrDetails) {
116116
// between releases.
117117
//
118118
// The current implementation of this function can be found here:
119-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L142-L147
119+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L142-L147
120120
doPanic("encore apps must be run using the encore command")
121121
return
122122
}
@@ -128,7 +128,7 @@ func (*Error) Error() (_ string) {
128128
// between releases.
129129
//
130130
// The current implementation of this function can be found here:
131-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L150-L155
131+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L150-L155
132132
doPanic("encore apps must be run using the encore command")
133133
return
134134
}
@@ -141,7 +141,7 @@ func (*Error) ErrorMessage() (_ string) {
141141
// between releases.
142142
//
143143
// The current implementation of this function can be found here:
144-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L159-L183
144+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L159-L183
145145
doPanic("encore apps must be run using the encore command")
146146
return
147147
}
@@ -153,7 +153,7 @@ func (*Error) Unwrap() (_ error) {
153153
// between releases.
154154
//
155155
// The current implementation of this function can be found here:
156-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L186-L188
156+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L186-L188
157157
doPanic("encore apps must be run using the encore command")
158158
return
159159
}
@@ -170,7 +170,7 @@ func HTTPError(w http.ResponseWriter, err error) {
170170
// between releases.
171171
//
172172
// The current implementation of this function can be found here:
173-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/beta/errs/error.go#L196-L198
173+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/beta/errs/error.go#L196-L198
174174
doPanic("encore apps must be run using the encore command")
175175
return
176176
}

config/pkgfn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func Load[T any]() (_ T) {
2525
// between releases.
2626
//
2727
// The current implementation of this function can be found here:
28-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/config/pkgfn.go#L32-L54
28+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/config/pkgfn.go#L32-L54
2929
doPanic("encore apps must be run using the encore command")
3030
return
3131
}

cron/cron.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func NewJob(id string, jobConfig JobConfig) (_ *Job) {
4444
// between releases.
4545
//
4646
// The current implementation of this function can be found here:
47-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/cron/cron.go#L39-L47
47+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/cron/cron.go#L39-L47
4848
doPanic("encore apps must be run using the encore command")
4949
return
5050
}

et/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func SetCfg[T any](cfg config.Value[T], newValue T) {
1616
// between releases.
1717
//
1818
// The current implementation of this function can be found here:
19-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/et/config.go#L15-L25
19+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/et/config.go#L15-L25
2020
doPanic("encore apps must be run using the encore command")
2121
return
2222
}

et/mocking.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func RunMiddleware(enabled bool) (_ MockOption) {
1515
// between releases.
1616
//
1717
// The current implementation of this function can be found here:
18-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/et/mocking.go#L20-L24
18+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/et/mocking.go#L20-L24
1919
doPanic("encore apps must be run using the encore command")
2020
return
2121
}
@@ -52,7 +52,7 @@ func MockEndpoint[T any](originalEndpoint T, mock T, opts ...MockOption) {
5252
// between releases.
5353
//
5454
// The current implementation of this function can be found here:
55-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/et/mocking.go#L52-L72
55+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/et/mocking.go#L52-L72
5656
doPanic("encore apps must be run using the encore command")
5757
return
5858
}
@@ -87,7 +87,7 @@ func MockService[T any](serviceName string, mock T, opts ...MockOption) {
8787
// between releases.
8888
//
8989
// The current implementation of this function can be found here:
90-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/et/mocking.go#L98-L109
90+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/et/mocking.go#L98-L109
9191
doPanic("encore apps must be run using the encore command")
9292
return
9393
}

et/pkgfn.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func OverrideAuthInfo(uid auth.UID, data any) {
3030
// between releases.
3131
//
3232
// The current implementation of this function can be found here:
33-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/et/pkgfn.go#L29-L31
33+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/et/pkgfn.go#L29-L31
3434
doPanic("encore apps must be run using the encore command")
3535
return
3636
}
@@ -50,7 +50,7 @@ func EnableServiceInstanceIsolation() {
5050
// between releases.
5151
//
5252
// The current implementation of this function can be found here:
53-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/et/pkgfn.go#L42-L44
53+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/et/pkgfn.go#L42-L44
5454
doPanic("encore apps must be run using the encore command")
5555
return
5656
}
@@ -75,7 +75,7 @@ func NewTestDatabase(ctx context.Context, name stringLiteral) (_ *sqldb.Database
7575
// between releases.
7676
//
7777
// The current implementation of this function can be found here:
78-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/et/pkgfn.go#L61-L63
78+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/et/pkgfn.go#L61-L63
7979
doPanic("encore apps must be run using the encore command")
8080
return
8181
}

et/pubsub.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func Topic[T any](topic *pubsub.Topic[T]) (_ TopicHelpers[T]) {
1111
// between releases.
1212
//
1313
// The current implementation of this function can be found here:
14-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/et/pubsub.go#L8-L10
14+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/et/pubsub.go#L8-L10
1515
doPanic("encore apps must be run using the encore command")
1616
return
1717
}

metrics/metrics.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func (*Counter[V]) Increment() {
2323
// between releases.
2424
//
2525
// The current implementation of this function can be found here:
26-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/metrics.go#L36-L41
26+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/metrics.go#L36-L41
2727
doPanic("encore apps must be run using the encore command")
2828
return
2929
}
@@ -36,7 +36,7 @@ func (*Counter[V]) Add(delta V) {
3636
// between releases.
3737
//
3838
// The current implementation of this function can be found here:
39-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/metrics.go#L45-L53
39+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/metrics.go#L45-L53
4040
doPanic("encore apps must be run using the encore command")
4141
return
4242
}
@@ -51,7 +51,7 @@ func (*CounterGroup[L, V]) With(labels L) (_ *Counter[V]) {
5151
// between releases.
5252
//
5353
// The current implementation of this function can be found here:
54-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/metrics.go#L71-L74
54+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/metrics.go#L71-L74
5555
doPanic("encore apps must be run using the encore command")
5656
return
5757
}
@@ -72,7 +72,7 @@ func (*Gauge[V]) Set(val V) {
7272
// between releases.
7373
//
7474
// The current implementation of this function can be found here:
75-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/metrics.go#L111-L116
75+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/metrics.go#L111-L116
7676
doPanic("encore apps must be run using the encore command")
7777
return
7878
}
@@ -83,7 +83,7 @@ func (*Gauge[V]) Add(val V) {
8383
// between releases.
8484
//
8585
// The current implementation of this function can be found here:
86-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/metrics.go#L118-L123
86+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/metrics.go#L118-L123
8787
doPanic("encore apps must be run using the encore command")
8888
return
8989
}
@@ -98,7 +98,7 @@ func (*GaugeGroup[L, V]) With(labels L) (_ *Gauge[V]) {
9898
// between releases.
9999
//
100100
// The current implementation of this function can be found here:
101-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/metrics.go#L136-L139
101+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/metrics.go#L136-L139
102102
doPanic("encore apps must be run using the encore command")
103103
return
104104
}

metrics/pkgfn.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func NewCounter[V Value](name string, cfg CounterConfig) (_ *Counter[V]) {
88
// between releases.
99
//
1010
// The current implementation of this function can be found here:
11-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/pkgfn.go#L7-L9
11+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/pkgfn.go#L7-L9
1212
doPanic("encore apps must be run using the encore command")
1313
return
1414
}
@@ -24,7 +24,7 @@ func NewCounterGroup[L Labels, V Value](name string, cfg CounterConfig) (_ *Coun
2424
// between releases.
2525
//
2626
// The current implementation of this function can be found here:
27-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/pkgfn.go#L16-L18
27+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/pkgfn.go#L16-L18
2828
doPanic("encore apps must be run using the encore command")
2929
return
3030
}
@@ -37,7 +37,7 @@ func NewGauge[V Value](name string, cfg GaugeConfig) (_ *Gauge[V]) {
3737
// between releases.
3838
//
3939
// The current implementation of this function can be found here:
40-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/pkgfn.go#L22-L24
40+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/pkgfn.go#L22-L24
4141
doPanic("encore apps must be run using the encore command")
4242
return
4343
}
@@ -53,7 +53,7 @@ func NewGaugeGroup[L Labels, V Value](name string, cfg GaugeConfig) (_ *GaugeGro
5353
// between releases.
5454
//
5555
// The current implementation of this function can be found here:
56-
// https://github.com/encoredev/encore/blob/v1.44.6/runtimes/go/metrics/pkgfn.go#L31-L33
56+
// https://github.com/encoredev/encore/blob/v1.46.1/runtimes/go/metrics/pkgfn.go#L31-L33
5757
doPanic("encore apps must be run using the encore command")
5858
return
5959
}

0 commit comments

Comments
 (0)