Skip to content

Commit 4d0f347

Browse files
committed
chore: prepare CHANGELOG for v5.1.2 release
1 parent 82ba321 commit 4d0f347

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99
### Breaking Change
1010

1111
### Fixed
12-
- Fixed Windows source builds against Node.js 26 failing with `LINK : fatal error LNK1117: syntax error in option 'opt:lldltojobs=2'`. Node 26 was built with clang-cl + lld + ThinLTO (PR [nodejs/node#63114](https://github.com/nodejs/node/pull/63114), released in v26.3.0), and node-gyp's `create-config-gypi.js` seeds the addon's `config.gypi` from `process.config` of the running Node binary — picking up `enable_thin_lto: true` and `lto_jobs: <n>` from how Node itself was built. Node's installed `common.gypi` then unconditionally appends `-flto=thin` to MSVC `cl.exe`'s `AdditionalOptions` and `/opt:lldltojobs=<n>` to `link.exe`'s. MSVC ignores `-flto=thin` (warning) but rejects `/opt:lldltojobs=<n>` because `/OPT:` only accepts `REF/ICF/NOREF/NOICF/LBR/NOLBR`. Force them off via `npm_config_enable_thin_lto=false` + `npm_config_enable_lto=false` in the Windows build script, which node-gyp forwards as `-Denable_thin_lto=false` gyp defines (top precedence — `binding.gyp` `variables` don't override `config.gypi`'s, they're a separate gyp scope).
1312

1413
### Added
1514

1615
### Changed
1716

17+
## [5.1.2] - 2026-06-08
18+
19+
### Fixed
20+
- Fixed Windows source builds against Node.js 26 failing with `LINK : fatal error LNK1117: syntax error in option 'opt:lldltojobs=2'`. Node 26 was built with clang-cl + lld + ThinLTO (PR [nodejs/node#63114](https://github.com/nodejs/node/pull/63114), released in v26.3.0), and node-gyp's `create-config-gypi.js` seeds the addon's `config.gypi` from `process.config` of the running Node binary — picking up `enable_thin_lto: true` and `lto_jobs: <n>` from how Node itself was built. Node's installed `common.gypi` then unconditionally appends `-flto=thin` to MSVC `cl.exe`'s `AdditionalOptions` and `/opt:lldltojobs=<n>` to `link.exe`'s. MSVC ignores `-flto=thin` (warning) but rejects `/opt:lldltojobs=<n>` because `/OPT:` only accepts `REF/ICF/NOREF/NOICF/LBR/NOLBR`. Force them off via `npm_config_enable_thin_lto=false` + `npm_config_enable_lto=false` in the Windows build script, which node-gyp forwards as `-Denable_thin_lto=false` gyp defines (top precedence — `binding.gyp` `variables` don't override `config.gypi`'s, they're a separate gyp scope).
21+
1822
## [5.1.1] - 2026-06-05
1923

2024
### Fixed
@@ -543,7 +547,8 @@ Special Thanks to [@koskokos2](https://github.com/koskokos2) for their contribut
543547
- Improved code style, started using prettier
544548
## [1.2.0] - 2017-08-28
545549

546-
[Unreleased]: https://github.com/JCMais/node-libcurl/compare/v5.1.1...HEAD
550+
[Unreleased]: https://github.com/JCMais/node-libcurl/compare/v5.1.2...HEAD
551+
[5.1.2]: https://github.com/JCMais/node-libcurl/compare/v5.1.1...v5.1.2
547552
[5.1.1]: https://github.com/JCMais/node-libcurl/compare/v5.1.0...v5.1.1
548553
[5.1.0]: https://github.com/JCMais/node-libcurl/compare/v5.0.2...v5.1.0
549554
[5.0.2]: https://github.com/JCMais/node-libcurl/compare/v5.0.1...v5.0.2

0 commit comments

Comments
 (0)