Update all dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
alpine | final | major |
3 -> 20240329
|
docker | service-image | major |
23-dind -> 26-dind
|
docker | image | major |
23 -> 26
|
github.com/georgysavva/scany | require | major |
v1.2.2 -> v2.1.3
|
github.com/go-co-op/gocron | require | major |
v1.37.0 -> v2.2.9
|
github.com/jackc/pgconn | require | minor |
v1.8.0 -> v1.14.3
|
github.com/jackc/pgx/v4 | require | major |
v4.10.1 -> v5.5.5
|
github.com/prometheus/client_golang | require | minor |
v1.14.0 -> v1.19.0
|
github.com/stretchr/testify | require | minor |
v1.8.2 -> v1.9.0
|
golang.org/x/time | require | minor |
v0.3.0 -> v0.5.0
|
kube-prometheus-stack (source) | major |
57.2.x -> 58.1.x
|
Release Notes
georgysavva/scany (github.com/georgysavva/scany)
v2.1.3
What's Changed
- Add special type for scanning of unused columns (V1) (#132) by @georgysavva in https://github.com/georgysavva/scany/pull/134
Full Changelog: https://github.com/georgysavva/scany/compare/v2.1.2...v2.1.3
v2.1.2
What's Changed
- Cache columeToIndexFieldMap by @zolstein in https://github.com/georgysavva/scany/pull/131
Full Changelog: https://github.com/georgysavva/scany/compare/v2.1.1...v2.1.2
v2.1.1
What's Changed
- Reduce per-row allocations by @zolstein in https://github.com/georgysavva/scany/pull/130
New Contributors
- @zolstein made their first contribution in https://github.com/georgysavva/scany/pull/130
Full Changelog: https://github.com/georgysavva/scany/compare/v2.1.0...v2.1.1
v2.1.0
What's Changed
- Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in https://github.com/georgysavva/scany/pull/108
- Bump golang.org/x/crypto from 0.0.0-20220829220503-c86fa9a7ed90 to 0.17.0 by @dependabot in https://github.com/georgysavva/scany/pull/121
- Adding ScanAllSets to the api by @kmpm in https://github.com/georgysavva/scany/pull/115
New Contributors
- @kmpm made their first contribution in https://github.com/georgysavva/scany/pull/115
Full Changelog: https://github.com/georgysavva/scany/compare/v2.0.0...v2.1.0
v2.0.0
What's Changed
- support pgx v5 by @vadimi in https://github.com/georgysavva/scany/pull/94
- replace pgtype with pgx/v5/pgtype by @vadimi in https://github.com/georgysavva/scany/pull/97
New Contributors
- @vadimi made their first contribution in https://github.com/georgysavva/scany/pull/94
Full Changelog: https://github.com/georgysavva/scany/compare/v1.2.1...v2.0.0
go-co-op/gocron (github.com/go-co-op/gocron)
v2.2.9
What's Changed
- fix case where OneTimeJob with concurrent limit and limited runs fails to run by @JohnRoesler in https://github.com/go-co-op/gocron/pull/703
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.8...v2.2.9
v2.2.8
What's Changed
- return an error if duration is zero by @moyu-x in https://github.com/go-co-op/gocron/pull/701
- properly report lastRun for limit type jobs and RunNow by @JohnRoesler in https://github.com/go-co-op/gocron/pull/700
New Contributors
- @moyu-x made their first contribution in https://github.com/go-co-op/gocron/pull/701
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.7...v2.2.8
v2.2.7
What's Changed
- Allow more time for requestJobCtx by @drewgonzales360 in https://github.com/go-co-op/gocron/pull/699
- fix case where job removed causes panic when rescheduling by @JohnRoesler in https://github.com/go-co-op/gocron/pull/698
New Contributors
- @drewgonzales360 made their first contribution in https://github.com/go-co-op/gocron/pull/699
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.6...v2.2.7
v2.2.6
What's Changed
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in https://github.com/go-co-op/gocron/pull/684
- elector & locker were failing to send out when not leader by @JohnRoesler in https://github.com/go-co-op/gocron/pull/688
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.5...v2.2.6
v2.2.5
What's Changed
- remove codecov by @JohnRoesler in https://github.com/go-co-op/gocron/pull/672
- Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in https://github.com/go-co-op/gocron/pull/675
- fix cases where default on send out is resulting in job not going out by @JohnRoesler in https://github.com/go-co-op/gocron/pull/686
- This fixes two bugs related to limit mode and singleton mode having jobs stop running
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.4...v2.2.5
v2.2.4
What's Changed
- correct AfterJobRuns doc by @JohnRoesler in https://github.com/go-co-op/gocron/pull/670
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.3...v2.2.4
v2.2.3
What's Changed
- fix RunNow() when calling from a job returned by Jobs() by @JohnRoesler in https://github.com/go-co-op/gocron/pull/668
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.2...v2.2.3
v2.2.2
What's Changed
- Bump github.com/google/uuid from 1.5.0 to 1.6.0 by @dependabot in https://github.com/go-co-op/gocron/pull/664
- fix unsafe map usage in singletonMode by @JohnRoesler & @a3sroot in https://github.com/go-co-op/gocron/pull/665
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.1...v2.2.2
v2.2.1
What's Changed
- fix monthly jobs when counting days from the end by @JohnRoesler in https://github.com/go-co-op/gocron/pull/662
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.2.0...v2.2.1
v2.2.0
What's Changed
- wait for new job to be fully created before returning by @JohnRoesler in https://github.com/go-co-op/gocron/pull/658
- BETA FEATURE: Add job monitor interface to allow for collecting job metrics by @JohnRoesler in https://github.com/go-co-op/gocron/pull/659
- This is the first release of the monitor feature - it may be changed as initial implementations are created and feedback comes in
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.1.2...v2.2.0
v2.1.2
Fixes
- fix to handle when next ends up in the past by @JohnRoesler in https://github.com/go-co-op/gocron/pull/650
- make the order of the returned jobs slice deterministic by @JohnRoesler in https://github.com/go-co-op/gocron/pull/652
Documentation
- refactor: fix indent by @leedrum in https://github.com/go-co-op/gocron/pull/649
New Contributors
- @leedrum made their first contribution in https://github.com/go-co-op/gocron/pull/649
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.1.1...v2.1.2
v2.1.1
What's Changed
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.1.0...v2.1.1
v2.1.0
What's Changed
- add new features, OneTimeJob and Job.RunNow() by @JohnRoesler in https://github.com/go-co-op/gocron/pull/646
Version bumps
- Bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/go-co-op/gocron/pull/644
- Bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in https://github.com/go-co-op/gocron/pull/645
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.0.3...v2.1.0
v2.0.3
Fixes
- fix weekly and monthly to handle midnight by @JohnRoesler in https://github.com/go-co-op/gocron/pull/643 #642
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.0.2...v2.0.3
v2.0.2
Fixes
- fix: check function param length and type by @JohnRoesler in https://github.com/go-co-op/gocron/pull/638 raised in #637
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.0.1...v2.0.2
v2.0.1
Fixes
- daily job next logic failed to consider 1 midnight attime by @JohnRoesler in https://github.com/go-co-op/gocron/pull/635
Bumps
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/go-co-op/gocron/pull/631
- Bump actions/setup-go from 4 to 5 by @dependabot in https://github.com/go-co-op/gocron/pull/630
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.0.0...v2.0.1
v2.0.0
v2.0.0
It's here!
Please give feedback! (Reach out on slack if you're interested in contributing so we can coordinate work
New Contributors
- @AlphaNecron made their first contribution in https://github.com/go-co-op/gocron/pull/613
Full Changelog: https://github.com/go-co-op/gocron/compare/v2.0.0-alpha-1...v2.0.0
jackc/pgconn (github.com/jackc/pgconn)
v1.14.3
v1.14.2
v1.14.1
v1.14.0
v1.13.0
v1.12.1
v1.12.0
v1.11.0
v1.10.1
v1.10.0
v1.9.0
v1.8.1
jackc/pgx (github.com/jackc/pgx/v4)
v5.5.5
v5.5.4
v5.5.3
v5.5.2
v5.5.1
v5.5.0
v5.4.3
v5.4.2
v5.4.1
v5.4.0
v5.3.1
v5.3.0
v5.2.0
v5.1.1
v5.1.0
v5.0.4
v5.0.3
v5.0.2
- Fix date encoding in text format to always use 2 digits for month and day
- Prefer driver.Valuer over wrap plans when encoding
- Fix scan to pointer to pointer to renamed type
- Allow scanning NULL even if PG and Go types are incompatible
v5.0.1
- Fix 32-bit atomic usage
- Add MarshalJSON for Float8 (yogipristiawan)
- Add
[
and]
to text encoding ofLseg
- Fix sqlScannerWrapper NULL handling
v5.0.0
Merged Packages
github.com/jackc/pgtype
, github.com/jackc/pgconn
, and github.com/jackc/pgproto3
are now included in the main
github.com/jackc/pgx
repository. Previously there was confusion as to where issues should be reported, additional
release work due to releasing multiple packages, and less clear changelogs.
pgconn
CommandTag
is now an opaque type instead of directly exposing an underlying []byte
.
The return value ResultReader.Values()
is no longer safe to retain a reference to after a subsequent call to NextRow()
or Close()
.
Trace()
method adds low level message tracing similar to the PQtrace
function in libpq
.
pgconn now uses non-blocking IO. This is a significant internal restructuring, but it should not cause any visible changes on its own. However, it is important in implementing other new features.
CheckConn()
checks a connection's liveness by doing a non-blocking read. This can be used to detect database restarts or network interruptions without executing a query or a ping.
pgconn now supports pipeline mode.
*PgConn.ReceiveResults
removed. Use pipeline mode instead.
Timeout()
no longer considers context.Canceled
as a timeout error. context.DeadlineExceeded
still is considered a timeout error.
pgxpool
Connect
and ConnectConfig
have been renamed to New
and NewWithConfig
respectively. The LazyConnect
option has been removed. Pools always lazily connect.
pgtype
The pgtype
package has been significantly changed.
NULL Representation
Previously, types had a Status
field that could be Undefined
, Null
, or Present
. This has been changed to a
Valid
bool
field to harmonize with how database/sql
represents NULL
and to make the zero value useable.
Previously, a type that implemented driver.Valuer
would have the Value
method called even on a nil pointer. All nils
whether typed or untyped now represent NULL
.
Codec and Value Split
Previously, the type system combined decoding and encoding values with the value types. e.g. Type Int8
both handled
encoding and decoding the PostgreSQL representation and acted as a value object. This caused some difficulties when
there was not an exact 1 to 1 relationship between the Go types and the PostgreSQL types For example, scanning a
PostgreSQL binary numeric
into a Go float64
was awkward (see https://github.com/jackc/pgtype/issues/147). This
concepts have been separated. A Codec
only has responsibility for encoding and decoding values. Value types are
generally defined by implementing an interface that a particular Codec
understands (e.g. PointScanner
and
PointValuer
for the PostgreSQL point
type).
Array Types
All array types are now handled by ArrayCodec
instead of using code generation for each new array type. This also
means that less common array types such as point[]
are now supported. Array[T]
supports PostgreSQL multi-dimensional
arrays.
Composite Types
Composite types must be registered before use. CompositeFields
may still be used to construct and destruct composite
values, but any type may now implement CompositeIndexGetter
and CompositeIndexScanner
to be used as a composite.
Range Types
Range types are now handled with types RangeCodec
and Range[T]
. This allows additional user defined range types to
easily be handled. Multirange types are handled similarly with MultirangeCodec
and Multirange[T]
.
pgxtype
LoadDataType
moved to *Conn
as LoadType
.
Bytea
The Bytea
and GenericBinary
types have been replaced. Use the following instead:
-
[]byte
- For normal usage directly use[]byte
. -
DriverBytes
- Uses driver memory only available until next database method call. Avoids a copy and an allocation. -
PreallocBytes
- Uses preallocated byte slice to avoid an allocation. -
UndecodedBytes
- Avoids any decoding. Allows working with raw bytes.
Dropped lib/pq Support
pgtype
previously supported and was tested against lib/pq. While it will continue to work
in most cases this is no longer supported.
database/sql Scan
Previously, most Scan
implementations would convert []byte
to string
automatically to decode a text value. Now
only string
is handled. This is to allow the possibility of future binary support in database/sql
mode by
considering []byte
to be binary format and string
text format. This change should have no effect for any use with
pgx
. The previous behavior was only necessary for lib/pq
compatibility.
Added *Map.SQLScanner
to create a sql.Scanner
for types such as []int32
and Range[T]
that do not implement
sql.Scanner
directly.
Number Type Fields Include Bit size
Int2
, Int4
, Int8
, Float4
, Float8
, and Uint32
fields now include bit size. e.g. Int
is renamed to Int64
.
This matches the convention set by database/sql
. In addition, for comparable types like pgtype.Int8
and
sql.NullInt64
the structures are identical. This means they can be directly converted one to another.
3rd Party Type Integrations
- Extracted integrations with https://github.com/shopspring/decimal and https://github.com/gofrs/uuid to https://github.com/jackc/pgx-shopspring-decimal and https://github.com/jackc/pgx-gofrs-uuid respectively. This trims the pgx dependency tree.
Other Changes
-
Bit
andVarbit
are both replaced by theBits
type. -
CID
,OID
,OIDValue
, andXID
are replaced by theUint32
type. -
Hstore
is now defined asmap[string]*string
. -
JSON
andJSONB
types removed. Use[]byte
orstring
directly. -
QChar
type removed. Userune
orbyte
directly. -
Inet
andCidr
types removed. Usenetip.Addr
andnetip.Prefix
directly. These types are more memory efficient than the previousnet.IPNet
. -
Macaddr
type removed. Usenet.HardwareAddr
directly. - Renamed
pgtype.ConnInfo
topgtype.Map
. - Renamed
pgtype.DataType
topgtype.Type
. - Renamed
pgtype.None
topgtype.Finite
. -
RegisterType
now accepts a*Type
instead ofType
. - Assorted array helper methods and types made private.
stdlib
- Removed
AcquireConn
andReleaseConn
as that functionality has been built in since Go 1.13.
Reduced Memory Usage by Reusing Read Buffers
Previously, the connection read buffer would allocate large chunks of memory and never reuse them. This allowed transferring ownership to anything such as scanned values without incurring an additional allocation and memory copy. However, this came at the cost of overall increased memory allocation size. But worse it was also possible to pin large chunks of memory by retaining a reference to a small value that originally came directly from the read buffer. Now ownership remains with the read buffer and anything needing to retain a value must make a copy.
Query Execution Modes
Control over automatic prepared statement caching and simple protocol use are now combined into query execution mode.
See documentation for QueryExecMode
.
QueryRewriter Interface and NamedArgs
pgx now supports named arguments with the NamedArgs
type. This is implemented via the new QueryRewriter
interface which
allows arbitrary rewriting of query SQL and arguments.
RowScanner Interface
The RowScanner
interface allows a single argument to Rows.Scan to scan the entire row.
Rows Result Helpers
-
CollectRows
andRowTo*
functions simplify collecting results into a slice. -
CollectOneRow
collects one row usingRowTo*
functions. -
ForEachRow
simplifies scanning each row and executing code using the scanned values.ForEachRow
replacesQueryFunc
.
Tx Helpers
Rather than every type that implemented Begin
or BeginTx
methods also needing to implement BeginFunc
and
BeginTxFunc
these methods have been converted to functions that take a db that implements Begin
or BeginTx
.
Improved Batch Query Ergonomics
Previously, the code for building a batch went in one place before the call to SendBatch
, and the code for reading the
results went in one place after the call to SendBatch
. This could make it difficult to match up the query and the code
to handle the results. Now Queue
returns a QueuedQuery
which has methods Query
, QueryRow
, and Exec
which can
be used to register a callback function that will handle the result. Callback functions are called automatically when
BatchResults.Close
is called.
SendBatch Uses Pipeline Mode When Appropriate
Previously, a batch with 10 unique parameterized statements executed 100 times would entail 11 network round trips. 1 for each prepare / describe and 1 for executing them all. Now pipeline mode is used to prepare / describe all statements in a single network round trip. So it would only take 2 round trips.
Tracing and Logging
Internal logging support has been replaced with tracing hooks. This allows custom tracing integration with tools like OpenTelemetry. Package tracelog provides an adapter for pgx v4 loggers to act as a tracer.
All integrations with 3rd party loggers have been extracted to separate repositories. This trims the pgx dependency tree.
v4.18.3
v4.18.2
v4.18.1
v4.18.0
v4.17.2
v4.17.1
v4.17.0
v4.16.1
v4.16.0
v4.15.0
v4.14.1
v4.14.0
v4.13.0
v4.12.0
v4.11.0
prometheus/client_golang (github.com/prometheus/client_golang)
v1.19.0
What's Changed
The module prometheus/common v0.48.0
introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0
or higher, please update client_golang to v1.19.0.
- [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445 #1449
- [FEATURE] collectors: Add version collector. #1422 #1427
New Contributors
- @michurin made their first contribution in https://github.com/prometheus/client_golang/pull/1423
- @kavu made their first contribution in https://github.com/prometheus/client_golang/pull/1445
- @ywwg made their first contribution in https://github.com/prometheus/client_golang/pull/1448
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0
v1.18.0
What's Changed
- [FEATURE] promlint: Allow creation of custom metric validations. #1311
- [FEATURE] Go programs using client_golang can be built in wasip1 OS. #1350
- [BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #1367
- [BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #1378
- [ENHANCEMENT] Improved performance of
MetricVec.WithLabelValues(...)
. #1360
New Contributors
- @srenatus made their first contribution in https://github.com/prometheus/client_golang/pull/1350
- @jadolg made their first contribution in https://github.com/prometheus/client_golang/pull/1342
- @manas-rust made their first contribution in https://github.com/prometheus/client_golang/pull/1383
- @bluekeyes made their first contribution in https://github.com/prometheus/client_golang/pull/1378
- @tsipo made their first contribution in https://github.com/prometheus/client_golang/pull/1387
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0
v1.17.0
What's Changed
- [CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). #1325
- [FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. #1313
- [ENHANCEMENT] Enable detection of a native histogram without observations. #1314
Commits
- Merge v1.16.0 to main by @bwplotka in https://github.com/prometheus/client_golang/pull/1293
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1297
- ci: define minimal permissions to GitHub workflows by @diogoteles08 in https://github.com/prometheus/client_golang/pull/1295
- Do not allocate memory when there's no constraints by @Okhoshi in https://github.com/prometheus/client_golang/pull/1296
- Bump golang.org/x/sys from 0.8.0 to 0.9.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1306
- Bump google.golang.org/grpc from 1.45.0 to 1.53.0 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1307
- histogram: Enable detection of a native histogram without observations by @beorn7 in https://github.com/prometheus/client_golang/pull/1314
- Bump github.com/prometheus/procfs from 0.10.1 to 0.11.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1305
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1302
- Fix data-race in metric without
code
andmethod
but withWithLabelFromCtx
by @tigrato in https://github.com/prometheus/client_golang/pull/1318 - Add missing tick "`" in README by @ZiViZiViZ in https://github.com/prometheus/client_golang/pull/1321
- Bump golang.org/x/sys from 0.9.0 to 0.10.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1320
- Bump github.com/prometheus/procfs from 0.11.0 to 0.11.1 by @dependabot in https://github.com/prometheus/client_golang/pull/1319
- docs: trivial grammar fixes to improve readability in promauto Godoc by @sengi in https://github.com/prometheus/client_golang/pull/1322
- Add Go 1.21 support by @kakkoyun in https://github.com/prometheus/client_golang/pull/1325
- Bump client_model by @ArthurSens in https://github.com/prometheus/client_golang/pull/1323
- histogram docs: Fixed minor nit. by @bwplotka in https://github.com/prometheus/client_golang/pull/1324
- Update building by @SuperQ in https://github.com/prometheus/client_golang/pull/1326
- Bump golang.org/x/sys from 0.10.0 to 0.11.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1331
- Bump github.com/prometheus/client_golang from 1.15.1-0.20230416215738-0963f595c689 to 1.16.0 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1329
- Bump github.com/prometheus/client_golang from 1.13.1 to 1.16.0 in /examples/middleware by @dependabot in https://github.com/prometheus/client_golang/pull/1328
- Bump github.com/prometheus/common from 0.42.0 to 0.44.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1284
- Bump github.com/prometheus/common from 0.42.0 to 0.44.0 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1330
- Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1304
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1332
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1338
- Cleanup golangci-lint errcheck by @SuperQ in https://github.com/prometheus/client_golang/pull/1339
- Add go_godebug_non_default_behavior_tlsmaxrsasize_events_total by @alexandear in https://github.com/prometheus/client_golang/pull/1348
- Extend Counters, Summaries and Histograms with creation timestamp by @ArthurSens in https://github.com/prometheus/client_golang/pull/1313
- Fix typos in comments, tests, and errors by @alexandear in https://github.com/prometheus/client_golang/pull/1346
- Deprecated comment should begin with "Deprecated:" by @alexandear in https://github.com/prometheus/client_golang/pull/1347
- Add changelog entry for 1.17 by @ArthurSens in https://github.com/prometheus/client_golang/pull/1352
New Contributors
- @diogoteles08 made their first contribution in https://github.com/prometheus/client_golang/pull/1295
- @tigrato made their first contribution in https://github.com/prometheus/client_golang/pull/1318
- @ZiViZiViZ made their first contribution in https://github.com/prometheus/client_golang/pull/1321
- @sengi made their first contribution in https://github.com/prometheus/client_golang/pull/1322
- @ArthurSens made their first contribution in https://github.com/prometheus/client_golang/pull/1323
- @alexandear made their first contribution in https://github.com/prometheus/client_golang/pull/1348
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0
v1.16.0
What's Changed
- [BUGFIX] api: Switch to POST for LabelNames, Series, and QueryExemplars. #1252
- [BUGFIX] api: Fix undefined execution order in return statements. #1260
- [BUGFIX] native histograms: Fix bug in bucket key calculation. #1279
- [ENHANCEMENT] Reduce constrainLabels allocations for all metrics. #1272
- [ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. #1278
- [ENHANCEMENT] promlint: Improve metricUnits runtime. #1286
Commits
- Merge v1.15 to main by @bwplotka in https://github.com/prometheus/client_golang/pull/1250
- Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback by @jacksontj in https://github.com/prometheus/client_golang/pull/1252
-
✏ ️ [collectors]: fix typo in test assertion by @vegerot in https://github.com/prometheus/client_golang/pull/1153 - Added interactive tutorial [kubeCon] by @bwplotka in https://github.com/prometheus/client_golang/pull/1255
- Fixed tutorial. by @bwplotka in https://github.com/prometheus/client_golang/pull/1256
- Bump golang.org/x/sys from 0.6.0 to 0.7.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1265
- Cleanup proto use in tests by @SuperQ in https://github.com/prometheus/client_golang/pull/1264
- Fix tutorial on WSL-based systems by @marevers in https://github.com/prometheus/client_golang/pull/1257
- Fix undefined execution order in return statements by @PiotrLewandowski323 in https://github.com/prometheus/client_golang/pull/1260
- Merge release 1.15.1 to main by @bwplotka in https://github.com/prometheus/client_golang/pull/1267
- GitHub Workflows security hardening by @sashashura in https://github.com/prometheus/client_golang/pull/1180
- add process start time header to client_golang prometheus by @logicalhan in https://github.com/prometheus/client_golang/pull/1278
- Fix bug in bucket key calculation by @beorn7 in https://github.com/prometheus/client_golang/pull/1279
- Bump github.com/prometheus/procfs from 0.9.0 to 0.10.1 by @dependabot in https://github.com/prometheus/client_golang/pull/1283
- Reduce constrainLabels allocations by @khasanovbi in https://github.com/prometheus/client_golang/pull/1272
- added circleci as gh action YAML by @krishnaduttPanchagnula in https://github.com/prometheus/client_golang/pull/1281
- Improve metricUnits runtime by @avlitman in https://github.com/prometheus/client_golang/pull/1286
- Moving fully to GH actions. by @bwplotka in https://github.com/prometheus/client_golang/pull/1288
- Fix docstring references to renamed native histogram fields / functions. by @juliusv in https://github.com/prometheus/client_golang/pull/1290
- Fixed README & CHANGELOG; Added fmt makefile command (+bingo) for easier contributions. by @bwplotka in https://github.com/prometheus/client_golang/pull/1289
New Contributors
- @vegerot made their first contribution in https://github.com/prometheus/client_golang/pull/1153
- @marevers made their first contribution in https://github.com/prometheus/client_golang/pull/1257
- @PiotrLewandowski323 made their first contribution in https://github.com/prometheus/client_golang/pull/1260
- @sashashura made their first contribution in https://github.com/prometheus/client_golang/pull/1180
- @logicalhan made their first contribution in https://github.com/prometheus/client_golang/pull/1278
- @khasanovbi made their first contribution in https://github.com/prometheus/client_golang/pull/1272
- @krishnaduttPanchagnula made their first contribution in https://github.com/prometheus/client_golang/pull/1281
- @avlitman made their first contribution in https://github.com/prometheus/client_golang/pull/1286
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0
v1.15.1
Changes
- [BUGFIX] Fixed promhttp.Instrument* handlers wrongly trying to attach exemplar to unsupported metrics (e.g. summary),
causing panics #1253
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1
v1.15.0
Changed
[BUGFIX] Fix issue with atomic variables on ppc64le #1171
[BUGFIX] Support for multiple samples within same metric #1181
[BUGFIX] Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 #1187
[ENHANCEMENT] Add exemplars and middleware examples #1173
[ENHANCEMENT] Add more context to "duplicate label names" error to enable debugging #1177
[ENHANCEMENT] Add constrained labels and constrained variant for all MetricVecs #1151
[ENHANCEMENT] Moved away from deprecated github.com/golang/protobuf package #1183
[ENHANCEMENT] Add possibility to dynamically get label values for http instrumentation #1066
[ENHANCEMENT] Add ability to Pusher to add custom headers #1218
[ENHANCEMENT] api: Extend and improve efficiency of json-iterator usage #1225
[ENHANCEMENT] Added (official) support for go 1.20 #1234
[ENHANCEMENT] timer: Added support for exemplars #1233
[ENHANCEMENT] Filter expected metrics as well in CollectAndCompare #1143
[ENHANCEMENT]
All commits
- Merge release 1.14 to main by @bwplotka in https://github.com/prometheus/client_golang/pull/1164
- Fix typo in doc comment by @beorn7 in https://github.com/prometheus/client_golang/pull/1166
- Fix issue with atomic variables on ppc64le by @beorn7 in https://github.com/prometheus/client_golang/pull/1171
- examples: Add exemplars and middleware examples by @jessicalins in https://github.com/prometheus/client_golang/pull/1173
- Add context to "duplicate label names" to enable debugging by @SpencerMalone in https://github.com/prometheus/client_golang/pull/1177
- Add constrained labels and Constrained variant for all MetricVecs by @Okhoshi in https://github.com/prometheus/client_golang/pull/1151
- Support for multiple samples within same metric by @machadovilaca in https://github.com/prometheus/client_golang/pull/1181
- Replace deprecated github.com/golang/protobuf package by @zhsj in https://github.com/prometheus/client_golang/pull/1183
- Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 by @b4bay in https://github.com/prometheus/client_golang/pull/1187
- typo fix by @ibreakthecloud in https://github.com/prometheus/client_golang/pull/1178
- Add possibility to dynamically get label values for http instrumentation by @Okhoshi in https://github.com/prometheus/client_golang/pull/1066
- Bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1199
- Bump github.com/prometheus/procfs from 0.8.0 to 0.9.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1198
- Bump golang.org/x/sys from 0.3.0 to 0.4.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1217
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1213
- Bump github.com/prometheus/common from 0.37.0 to 0.39.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1197
- Add
Header
method to Pusher for custom header by @songjiayang in https://github.com/prometheus/client_golang/pull/1218 - Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1224
- api: Extend and improve json-iterator usage by @beorn7 in https://github.com/prometheus/client_golang/pull/1225
- Indent example in godoc consistently by @lamida in https://github.com/prometheus/client_golang/pull/1226
- Remove unnecessary check if label is nil in observeWithExemplar by @dimonl in https://github.com/prometheus/client_golang/pull/1235
- README: Remove not working gocoverage images. by @bwplotka in https://github.com/prometheus/client_golang/pull/1236
- Added support for go 1.20. by @bwplotka in https://github.com/prometheus/client_golang/pull/1234
- timer: Added support for exemplars. by @bwplotka in https://github.com/prometheus/client_golang/pull/1233
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1237
- Filter expected metrics as well in CollectAndCompare by @DariaKunoichi in https://github.com/prometheus/client_golang/pull/1143
- Only set start/end if time is not Zero by @jacksontj in https://github.com/prometheus/client_golang/pull/1238
- Bump google.golang.org/protobuf from 1.28.1 to 1.30.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1243
- Bump golang.org/x/sys from 0.5.0 to 0.6.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1246
- Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 by @dependabot in https://github.com/prometheus/client_golang/pull/1245
- Bump github.com/prometheus/common from 0.41.0 to 0.42.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1244
- Cut v1.15.0 by @bwplotka in https://github.com/prometheus/client_golang/pull/1249
New Contributors
- @SpencerMalone made their first contribution in https://github.com/prometheus/client_golang/pull/1177
- @Okhoshi made their first contribution in https://github.com/prometheus/client_golang/pull/1151
- @machadovilaca made their first contribution in https://github.com/prometheus/client_golang/pull/1181
- @b4bay made their first contribution in https://github.com/prometheus/client_golang/pull/1187
- @ibreakthecloud made their first contribution in https://github.com/prometheus/client_golang/pull/1178
- @songjiayang made their first contribution in https://github.com/prometheus/client_golang/pull/1218
- @lamida made their first contribution in https://github.com/prometheus/client_golang/pull/1226
- @dimonl made their first contribution in https://github.com/prometheus/client_golang/pull/1235
- @DariaKunoichi made their first contribution in https://github.com/prometheus/client_golang/pull/1143
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0
stretchr/testify (github.com/stretchr/testify)
v1.9.0
What's Changed
- Fix Go modules version by @SuperQ in https://github.com/stretchr/testify/pull/1394
- Document that require is not safe to call in created goroutines by @programmer04 in https://github.com/stretchr/testify/pull/1392
- Remove myself from MAINTAINERS.md by @mvdkleijn in https://github.com/stretchr/testify/pull/1367
- Correct spelling/grammar by @echarrod in https://github.com/stretchr/testify/pull/1389
- docs: Update URLs in README by @davidjb in https://github.com/stretchr/testify/pull/1349
- Update mockery link to Github Pages in README by @LandonTClipp in https://github.com/stretchr/testify/pull/1346
- docs: Fix typos in tests and comments by @alexandear in https://github.com/stretchr/testify/pull/1410
- CI: tests from go1.17 by @SuperQ in https://github.com/stretchr/testify/pull/1409
- Fix adding ? when no values passed by @lesichkovm in https://github.com/stretchr/testify/pull/1320
- codegen: use standard header for generated files by @dolmen in https://github.com/stretchr/testify/pull/1406
- mock: AssertExpectations log reason only on failure by @hikyaru-suzuki in https://github.com/stretchr/testify/pull/1360
- assert: fix flaky TestNeverTrue by @dolmen in https://github.com/stretchr/testify/pull/1417
- README: fix typos "set up" vs "setup" by @ossan-dev in https://github.com/stretchr/testify/pull/1428
- mock: move regexp compilation outside of
Called
by @aud10slave in https://github.com/stretchr/testify/pull/631 - assert: refactor internal func getLen() by @dolmen in https://github.com/stretchr/testify/pull/1445
- mock: deprecate type AnythingOfTypeArgument (#1434) by @dolmen in https://github.com/stretchr/testify/pull/1441
- Remove no longer needed assert.canConvert by @alexandear in https://github.com/stretchr/testify/pull/1470
- assert: ObjectsAreEqual: use time.Equal for time.Time types by @tscales in https://github.com/stretchr/testify/pull/1464
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/stretchr/testify/pull/1466
- Bump actions/setup-go from 3.2.0 to 4.1.0 by @dependabot in https://github.com/stretchr/testify/pull/1451
- fix: make EventuallyWithT concurrency safe by @czeslavo in https://github.com/stretchr/testify/pull/1395
- assert: fix httpCode and HTTPBody occur panic when http.Handler read Body by @hidu in https://github.com/stretchr/testify/pull/1484
- assert.EqualExportedValues: fix handling of arrays by @zrbecker in https://github.com/stretchr/testify/pull/1473
- .github: use latest Go versions by @kevinburkesegment in https://github.com/stretchr/testify/pull/1489
- assert: Deprecate EqualExportedValues by @HaraldNordgren in https://github.com/stretchr/testify/pull/1488
- suite: refactor test assertions by @alexandear in https://github.com/stretchr/testify/pull/1474
- suite: fix SetupSubTest and TearDownSubTest execution order by @linusbarth in https://github.com/stretchr/testify/pull/1471
- docs: Fix deprecation comments for http package by @alexandear in https://github.com/stretchr/testify/pull/1335
- Add map support doc comments to Subset and NotSubset by @jedevc in https://github.com/stretchr/testify/pull/1306
- TestErrorIs/TestNotErrorIs: check error message contents by @craig65535 in https://github.com/stretchr/testify/pull/1435
- suite: fix subtest names (fix #1501) by @dolmen in https://github.com/stretchr/testify/pull/1504
- assert: improve unsafe.Pointer tests by @dolmen in https://github.com/stretchr/testify/pull/1505
- assert: simplify isNil implementation by @dolmen in https://github.com/stretchr/testify/pull/1506
- assert.InEpsilonSlice: fix expected/actual order and other improvements by @dolmen in https://github.com/stretchr/testify/pull/1483
- Fix dependency cycle with objx #1292 by @dolmen in https://github.com/stretchr/testify/pull/1453
- mock: refactor TestIsArgsEqual by @dolmen in https://github.com/stretchr/testify/pull/1444
- mock: optimize argument matching checks by @dolmen in https://github.com/stretchr/testify/pull/1416
- assert: fix TestEventuallyTimeout by @dolmen in https://github.com/stretchr/testify/pull/1412
- CI: add go 1.21 in GitHub Actions by @dolmen in https://github.com/stretchr/testify/pull/1450
- suite: fix recoverAndFailOnPanic to report test failure at the right location by @dolmen in https://github.com/stretchr/testify/pull/1502
- Update maintainers by @brackendawson in https://github.com/stretchr/testify/pull/1533
- assert: Fix EqualValues to handle overflow/underflow by @arjunmahishi in https://github.com/stretchr/testify/pull/1531
- assert: better formatting for Len() error by @kevinburkesegment in https://github.com/stretchr/testify/pull/1485
- Ensure AssertExpectations does not fail in skipped tests by @ianrose14 in https://github.com/stretchr/testify/pull/1331
- suite: fix deadlock in suite.Require()/Assert() by @arjunmahishi in https://github.com/stretchr/testify/pull/1535
- Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by @brackendawson in https://github.com/stretchr/testify/pull/1537
- [chore] Add issue templates by @arjunmahishi in https://github.com/stretchr/testify/pull/1538
- Update the build status badge by @brackendawson in https://github.com/stretchr/testify/pull/1540
- Update Github workflows setup-go to V5 by @hendrywiranto in https://github.com/stretchr/testify/pull/1545
- Support Pointer to Struct in EqualExportedValues by @Lucaber in https://github.com/stretchr/testify/pull/1517
- README: drop link to gorc by @guettli in https://github.com/stretchr/testify/pull/1248
- http_assertions: honour the msgAndArgs provided with each assertion by @arjunmahishi in https://github.com/stretchr/testify/pull/1548
- fix typos in comments and tests by @ccoVeille in https://github.com/stretchr/testify/pull/1247
- Include the auto-release notes in releases by @brackendawson in https://github.com/stretchr/testify/pull/1550
- Add
NotImplements
and variants by @hslatman in https://github.com/stretchr/testify/pull/1385 - Add support to compare uintptr by @bogdandrutu in https://github.com/stretchr/testify/pull/1339
- build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by @dependabot in https://github.com/stretchr/testify/pull/1552
New Contributors
- @SuperQ made their first contribution in https://github.com/stretchr/testify/pull/1394
- @programmer04 made their first contribution in https://github.com/stretchr/testify/pull/1392
- @echarrod made their first contribution in https://github.com/stretchr/testify/pull/1389
- @davidjb made their first contribution in https://github.com/stretchr/testify/pull/1349
- @LandonTClipp made their first contribution in https://github.com/stretchr/testify/pull/1346
- @alexandear made their first contribution in https://github.com/stretchr/testify/pull/1410
- @lesichkovm made their first contribution in https://github.com/stretchr/testify/pull/1320
- @dolmen made their first contribution in https://github.com/stretchr/testify/pull/1406
- @hikyaru-suzuki made their first contribution in https://github.com/stretchr/testify/pull/1360
- @ossan-dev made their first contribution in https://github.com/stretchr/testify/pull/1428
- @aud10slave made their first contribution in https://github.com/stretchr/testify/pull/631
- @tscales made their first contribution in https://github.com/stretchr/testify/pull/1464
- @czeslavo made their first contribution in https://github.com/stretchr/testify/pull/1395
- @hidu made their first contribution in https://github.com/stretchr/testify/pull/1484
- @zrbecker made their first contribution in https://github.com/stretchr/testify/pull/1473
- @kevinburkesegment made their first contribution in https://github.com/stretchr/testify/pull/1489
- @linusbarth made their first contribution in https://github.com/stretchr/testify/pull/1471
- @jedevc made their first contribution in https://github.com/stretchr/testify/pull/1306
- @craig65535 made their first contribution in https://github.com/stretchr/testify/pull/1435
- @arjunmahishi made their first contribution in https://github.com/stretchr/testify/pull/1531
- @ianrose14 made their first contribution in https://github.com/stretchr/testify/pull/1331
- @hendrywiranto made their first contribution in https://github.com/stretchr/testify/pull/1545
- @Lucaber made their first contribution in https://github.com/stretchr/testify/pull/1517
- @guettli made their first contribution in https://github.com/stretchr/testify/pull/1248
- @ccoVeille made their first contribution in https://github.com/stretchr/testify/pull/1247
- @hslatman made their first contribution in https://github.com/stretchr/testify/pull/1385
- @bogdandrutu made their first contribution in https://github.com/stretchr/testify/pull/1339
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0
v1.8.4
What's Changed
- Create GitHub release when new release tag is pushed by @aldas in https://github.com/stretchr/testify/pull/1354
New Contributors
- @aldas made their first contribution in https://github.com/stretchr/testify/pull/1354
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4
v1.8.3
What's Changed
- Compare public elements of struct by @mchlp in https://github.com/stretchr/testify/pull/1309
- assert: fix error message formatting for NotContains by @wwade in https://github.com/stretchr/testify/pull/1362
- allow testing for functional options by @nbaztec in https://github.com/stretchr/testify/pull/1023
- add EventuallyWithT assertion by @tobikris in https://github.com/stretchr/testify/pull/1264
- EqualExportedValues: Handle nested pointer, slice and map fields by @HaraldNordgren in https://github.com/stretchr/testify/pull/1379
New Contributors
- @mchlp made their first contribution in https://github.com/stretchr/testify/pull/1309
- @wwade made their first contribution in https://github.com/stretchr/testify/pull/1362
- @nbaztec made their first contribution in https://github.com/stretchr/testify/pull/1023
- @tobikris made their first contribution in https://github.com/stretchr/testify/pull/1264
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3
prometheus-community/helm-charts (kube-prometheus-stack)
v58.1.1
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
What's Changed
- [kube-prometheus-stack] bump to 0.73.1 by @DrFaust92 in https://github.com/prometheus-community/helm-charts/pull/4450
Full Changelog: https://github.com/prometheus-community/helm-charts/compare/prometheus-pushgateway-2.11.0...kube-prometheus-stack-58.1.1
v58.1.0
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
What's Changed
- [kube-prometheus-stack] Thanos Ruler: Add alertDropLabels + additional config by @jkroepke in https://github.com/prometheus-community/helm-charts/pull/4445
Full Changelog: https://github.com/prometheus-community/helm-charts/compare/prometheus-blackbox-exporter-8.15.0...kube-prometheus-stack-58.1.0
v58.0.1
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
What's Changed
- [kube-promettheus-stack] ThanosRuler custom resource instance name by @than-pet in https://github.com/prometheus-community/helm-charts/pull/4439
Full Changelog: https://github.com/prometheus-community/helm-charts/compare/prometheus-blackbox-exporter-8.14.0...kube-prometheus-stack-58.0.1
v58.0.0
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
What's Changed
- [kube-prometheus-stack] bump operator 0.73.0 by @DrFaust92 in https://github.com/prometheus-community/helm-charts/pull/4422
Full Changelog: https://github.com/prometheus-community/helm-charts/compare/prometheus-pgbouncer-exporter-0.3.0...kube-prometheus-stack-58.0.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.