Releases: alpacahq/alpaca-java
Releases · alpacahq/alpaca-java
Release list
v0.1.3
Breaking
Adopting the upstream Broker and Trading documents, which are now OpenAPI 3.1.2 rather than 3.0.0,
changed two parts of the generated API surface.
- Broker
EventsApi.subscribeToFundingStatusSSEnow returnsList<StatusFundingEvent>, and
BrokerEventsSseClient.subscribeToFundingStatusemitsStatusFundingEvent. The
SubscribeToFundingStatusSSE200ResponseInnerwrapper is removed; it only ever held a
single-member union and now collapses to the member itself. - Broker and Trading
OrderLeg.getLegs()returnsObjectrather thanList<Object>, and
addLegsItemis gone. Upstream now declares the property as null-only, matching its existing
documentation that legs are never nested beyond one level.
Fixed
- Preprocessing now normalizes the OpenAPI 3.1 constructs that the Java generator renders into
uncompilable or under-typed code, so adopting a 3.1 document no longer silently degrades the
generated clients:- A standalone
type: 'null'schema became aModelNullclass the generator never emitted,
breaking compilation. Null-only subschemas ofanyOf/oneOfare left alone, since those
are the idiomatic 3.1 spelling of "nullable" and already generate correctly. - A schema with
itemsand notypeis no longer read as an array, which had turned Broker
FundingWalletsApi.listFundingDetailsinto a bareObject. - A
oneOfof string enums is collapsed back into one enum, keeping BrokerJournalStatusFrom
andTransferStatusFromas enums instead ofAbstractOpenApiSchemawrappers. - Path-item parameters are inlined into each operation ahead of the operation's own parameters,
which had otherwise duplicated BrokercreateTransferForAccount'saccount_idinto a second
accountId2argument and reorderedgetOrderByClientOrderIdForAccount's arguments.
- A standalone
Changed
- GitHub Releases now use the curated
CHANGELOG.mdsection for the tag (with a
non-empty[Unreleased]fallback), then append GitHub’s compare link for the
tag range. The release workflow fails before Maven Central if neither section
has content, and the post-release bump PR promotes[Unreleased]to a dated
version section when needed.
Full Changelog: v0.1.2...v0.1.3
v0.1.2
What's Changed
- chore: start 0.1.2-SNAPSHOT development by @carlostasada in #27
- fix: open release version-bump pull requests by @carlostasada in #28
- chore(deps): bump com.gradleup.nmcp.settings from 1.4.4 to 1.6.1 by @dependabot[bot] in #29
- chore(deps): bump org.openapi.generator from 7.23.0 to 7.24.0 by @dependabot[bot] in #30
- chore(deps): bump actions/setup-java from 5.5.0 to 5.6.0 by @dependabot[bot] in #32
- chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #31
- chore(deps): bump com.diffplug.spotless from 8.8.0 to 8.9.0 by @dependabot[bot] in #33
- chore(deps): bump body-parser from 1.20.5 to 1.20.6 in /docs by @dependabot[bot] in #35
- chore(deps): bump webpack-dev-server from 5.2.5 to 5.2.6 in /docs by @dependabot[bot] in #36
- chore(deps): bump fast-uri from 3.1.2 to 3.1.5 in /docs by @dependabot[bot] in #38
- chore(deps): bump svgo from 3.3.3 to 3.3.4 in /docs by @dependabot[bot] in #37
- chore(deps): bump postcss from 8.5.15 to 8.5.25 in /docs by @dependabot[bot] in #39
- chore(deps): bump actions/setup-java from 5.6.0 to 5.7.0 by @dependabot[bot] in #40
- chore(deps): bump @docusaurus/preset-classic from 3.10.1 to 3.10.2 in /docs by @dependabot[bot] in #41
- chore(deps): bump @fortawesome/fontawesome-free from 7.2.0 to 7.3.1 in /docs by @dependabot[bot] in #44
- chore(deps): bump @easyops-cn/docusaurus-search-local from 0.55.2 to 0.55.3 in /docs by @dependabot[bot] in #42
- Pin OpenAPI specs and commit generated clients for reviewable API drift by @carlostasada in #34
- chore(deps): bump undici from 7.28.0 to 7.29.0 in /docs by @dependabot[bot] in #45
- chore(deps): bump brace-expansion from 1.1.15 to 1.1.18 in /docs by @dependabot[bot] in #46
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
- Initial release of the Alpaca Java client SDK.
- Generated REST API clients for Alpaca Trading, Market Data, and Broker APIs.
- Authenticated client factories and shared HTTP, pagination, and asynchronous helper utilities.
- WebSocket streaming clients for stocks, crypto, news, and trading updates.
- Broker trade-event SSE support.
- Type-safe monetary values using
BigDecimalin handwritten streaming models. - Examples and read-only integration tests for REST, streaming, and broker workflows.
- Maven Central publishing with source and Javadoc artifacts.
Full Changelog: https://github.com/alpacahq/alpaca-java/commits/v0.1.1