Skip to content

Commit 988d2f0

Browse files
committed
release: v13.11.8
1 parent c72cd47 commit 988d2f0

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

apps/core/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [13.11.8](https://github.com/mx-space/core/compare/v13.11.7...v13.11.8) (2026-06-28)
2+
3+
4+
### Bug Fixes
5+
6+
* **stock:** switch bars source from Twelve Data to Polygon.io ([c72cd47](https://github.com/mx-space/core/commit/c72cd47bdebdf29f75efc728135f77ca117d3c2d))
7+
18
## [13.11.7](https://github.com/mx-space/core/compare/v13.11.6...v13.11.7) (2026-06-28)
29

310

apps/core/RELEASE_NOTES.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
## TL;DR
22

3-
Hotfix for v13.11.6: restores the `stock_quote` / `stock_bars` / `geocode_search` / `geocode_location` serverless built-ins so the `apikey` / `key` query parameter actually reaches Twelve Data and Amap.
3+
Swaps the `stock_bars` serverless built-in from Twelve Data to Polygon.io after Twelve Data moved hourly intraday for individual symbols behind its Grow/Venture plan.
44

55
## Changes
66

77
### Bug Fixes
88

9-
- **serverless**: v13.11.6 routed Twelve Data and Amap calls through `axios.get(url, { params })`, but the sandbox's bundled `axios` was a thin `fetch` wrapper that silently dropped the `params` config — so the API key was never appended to the URL and both providers responded with *"parameter is incorrect or not specified"*. All five built-ins (`stock_quote`, `stock_bars`, `geocode_search`, `geocode_location`, `ip-query`) now use the global `fetch` + `URLSearchParams`, and the fake-axios stub plus its `HttpAxios` / `HttpService` type surface have been removed from the sandbox — `fetch` is the supported HTTP egress ([b34034e](https://github.com/mx-space/core/commit/b34034e3a5ab892b0b6edc6b29f170af54d4b4e2)).
9+
- **stock**: rewrite `stock_bars` against the Polygon.io aggregates endpoint (`/v2/aggs/ticker/.../range/{mult}/{span}/{from}/{to}`); display meta (exchange, name, currency) is now resolved through `/v3/reference/tickers/{sym}` with a 24h cache. A new `thirdPartyServiceIntegration.polygon` config section (Settings → Third-party integrations) holds the API key. The wire shape (`{ meta, bars }`), cache key, and TTLs are unchanged, so `@mx-space/api-client` and `apps/admin` need no updates ([c72cd47](https://github.com/mx-space/core/commit/c72cd47bdebdf29f75efc728135f77ca117d3c2d)).
1010

1111
## Upgrade Notes
1212

13-
If you maintain a custom serverless snippet that called `ctx.getService('http').axios.*`, replace those calls with the global `fetch` (with `URLSearchParams` for query strings) or `require('axios')` to install the real axios package.
13+
After upgrading, open Settings → Third-party integrations → **Polygon.io**, enable it, and paste a Polygon.io API key (the free tier covers 5 req/min and 2 years of history, which is sufficient for the rich-editor stock K-line block). The legacy **Twelve Data** field is retained for `stock_quote`, which still uses Twelve Data and will be migrated in a follow-up release.
1414

1515
---
1616

17-
**Full Changelog**: https://github.com/mx-space/core/compare/v13.11.6...v13.11.7
17+
**Full Changelog**: https://github.com/mx-space/core/compare/v13.11.7...v13.11.8

apps/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mx-space/core",
3-
"version": "13.11.7",
3+
"version": "13.11.8",
44
"type": "module",
55
"private": true,
66
"engines": {

0 commit comments

Comments
 (0)