Skip to content

Commit 3bcbd9f

Browse files
committed
chore: prepare v0.1.2 release — pre-generate protobuf modules
Move the protoc build-time dep removal into its own release so behavioral changes to the consumer build flow are clearly attributed. v0.1.1 stays scoped to the jason dep drop + README cleanup.
1 parent 2971ac0 commit 3bcbd9f

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ All notable changes to this project are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.1.1]
8+
## [Unreleased]
9+
10+
## [0.1.2]
911

1012
### Changed
1113

@@ -14,15 +16,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1416
files: [...]`. **Downstream consumers no longer need `protoc` installed** to
1517
compile the SDK. `protoc` is only required for maintainers regenerating the
1618
modules after a `.proto` change (run `mix gen_protos`). The `protos/` source
17-
files are no longer included in the Hex package.
19+
files are kept in the package so consumers can inspect the schema.
20+
- **Removed the `protoc` build-time requirement** from the README installation
21+
instructions (no longer needed thanks to pre-generated modules).
22+
23+
## [0.1.1]
24+
25+
### Changed
26+
1827
- **Dropped the `jason` dependency** in favor of the built-in `JSON` module
1928
(Elixir 1.20+). All encode/decode call sites in `lib/` and `test/` now use
2029
`JSON.encode!/1` / `JSON.decode/1`. `jason` remains only as a transitive
2130
dependency of `req` and `ex_doc`.
2231
- **Removed the redundant License section** from the README; the MIT LICENSE
2332
file now ships with the package and is linked via the badge.
24-
- **Removed the `protoc` build-time requirement** from the README installation
25-
instructions (no longer needed thanks to pre-generated modules).
2633

2734
## [0.1.0] — Initial beta release
2835

@@ -114,6 +121,7 @@ The SDK is feature-complete against the upstream protocol for the pinned
114121
- `Longbridge.TradeContext`: 95.9%.
115122
- `Longbridge.QuoteContext.RealtimeStore`: 100%.
116123

117-
[Unreleased]: https://github.com/gilbertwong96/longbridge/compare/v0.1.1...HEAD
124+
[Unreleased]: https://github.com/gilbertwong96/longbridge/compare/v0.1.2...HEAD
125+
[0.1.2]: https://github.com/gilbertwong96/longbridge/compare/v0.1.1...v0.1.2
118126
[0.1.1]: https://github.com/gilbertwong96/longbridge/compare/v0.1.0...v0.1.1
119127
[0.1.0]: https://github.com/gilbertwong96/longbridge/releases/tag/v0.1.0

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule Longbridge.MixProject do
44
def project do
55
[
66
app: :longbridge,
7-
version: "0.1.1",
7+
version: "0.1.2",
88
elixir: "~> 1.20",
99
start_permanent: Mix.env() == :prod,
1010
package: package(),
@@ -147,7 +147,7 @@ defmodule Longbridge.MixProject do
147147
"Upstream" => "https://github.com/longbridge/longbridge",
148148
"Longbridge" => "https://open.longbridge.com"
149149
},
150-
files: ~w[lib .formatter.exs mix.exs README.md CHANGELOG.md LICENSE]
150+
files: ~w[lib protos .formatter.exs mix.exs README.md CHANGELOG.md LICENSE]
151151
]
152152
end
153153
end

0 commit comments

Comments
 (0)