Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 19fc434

Browse files
authored
Deprecate the library (#152)
1 parent 4785e31 commit 19fc434

File tree

4 files changed

+26
-13
lines changed

4 files changed

+26
-13
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ All notable changes to this library are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this library adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased](https://github.com/fluentassert/verify/compare/v1.2.0...HEAD)
8+
## [1.3.0](https://github.com/fluentassert/verify/releases/tag/v1.2.0) - 2025-02-17
9+
10+
### Deprecated
11+
12+
- Deprecate the whole library. Avoid using assertion libraries.
13+
Use the standard library and [github.com/google/go-cmp/cmp](https://pkg.go.dev/github.com/google/go-cmp/cmp)
14+
instead. Follow the official [Go Test Comments](https://go.dev/wiki/TestComments).
915

1016
## [1.2.0](https://github.com/fluentassert/verify/releases/tag/v1.2.0) - 2024-09-10
1117

README.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# fluentassert
22

3-
> Extensible, type-safe, fluent assertion Go library.
3+
> [!CAUTION]
4+
> [Avoid using assertion libraries](https://go.dev/wiki/TestComments#assert-libraries).
5+
> Instead, use [`go-cmp`](https://github.com/google/go-cmp)
6+
> and write custom test helpers.
7+
> Using the popular [`testify`](https://github.com/stretchr/testify)
8+
> may be also an acceptable choice,
9+
> especially together with [`testifylint`](https://github.com/Antonboom/testifylint)
10+
> to avoid common mistakes.
11+
> Use this library if you still want to.
12+
> Consider yourself warned.
413
514
[![Go Reference](https://pkg.go.dev/badge/github.com/fluentassert/verify.svg)](https://pkg.go.dev/github.com/fluentassert/verify)
615
[![Keep a Changelog](https://img.shields.io/badge/changelog-Keep%20a%20Changelog-%23E05735)](CHANGELOG.md)
@@ -22,17 +31,6 @@ The generics (type parameters) make the usage type-safe.
2231

2332
The library is [extensible](#extensibility) by design.
2433

25-
> [!CAUTION]
26-
> [Avoid using assertion libraries](https://go.dev/wiki/TestComments#assert-libraries).
27-
> Instead, use [`go-cmp`](https://github.com/google/go-cmp)
28-
> and write custom test helpers.
29-
> Using the popular [`testify`](https://github.com/stretchr/testify)
30-
> may be also an acceptable choice,
31-
> especially together with [`testifylint`](https://github.com/Antonboom/testifylint)
32-
> to avoid common mistakes.
33-
> Use this library if you still want to.
34-
> Consider yourself warned.
35-
3634
### Quick start
3735

3836
```go

doc.go

+6
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@
55
//
66
// At last, you may embed a Fluent* type
77
// to extend it with additional assertion functions.
8+
//
9+
// Deprecated: avoid using assertion libraries.
10+
// Use the standard library and [github.com/google/go-cmp/cmp] instead.
11+
// Follow the official [Go Test Comments].
12+
//
13+
// [Go Test Comments]: https://go.dev/wiki/TestComments
814
package verify

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Deprecated: avoid using assertion libraries.
2+
// Use the standard library and github.com/google/go-cmp/cmp instead.
3+
// Follow the official Go Test Comments: https://go.dev/wiki/TestComments.
14
module github.com/fluentassert/verify
25

36
go 1.18

0 commit comments

Comments
 (0)