The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
- FIXED: Some weak support issues
- FIXED: Some warnings
- FIXED: Enabled bitcode
- FIXED: Missing weak for DTAccessibilityElement and view proxy
- FIXED: [Demo] About VC didn't set correct content inset
- FIXED: Select correct fallbackFont with matching traits when multiple are available
- FIXED: Check for default font
- NEW: [Demo] Demonstrate dark/light mode adjustment on About Box
Announcement: https://www.cocoanetics.com/2021/06/dtcoretext-1-6-26/
- FIXED: URLs containing CJK characters are not parsed
- FIXED: iOS 13 openURL crash
- FIXED: References to deprecated classes
- FIXED: Cannot parse CSS with empty font-family
- FIXED: iOS 14 warnings
- NEW: Swift Package Manager Support
Announcement: https://www.cocoanetics.com/2020/08/dtcoretext-1-6-25/
tbd
Version 1.6.23
4 years ago
tbd
Version 1.6.22
4 years ago
Please [read the announcement](https://www.cocoanetics.com/2019/06/dtcoretext-1-6-22/) for a summary of changes to this maintenance release.
Version 1.6.21
6 years ago
- ADDED: Support for <p> text-indent
- ADDED: Support `width` attribute in percent for text attachments
- ADDED: Ability to abort HTML parsing
- ADDED: Archiving
- ADDED: Improved support for macOS
- FIXED: Incorrect file name in import should be `DTCSSStylesheet.h`
- FIXED: HTML generation with multi-line links
- FIXED: Do not add 'Apple-converted-space' to attributed string when processing custom HTML attributes
- FIXED: Ignore list style shorthands that are not strings
- FIXED: Wrong attributed substring passed to generic custom view when using truncation
- FIXED: Avoid unnecessary drawing of DTAttributedTextContentView if it is being deallocated
- FIXED: Changing properties on `DTCoreTextLayoutFrame` would not update layout, resulting in incorrect sizing information being returned
Announcement: https://www.cocoanetics.com/2017/08/dtcoretext-1-6-21/
Version 1.6.20
7 years ago
- FIXED: Crash when img tag had an invalid file URL to an animated GIF
- FIXED: Superfluos import for framework-based umbrella header causing build issues
- FIXED: Link will be nil when cleanString contains Chinese characters
- FIXED: DTCoreTextLayoutFrame memory leak
- FIXED: Certain truncations might cause a crash
- FIXED: Skip unpaired bracket } & fix NSUInteger underflow in CSS parser
- FIXED: Space to “apple converted space span” conversion for 2 spaces
- FIXED: Text range for text block (for drawing background rectangle) might be computed incorrectly
- FIXED: Crash with IFRAME src attribute had less than 2 characters
- ADDED: Look for `DTCoreTextFontOverrides.plist` in the main bundle if its not found in the local bundle
- ADDED: Expanded character decoding support in stringByReplacingHTMLEntities
Announcement: https://www.cocoanetics.com/2017/02/dtcoretext-1-6-20/
Version 1.6.19
7 years ago
- FIXED: Incompatibility with iOS 7, using containsString
- FIXED: Memory Leak in `DTLazyImageView`, using `NSURLSession`
- FIXED: [Demo] When loading remote images the relayout needs to be done on next runloop
- FIXED: Incorrect tabulator used for list items
- FIXED: In `default.css` P tags had a `-webkit-margin-before` (which gets parsed since 1.6.18) causing superfluous extra space before paragraphs
Announcement: https://www.cocoanetics.com/2016/10/dtcoretext-1-6-19/
Version 1.6.18
7 years ago
- ADDED: tvOS Support
- ADDED: Property to better support display remote images with DTAttributedTextCell
- ADDED: Extension sub spec (which removes some things that cannot be used in Extensions)
- ADDED: Parse margin-top as paragraphSpacingBefore
- ADDED: Support for list style with roman numerals
- ADDED: 10% performance increase parsing CSS styles that only have a single part
- ADDED: Usage of custom font name via CSS in programming guide
- FIXED: Potential crash on iOS 10 from more strict CoreText functions
- FIXED: Crash when list-style-image was not a string
- FIXED: Crash when comparing lines and one of them was nil
- FIXED: Several Xcode 8 build warnings
- FIXED: All deprecation warnings related to CoreText text alignment constants
- FIXED: NSURLConnection deprecation by using NSURLSessionDataTask instead
- FIXED: Deprecation warnings related to percentEncoding, replaced with HTML entity encoding
- FIXED: Several Carthage build problems
Announcement: https://www.cocoanetics.com/2016/09/dtcoretext-1-6-18/
Version 1.6.17
8 years ago
Changes
- ADDED: Line truncation
- ADDED: Minimum and maximum line heights
- ADDED: Ability to change paragraph tag name
- ADDED: Support for use in app extension
- FIXED: Build error for integrating via sub-project
- FIXED: CTLineUtils compiler warnings
- FIXED: Setup Guide for sub-project integration
- FIXED: Missing paragraph style for text attachments
- CHANGED: Updated to DTFoundation 1.6.9
Annoucement: https://www.cocoanetics.com/2015/12/dtcoretext-1-6-17/