Skip to content

chore: release 4.3.1#542

Merged
hogan-yuan merged 2 commits into
releasefrom
main
Jun 11, 2026
Merged

chore: release 4.3.1#542
hogan-yuan merged 2 commits into
releasefrom
main

Conversation

@hogan-yuan

Copy link
Copy Markdown
Member

Merge main into release to publish 4.3.1.

Changes in 4.3.1

Added

  • All languages: macroeconomic_indicators(country, offset, limit) — list macroeconomic indicators via GET /v1/quote/macrodata; filter by MacroeconomicCountry (HK/CN/US/EU/JP/SG); response includes count
  • All languages: macroeconomic(indicator_code, start_date, end_date, offset, limit) — historical data for a specific indicator; response includes count
  • New types: MultiLanguageText, MacroeconomicCountry, MacroeconomicImportance, MacroeconomicIndicator, MacroeconomicIndicatorListResponse, Macroeconomic, MacroeconomicResponse

Fixed

  • MacroeconomicIndicator.describe / name / MacroeconomicResponse.info: handle null API responses

hogan-yuan and others added 2 commits June 10, 2026 19:25
#541)

## Problem

`windows-latest` runner was upgraded to VS2026 (MSBuild 18.6.3), which
generates a different `.sln` filename than VS2022. The Makefile.toml had
`longbridge.sln` hardcoded, causing:

```
MSBUILD : error MSB1009: Project file does not exist.
Switch: longbridge.sln
```

## Fix

Replace `msbuild longbridge.sln` with `cmake --build .` in
`c/Makefile.toml` and `cpp/Makefile.toml`. `cmake --build` delegates to
the underlying build system and doesn't depend on the `.sln` filename.

**Before:**
```toml
[tasks.c.windows]
command = "msbuild"
args = ["longbridge.sln", "-p:Configuration=Debug", "/t:cargo-build_longbridge_c"]
```

**After:**
```toml
[tasks.c.windows]
command = "cmake"
args = ["--build", ".", "--config", "Debug", "--target", "cargo-build_longbridge_c"]
```

This change is backward-compatible with VS2022 and works with any cmake
generator.

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…hods (#540)

## Summary

Two new methods on `FundamentalContext` across all language SDKs (Rust,
Python, Node.js, Java):

- `macroeconomic_indicators(country, offset, limit)` — `GET
/v1/quote/macrodata` — list macroeconomic indicators; filter by country;
response includes `count` (total matching)
- `macroeconomic(indicator_code, start_date, end_date, offset, limit)` —
`GET /v1/quote/macrodata/{indicator_code}` — historical data for a
specific indicator; `start_date` / `end_date` accept `"YYYY-MM-DD"`
strings; response includes `count` (total data points)

## New Types

| Type | Description |
|------|-------------|
| `MultiLanguageText` | Localized text (English / Simplified Chinese /
Traditional Chinese) |
| `MacroeconomicCountry` | Country filter enum: `HongKong` / `China` /
`UnitedStates` / `EuroZone` / `Japan` / `Singapore` (SDK accepts short
codes, converts to full names for API) |
| `MacroeconomicImportance` | Importance level: `Low=1` / `Medium=2` /
`High=3` |
| `MacroeconomicIndicator` | Indicator metadata (code, country,
category, periodicity, importance, etc.) |
| `MacroeconomicIndicatorListResponse` | `data:
Vec<MacroeconomicIndicator>` + `count: i32` |
| `Macroeconomic` | One historical data point (period,
actual/previous/forecast/revised values, release timestamps, unit) |
| `MacroeconomicResponse` | `info: MacroeconomicIndicator` + `data:
Vec<Macroeconomic>` + `count: i32` |

## Fixes

- `MacroeconomicIndicator.describe` / `name` /
`MacroeconomicResponse.info`: handle `null` API responses without
deserializing error

## Related

- Go SDK: longbridge/openapi-go#99

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@hogan-yuan hogan-yuan merged commit 3c2dc01 into release Jun 11, 2026
206 of 229 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant