chore: release 4.3.1#542
Merged
Merged
Conversation
#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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge main into release to publish 4.3.1.
Changes in 4.3.1
Added
macroeconomic_indicators(country, offset, limit)— list macroeconomic indicators viaGET /v1/quote/macrodata; filter byMacroeconomicCountry(HK/CN/US/EU/JP/SG); response includescountmacroeconomic(indicator_code, start_date, end_date, offset, limit)— historical data for a specific indicator; response includescountMultiLanguageText,MacroeconomicCountry,MacroeconomicImportance,MacroeconomicIndicator,MacroeconomicIndicatorListResponse,Macroeconomic,MacroeconomicResponseFixed
MacroeconomicIndicator.describe/name/MacroeconomicResponse.info: handlenullAPI responses