-
Depedency updates -
Dependency Old Version New Version vertx 4.0.0 4.2.3 clojure 1.10.1 1.10.3 spec.alpha 0.2.187 0.3.218 clojure.logging 1.1.0 1.2.3 junit 5.7.0 5.8.2 jsonista 0.3.0 0.3.5 slf4j 1.7.30 1.7.32 logback 1.2.3 1.2.8 mockito 3.6.28 3.12.4 ring-json 0.5.0 0.5.1 ring-core 1.8.2 1.9.4
- Enhancement. Added
follow-redirectsoption when creating a client. - Removed logback.xml and other unnecessary files from the final jar.
- Enhancement. Added support for returning
java.io.Fileand Ring response body. Issue #17. - Enhancement. Added support for defining static resources via a
:resourcesmap when creating a server. The map used when callingdonkey/create-servercan include either:routes,:resourcesor both. At least one of them is required. Issue #17. - Enhancement. Added a
destroyfunction toIDonkeyprotocol, which releases all the resources associated with instance. Issue #19.
- Bug fix.
remote-addrfield in Ring request map includes client port.
- Moved from Travis CI to GitHub Actions
- Debug mode is now set when creating a
Donkeyinstance rather than creating aDonkeyServerorDonkeyClient. This fixes issues where enabling debug mode on the server / client and not on the other would sometimes disable debug mode for both. - Turned on Clojure spec assertions
- Global exception handler - In debug mode, a stack trace is added to the exception if it doesn't include one.
- Fixed release script not pushing changes to GitHub.
- Added support for user-defined error handlers when creating a server. The
server options support a new field -
:error-handlers. Users can supply a map of http-status-code -> handler-function.
version-bump.shscript was removed in favor of:version-change.shUpdate the project to a new version.dev-branch.shCreate a new development branch according to an input version.release.shUsed to remove-SNAPSHOTsuffix from project version, add a release tag, and deploy to clojars.org.
- Updated the
README.mddocumentation. - Added GitHub issue templates.
- Added TCP configuration options to
com.appsflyer.donkey.core/create-server:tcp-no-delaytcp-quick-acktcp-fast-opensocket-linger-secondsaccept-backlog
- Change default client connection idle timeout from 60 to 30 seconds.
- Dependency updates
| Dependency | Old Version | New Version |
|---|---|---|
| vertx | 3.9.4 | 4.0.0 |
| junit | 5.6.2 | 5.7.0 |
| jsonista | 0.2.7 | 0.3.0 |
| mockito | 3.4.6 | 3.6.28 |
| jetbrains/annotations | 13.0 | 20.1.0 |
| ring-core | 1.8.1 | 1.8.2 |