Skip to content

Commit edbb5fd

Browse files
committed
Add a DEPRECATIONS file if any advance warning is needed
1 parent ad1eb73 commit edbb5fd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

DEPRECATIONS.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# API Deprecations
2+
This file lists any deprecated function in the `mq-golang` repository.
3+
4+
Current API version for the `ibmmq` and `mqmetric` packages is **v5**.
5+
6+
Removal of function will only happen with a major version
7+
change.
8+
9+
**Note:** There is no date currently planned for a new major release.
10+
11+
## In next major version
12+
The following interfaces are planned to be removed:
13+
#### Package ibmmq
14+
* PutDate and PutTime fields in the MQMD and MQDLH structures
15+
* Replacement is the single PutDateTime time.Time type
16+
17+
#### Package mqmetric
18+
* Remove direct access to xxxStatus variables.
19+
* Use GetObjectStatus() instead
20+
21+
The replacement APIs are already available in the v5 stream.
22+
23+
## Previous deprecations
24+
None so far.

0 commit comments

Comments
 (0)