Skip to content

Commit a97c398

Browse files
committed
updated server data model and documentation
1 parent b47a04d commit a97c398

4 files changed

Lines changed: 176 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# Changelog
2+
3+
## 1.7.4
4+
5+
* fixed server data model
6+
* added more documentation to the library
7+
8+
## 1.7.3
9+
10+
* update package to use for mime
11+
* use only core of the apache tika
12+
13+
## 1.7.2
14+
15+
* switched to default java logging
16+
* switched from mimeutil library to apache tika for file type detection
17+
* small type updates
18+
19+
## 1.7.0
20+
21+
* removed jaxb bindings
22+
* updated log library
23+
* added more message creation tests
24+
* updated jersey version to 2.33
25+
26+
## 1.5.7
27+
28+
* small model update
29+
30+
## 1.5.6
31+
32+
* clients can be retrieved with custom API url now
33+
34+
## 1.5.5
35+
36+
* remove obsolete test
37+
38+
## 1.5.3
39+
40+
* Errors that come from Postmark API will contain error code from now on
41+
* Error handler is separated from http client handler
42+
* Message details endpoint supports parameters usage
43+
44+
## 1.5.2
45+
46+
* sending has an option to choose message stream now
47+
* fixed issue with templates not having option to attach files with content id (used mostly for inline images)
48+
49+
## 1.5.0
50+
51+
* updated jersey version and Bounce ID to long type
52+
53+
## 1.2.4
54+
55+
* bounce tag endpoint is no longer supported
56+
57+
## 1.2.3
58+
59+
* fixed Jackson 2.10.0 library with Java 11 usage
60+
61+
## 1.2.2
62+
63+
* added webhook management support
64+
* improved test coverage
65+
* improved type model
66+
67+
## 1.2.1
68+
69+
* updated jackson version to resolve security issue
70+
* added template layouts support
71+
* fix date deserializing issue with some of the inbound messages
72+
73+
## 1.2.0
74+
75+
* tiny update to dependency model for Jackson
76+
77+
## 1.1.9
78+
79+
* added template pushes support
80+
81+
## 1.1.8
82+
83+
* add support for using metadata to sending email with template
84+
85+
## 1.1.6
86+
87+
* updated message model to new metadata format
88+
89+
## 1.1.5
90+
91+
* updated version - for easy backporting to jersey1x for users using old version of jersey
92+
93+
## 1.1.4
94+
95+
* disable logging by default, allow users to customize it
96+
97+
## 1.1.3
98+
99+
* improved adding attachments for templates endpoint
100+
101+
## 1.1.2
102+
103+
* better support for adding attachments to email message
104+
105+
## 1.1.1
106+
107+
* force jackson annotations to be the same as jackson provider
108+
109+
## 1.1
110+
111+
* added verifyDomainDKIM endpoint to client
112+
* added verifyDomainReturnPath endpoint to client
113+
* template feature updates
114+
* added support for managing templates by Alias
115+
* added support for batch sending templates
116+
* model for bounces, opens, clicks, delivery updated with "RecordType" support
117+
* inbound webhooks have "rawEmail" support now
118+
* updated Jackson (JSON object handler) to latest stable version (2.9.5) - this should resolve parsing issues with "fractional" timezones
119+
* object model changed to use interfaces instead of implementations for lists and maps
120+
* deprecated "deliverMessage" API client call for templates, use "deliverMessageWithTemplate" instead
121+
* added new integration tests
122+
123+
## 1.0.5
124+
125+
* added support for boolean parameters
126+
127+
## 1.0.4
128+
129+
* added separate inbound object for webhook for clearer naming
130+
131+
## 1.0.2
132+
133+
* fixed link tracking constant values
134+
135+
## 1.0.1
136+
137+
* small fix in object serilization:
138+
139+
## 1.0.0
140+
141+
* official first release

RELEASE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<a href="https://postmarkapp.com">
2+
<img src="postmark.png" alt="Postmark Logo" title="Postmark" width="120" height="120" align="right">
3+
</a>
4+
5+
# Release process
6+
7+
When releasing a new version of the library, make sure to follow these steps:
8+
9+
Pre-release recommendations:
10+
11+
* Make sure to check if there are any styling or code errors
12+
13+
Release steps:
14+
15+
1. Make sure the tests pass for your branch in CI
16+
1. Merge your branch to master
17+
1. Determine the next version of the library by following the [SemVer](https://semver.org/) guidelines
18+
1. Update version pom.xml
19+
1. Compile the latest version
20+
1. Make sure the tests pass locally
21+
1. Update CHANGELOG.md with the latest release details
22+
1. Push the changes to Github and wait for tests to pass in CI
23+
1. Push the changes to maven repository and release
24+
1. Update any related content in the [Github wiki](https://github.com/wildbit/postmark-java/wiki)
25+
1. Add release version in the [Github releases](https://github.com/wildbit/postmark-java/releases) so it has a tag.

SECURITY.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
We try to apply security updates as fast as possible.
6+
7+
## Reporting a Vulnerability
8+
9+
To report vulnerability we advise you to report it in Issues section.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</developers>
2424

2525
<properties>
26-
<postmark.version>1.7.3</postmark.version>
26+
<postmark.version>1.7.4</postmark.version>
2727
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2828
<java.version>1.8</java.version>
2929
<jackson.minimum.version>2.9.7</jackson.minimum.version>

0 commit comments

Comments
 (0)