v5.9.0
lego is an independent, free, and open-source project, if you value it, consider supporting it! ❤️
Everybody thinks that the others will donate, but in the end, nobody does.
So if you think that lego is worth it, please consider donating.
For key updates, see the changelog.
- 55a4d388734d336e84479957373a386945a7ef94 Add DNS provider for Cloud.ru Evolution (#3439)
- f9ff3400b6d8c2ba306aeea1055ad30abcca2b88 Add DNS provider for Contabo (#3429)
- 7b4cd87b83939e352a116571db870a0ec82ce5ec Add DNS provider for Muumuu Domain (#3435)
- 5e53d16d723836056b5740ce077341cee13b6e44 Add DNS provider for Nanelo (#3437)
- 42ca89736b50ebf4deb7a2d07c4f8511064d54df Add DNS provider for NodeRings (#3421)
- 92332dafbf6099eae35818d036fb184de10310b8 Add DNS provider for Noris Network (#3433)
- 3a8bfaa7051f5c9cec71887e85f5b0bf3422a0a1 Add DNS provider for site.eu (#3431)
- 484732625a8cf9b1dd61db739d73b808cd768136 Add DNS providers for Gransy related brands (#3434)
- 679fc0d8ff583a6bba6eaaf64ee73befbc908930 dinahosting: fix error handling (#3430)
- 682cda039c6395d7c1fcaa77d90e5ad361437654 feat(cli): use EC384 (P384) as default key types (#3441)
go-cad v0.1.0
Go 模块首次发布版本,提供 DWG/DXF 解析、PNG/SVG 渲染、图框拆分、文字提取和 DWG/DXF 写出。
- 支持单页及按图框拆分的多页矢量 PDF,支持图名书签。
- 支持将部分二维 CAD 图元导出为 GeoJSON Point/LineString,保留图层和源实体信息,提供 Go API 与
dwg2geojson命令。 - 增加图元跳过、块展开和曲线近似的诊断与完整性统计。
- 标准 GeoJSON 的 WGS 84 转换由调用方提供;CLI 的
-wgs84要求输入坐标本身已经是 WGS 84,-cad-local则输出本地平面坐标。 - GeoJSON 首版不会自动将闭合轮廓转成面,也不导出文字、填充或三维高程等内容;不完整导出会提供诊断,CLI 写出部分结果时返回非零状态。
- MINSERT 阵列不支持以 DWG/DXF 写出;写出到普通 writer 发生错误时可能已写入部分内容,建议使用临时文件并在成功后替换。
- PDF 文本以路径输出,不能直接选中复制;中文渲染需可用字体。
安装:go get github.com/unitedrhino/go-cad@v0.1.0
v5.3.1
This release contains improvements and bug fixes.
- US-2138 Faster text extraction on tagged PDFs:
extractor.Newno longer loads the whole structure tree for every page, and ActualText is looked up from an index of the ParentTree, which now also finds ActualText in ParentTree number trees, nested structure elements and form or appearance streams - US-2075 Signature validation judges the signer's certificate chain at the time of a covering trusted document timestamp when the signature has no timestamp of its own, so PAdES-LTA documents signed at level B keep validating after the signer certificate expires
- US-2142 Predefined CMaps are parsed once per process and shared between fonts, and the PDF/A font check no longer keeps every font of the document loaded at once
- US-2074 Documented that a
PdfFontbelongs to one document at a time: concurrent creators each need their own font
- US-2165 Fixed UniPDF v5.3.0 failing to build for Windows and
js/wasm - US-2098 US-2136 US-2139 Fixed cyclic, shared and deeply nested page trees, form fields and structure trees hanging the reader, multiplying load and write work, or crashing it with a stack overflow: cycles and repeated subtrees are cut, the page tree is walked without recursion, and form field and structure tree walks stop at 1024 levels
- US-2140 US-2143 Fixed a small ToUnicode or CMap stream being able to allocate without limit or never finish through large
cidrangeandbfrangesections: range expansion is now bounded and counts toward the per-pageMaxDecodedPageSizelimit,bfrangeentries above 0xFFFF are kept instead of clamped, andcidrangeentries with a bad start are rejected - US-2099 Fixed chained or failing stream
/Lengthreferences multiplying the parse work - US-2124 Fixed panics on annotation appearance streams with missing or indirect
/Resourcesduring text extraction withIncludeAnnotations, and on readers whose structure failed to load after decryption:GetNumPagesandGetPagenow return an error for such a reader - US-1937 Fixed indirect objects referenced by the encryption dictionary, such as public-key
/Recipientsstrings, being decrypted after authentication and written back corrupted by the writer or appender - US-2123 Fixed DocMDP validation being skipped for certifications whose
/Referencearray also holds FieldMDP or UR3, for a missing/P, and for a certifying field nested under/Kids; validation now also reports objects freed in a later revision - US-2084 Fixed a signature timestamp signed by a TSA certificate that is itself a trust root being reported as revocation status good without any check; it is now reported as unknown, so with
RequireRevocationStatusthe token is ignored - US-1921 Fixed form fill values being decoded differently depending on the field type and data source: values are decoded uniformly as PDF text strings, raw UTF-8 in FDF files is read as UTF-8, and the new
core.PdfObjectString.IsUTF16BEreports whether a string is UTF-16BE text - US-2068 Fixed
GetAttachedFilesnot reading attachments from an EmbeddedFiles name tree split into/Kids, and failing on a filespec without/Descor an embedded file without/Params - US-2008 Fixed template pages named by the
/Templatesname tree being written as null; the/Templatestree is now written back - US-2017 Fixed the table of contents being left untagged when
DrawTaggedis first called from a page callback, header or footer - US-2086 Fixed creator SVGs being blank in MuPDF and the UniPDF renderer
- US-2073 Fixed SVG fill, stroke and text colors: named colors such as
greenandgraywere written out of range, andrgb(),rgba(), opacity andcurrentColorare now parsed consistently and inherited through the SVG tree - US-2087 Fixed gradients on a rotated
StyledParagraphbeing painted in the wrong place - US-2085 Fixed justified
StyledParagraphlines that end in a line break, such as<br/>or lines in<pre>, being stretched across the page - US-2062 Fixed drop caps being lost with
SetMaxLinesand left out of the paragraph height, and grid rows holding paragraphs not being padded like table rows - US-2081 Fixed
ParseTemplatemodifying and keeping the caller'sTemplateOptions, which made concurrentDrawTemplatecalls sharing one options value race
v0.24.3
Fix: the errors of remote still showed the address of the browser, with its token, in two cases. An address that did not parse gave the error of url.Parse, which quotes the whole address. A dial that failed wrapped the error of net/http, which quoted the address with its query and user, in its message and in the URL of the *url.Error. Now the dialer hides the user, the query and the fragment of the address in every error that it returns or wraps, and an address that does not parse gives its reason with no quoted text. errors.Is and errors.As still find the cause. Onsi Fakhouri found the cases and sent the fix in discussion #1651.
v0.24.2
Change: remote.NewAllocator rewrites only a bare address of the debugging port of Chrome, such as ws://127.0.0.1:9222/. It asks /json/version only when the address has no query and a path of "", "/", "/json" or "/json/version". It asks over https for wss, and sends no query. If the answer is not 200 OK, it connects to the address as it is. Any other address, such as the complete address of a hosted service with a path or a query of its own, is used as it is. A wss address keeps its host name, so TLS works. A missing webSocketDebuggerUrl is now an error and not a panic, and the error of a failed dial no longer shows the query of the address, which can hold a token. Discussion #1650 reported the case.
Removed: remote.NoModifyURL. No address needs it. Remove it from the call of remote.NewAllocator.
v5.4.0
This release tightens parsing and validation. Tokens that were accepted before may now be rejected:
- Tokens with line breaks (CR or LF) in any segment are now rejected as malformed (#553).
MapClaimswithexpset to0is now treated as expired, not as a missing claim (#509).- An
audclaim of an invalid type inMapClaimsnow returnsErrInvalidType(#511).
- Constants for registered header parameter names, such as
HeaderAlgorithmandHeaderKeyID(#535).
- The token expired error now says how long ago the token expired (#510).
- @TarasHots made their first contribution in https://github.com/golang-jwt/jwt/pull/510
- @c-tonneslan made their first contribution in https://github.com/golang-jwt/jwt/pull/509
- @ultramcu made their first contribution in https://github.com/golang-jwt/jwt/pull/511
Full Changelog: https://github.com/golang-jwt/jwt/compare/v5.3.1...v5.4.0
v5.8.2
lego is an independent, free, and open-source project, if you value it, consider supporting it! ❤️
Everybody thinks that the others will donate, but in the end, nobody does.
So if you think that lego is worth it, please consider donating.
For key updates, see the changelog.
- 35e266037604491fa829a5eb6270e225095982fb dreamhost: use API v1 (#3416)
v0.24.1
Fix: an attach to a target that exists, with WithTargetID, raced with the DOM events of the page. newTarget loaded the document into the nodes of the frame on the goroutine of the caller, while the target read the nodes on its own goroutine without the lock of the frame. The target now reads the nodes only under the lock. arthurdls reported it in discussion #1649, with a test that needs no browser.
Update cdproto to v0.160.12.
v5.8.1
lego is an independent, free, and open-source project, if you value it, consider supporting it! ❤️
Everybody thinks that the others will donate, but in the end, nobody does.
So if you think that lego is worth it, please consider donating.
For key updates, see the changelog.
- 9c0e12bec0b4fb5ebad622532acfd1c3d753769c fix(gandiv5): clean up when existing TXT records (#3412)
v5.8.0
lego is an independent, free, and open-source project, if you value it, consider supporting it! ❤️
Everybody thinks that the others will donate, but in the end, nobody does.
So if you think that lego is worth it, please consider donating.
For key updates, see the changelog.
- 79bdf5f21c503542fb5c344a358b944eb1288143 Add DNS provider for Shellrent v3 (#3407)
- d693115a8b8433441877f441c7568d65db716c4b feat: follow order processing Retry-After (#3399)
- 12e462120738adc0195ef00552abb3cdba03a0d1 fix: RegisterWithExternalAccountBinding error (#3403)
- c9a9246f15b6b41b057e6c35cce91d60bfa5d398 tests: more real data (#3400)