Releases: orchetect/swift-textfile
Releases · orchetect/swift-textfile
0.5.2
Compare
Sorry, something went wrong.
No results found
Maintenance
Removed .swift-version file which was causing build failures when using the swiftly toolchain manager
Added CI build job for Android
0.5.1
Compare
Sorry, something went wrong.
No results found
New
PlainTextFile: Added data(includeBOM:) method
PlainTextFile: Added write(to:includeBOM:) method
StringTableRepresentable: Added data(encoding:includeBOM:) method
StringTableRepresentable: Added write(to:encoding:includeBOM:) method
String.Encoding: Added byteOrderMark property
Improved
DelimitedTextFormat: init?(fileExtension:): File extension string comparison is now case-insensitive
TextFileDecodingStrategy: Now conforms to Equatable and Hashable
Changed
Bumped package toolchain to Swift 6.0
Bumped minimum platform requirements to macOS 10.13, iOS 12, tvOS 12 , watchOS 4
PlainTextFile: Properties are now mutable
PlainTextFile: Removed url property
StringTableRepresentable: init(rawData:encoding:): Renamed to init(data:encoding:)
StringTableRepresentable: init(rawText:): Renamed to init(text:)
0.5.0
Compare
Sorry, something went wrong.
No results found
New
Added new ByteOrderMark enum
Added new PlainTextFile struct to read text files with text encoding auto-detection
StringTable: Expanded initializers to allow specifying text encoding
StringTable: Added columnIndex(withName:caseInsensitive:trimWhitespace:) method
Improved
Text encoding auto-detection is now vastly improved
CSV and TSV are now Equatable, Hashable, and Sendable
Several small bugfixes
Changed
StringTable: [safe:col:] subscript: Renamed to [safeRow:col]
StringTable: Added [row:col:] and [safeRow:col:] subscripts that take column name string
0.4.0
Compare
Sorry, something went wrong.
No results found
Note
The repository has been renamed from swift-textfile-tools to swift-textfile.
Please migrate your dependencies to use the new repository URL and module import name. See the README for more details.
New
0.3.0
Compare
Sorry, something went wrong.
No results found
Note
The repository has been renamed from TextFileKit to swift-textfile-tools.
Please migrate your dependencies to use the new repository URL and module import name. See the README for more details.
0.2.2
Compare
Sorry, something went wrong.
No results found
Fixed bug where text files using CRLF line endings would fail to parse
0.2.1
Compare
Sorry, something went wrong.
No results found
Added init(file: URL) and init(rawData: Data) inits which can detect text encoding and strip BOMs
0.2.0
Compare
Sorry, something went wrong.
No results found
Added TextFile.DelimitedFormat enum
Renamed StringArrayTableRepresentable to StringTableRepresentable
Added Sendable conformance to types
Updated unit tests
0.1.7
Compare
Sorry, something went wrong.
No results found
StringTable: Added columnCharCounts property
Fixed typo in inline docs
Updated unit tests
0.1.6
Compare
Sorry, something went wrong.
No results found
Resolved CSV decoding bug where a mix of internal commas and double-quotes could decode incorrectly
Updated unit tests