Skip to content

Commit

Permalink
Merge pull request #144 from jvirtanen/releases/1.2.0
Browse files Browse the repository at this point in the history
Prepare Philadelphia 1.2.0 release
  • Loading branch information
jvirtanen authored Mar 2, 2020
2 parents 528d785 + 944b057 commit bbd0ab4
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
62 changes: 62 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,67 @@
# Release Notes

## 1.2.0 (2020-03-03)

See the [upgrade instructions](UPGRADE-1.2.0.md).

- Improve MsgType(35) handling (Jonathan Heusser, Jussi Virtanen)

When checking for SequenceReset(4), check the first byte of the MsgType(35)
value before checking its length. This avoids one conditional check for most
messages.

Remove a dead branch from the MsgType(35) switch statement following the
MsgSeqNum(34) handling.

- Fix `send` command in Philadelphia Terminal Client (Jussi Virtanen)

Make it possible to send a message containing a field with whitespace
characters.

- Improve `FIXValue#asFloat` and `FIXValue#setFloat` (Jussi Virtanen)

- Improve `FIXValueTest` (Jussi Virtanen)

- Improve `FIXConfigTest` (Jan Nielsen)

- Add example script for Philadelphia Terminal Client (Jussi Virtanen)

- Mark `FIXValue#asCheckSum()` as deprecated (Jussi Virtanen)

- Improve Philadelphia Terminal Client documentation (Jussi Virtanen)

- Improve `FIXMessageParserBenchmark` (Jussi Virtanen)

Add a benchmark for when the incoming CheckSum(10) check is disabled.

- Improve `FIXMessageParser` (Jussi Virtanen)

Having the incoming CheckSum(10) check in a separate method makes message
parsing 9.6% faster in the performance test when the incoming CheckSum(10)
check is disabled and 3.7% faster when it is enabled.

Inlining parsing of BeginString(8), BodyLength(9), and CheckSum(10) tags
makes message parsing further 5.9% faster in the performance test when the
incoming CheckSum(10) check is disabled and 6.1% faster when it is enabled.

- Fix `wait` command in Philadelphia Terminal Client (Jussi Virtanen)

The `wait` command looked at received messages at an interval, stopping if
the last received message had a matching MsgType(35) value. If two or more
messages were received within one interval, the `wait` command might have
missed a matching MsgType(35) value and erroneously continued waiting.

- Remove transitive Joda-Time dependency (Jussi Virtanen)

Replace the transitive Joda-Time 2.10.5 dependency with a Joda-Time 2.x
dependency. This makes it possible for applications to manage their Joda-Time
2.x and Philadelphia Core dependencies independently.

- Improve `FIXValue#asTimeOnly` (Jussi Virtanen)

Set the fields all at once rather than one by one. This makes the method 33%
faster.

## 1.1.1 (2019-06-25)

- Fix message header buffer handling (Jussi Virtanen)
Expand Down
18 changes: 18 additions & 0 deletions UPGRADE-1.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Upgrading to Philadelphia 1.2.0

Philadelphia 1.2.0 contains a change in its dependency management.

Philadelphia Core 1.2.0 replaces the transitive Joda-Time 2.10.2 dependency
with a Joda-Time 2.x dependency. This makes it possible for applications to
manage their Joda-Time 2.x and Philadelphia Core dependencies independently.

If you do not already use Joda-Time 2.x in your application, you need to add
a Maven dependency to it. For example:

```xml
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.10.5</version>
</dependency>
```
1 change: 1 addition & 0 deletions scripts/archive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CHANGELOG.md
LICENSE.txt
README.md
UPGRADE-1.0.0.md
UPGRADE-1.2.0.md
applications/client/README.md
applications/client/etc/example.conf
applications/client/etc/example.txt
Expand Down

0 comments on commit bbd0ab4

Please sign in to comment.