Skip to content

Commit b84e6fb

Browse files
committed
chore: prepare v0.2.1 release — paginate loop state
1 parent 7a39149 commit b84e6fb

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ 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.2.1]
9+
10+
### Fixed
11+
12+
- **`mix credo --strict` `FunctionArity` finding**
13+
`Longbridge.QuoteContext.paginate/9` took 9 parameters, exceeding
14+
the max-8 limit and causing the strict Credo run to exit with rc=8.
15+
The two loop-state arguments (`acc`, `seen`) have been collapsed
16+
into a single `state` map, dropping the arity to 8. Public API is
17+
unchanged.
18+
819
## [0.2.0]
920

1021
### Added
@@ -137,6 +148,7 @@ The SDK is feature-complete against the upstream protocol for the pinned
137148
- `Longbridge.TradeContext`: 95.9%.
138149
- `Longbridge.QuoteContext.RealtimeStore`: 100%.
139150

151+
[0.2.1]: https://github.com/gilbertwong96/longbridge/compare/v0.2.0...v0.2.1
140152
[0.2.0]: https://github.com/gilbertwong96/longbridge/compare/v0.1.2...v0.2.0
141153
[0.1.2]: https://github.com/gilbertwong96/longbridge/compare/v0.1.1...v0.1.2
142154
[0.1.1]: https://github.com/gilbertwong96/longbridge/compare/v0.1.0...v0.1.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Add `longbridge` to your `mix.exs`:
1919
```elixir
2020
def deps do
2121
[
22-
{:longbridge, "~> 0.2.0"}
22+
{:longbridge, "~> 0.2.1"}
2323
]
2424
end
2525
```

mix.exs

Lines changed: 1 addition & 1 deletion
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.2.0",
7+
version: "0.2.1",
88
elixir: "~> 1.20",
99
start_permanent: Mix.env() == :prod,
1010
package: package(),

0 commit comments

Comments
 (0)