All Versions
23
Latest Version
Avg Release Cycle
41 days
Latest Release
1057 days ago

Changelog History
Page 1

  • v0.14.1 Changes

    May 06, 2021

    πŸš€ This is a patch release improving compatibility with different spreadsheet formats.

    Closed issues:

    • Cannot initialize SchemaType from invalid String value extendedProperties (#145)
    • πŸ“‡ Cannot initialize SchemaType from invalid String value workbookmetadata (#142)

    πŸ”€ Merged pull requests:

  • v0.14.0 Changes

    December 09, 2020

    πŸš€ This release improves compatibility with different spreadsheet formats, simplifies cell font and 🍎 formatting APIs, and drops support for Carthage. Additionally, Xcode 11.3 on macOS is now the πŸ— oldest supported version for building CoreXLSX.

    πŸ’₯ Breaking changes:

    • πŸ“œ Make parseSharedStrings return optional value (#122) via @MaxDesiatov
    • βœ… Test with Xcode 12, drop Carthage and Xcode 10 support (#140) via @MaxDesiatov

    Closed issues:

    • Unable to sort columns by intValue (#137)
    • Cannot initialize SchemaType from invalid String value (#136)
    • Odd cell.s value (#134)
    • 0.13.0 not available on Cocoapods (#133)
    • Unable to read xlsx file (#130)
    • πŸ“œ Increase speed of parsing? (#127)
    • .xlsx File not opening with XLSXFile() (#125)
    • Getting Data From a specific Worksheet (#124)
    • ArchiveEntryNotFound error (#121)
    • πŸ–¨ Printing an empty cell? (#118)
    • Handling encrypted spreadsheets? (#101)

    πŸ”€ Merged pull requests:

  • v0.13.0 Changes

    July 08, 2020

    πŸ›  This is a bugfix release with breaking changes that make count property on MergeCells and all properties on Workbook.View optional. Many thanks to @Ethan-Chew and @robgtsoftware for reporting these issues!

    Closed issues:

    • πŸ–¨ Printing Strings in a Column (#116)
    • πŸ“œ File.parseWorksheet(at: path) dies (#94)

    πŸ”€ Merged pull requests:

  • v0.12.0 Changes

    June 26, 2020

    πŸ›  The is a bugfix release with a breaking change, it makes size and font properties optional on the RichText.Properties type to improve compatibility with certain spreadsheets. Thanks to @Ethan-Chew for reporting this in #116.

  • v0.11.1 Changes

    June 12, 2020

    πŸ›  This is a bugfix release that resolves an issue with parsing cells that contain time values. Thanks to @mb812 for reporting it!

    Closed issues:

    • πŸ“œ Error parsing cells with Time value (#114)
    • πŸ“œ file.parseWorksheetPathsAndNames() wanna workbook: <#Workbook#> (#113)
    • XLSXFile not initialising when passing document directory path (#108)

    πŸ”€ Merged pull requests:

  • v0.11.0 Changes

    May 30, 2020

    πŸš€ This is a feature release that enables compatibility with CryptoOffice for decrypting spreadsheets. Additionally, with 0.11.0 you can easily get worksheet names with a new parseWorksheetPathsAndNames function on XLSXFile and get rich text values from cells with a new richStringValue function on Cell.

    ⚑️ Due to technical issues, Swift 5.0 CI job for Linux has been removed, so compatibility with Swift 5.0 on Linux can no longer be guaranteed. While CoreXLSX may continue to work with Swift 5.0 on Linux, please update to Swift 5.1 or later to avoid unexpected issues.

    πŸš€ Thanks to @kobylyanets and @duodo2412 for their contributions to this release!

    πŸ†• New APIs:

    XLSXFile now provides a new initializer that takes an argument of Data type. This allows opening in-memory documents, the primary example being spreadsheets decrypted with CryptoOffice.

    πŸ“œ XLSXFile now has a new parseWorksheetPathsAndNames function that returns an array of worksheet names and their paths in a given workbook, while previously you had to use parseWorksheetPaths and match paths manually with results of the parseWorkbooks function.

    πŸ“œ Cell now has a richStringValue function that takes a result of the XLSXFile.parseSharedStrings function and produces an array of RichText values. This makes it easier to query rich text content from cells, while previously you had to match cell values against SharedStrings manually.

    πŸ’₯ Breaking change:

    πŸ‘€ Due to the introduction of the new XLSXFile.init(data:) initializer, the filepath property on XLSXFile no longer makes sense. This property was not used internally in any way and in-memory files don't have any filepaths. If you need to refer to a filepath of an .xlsx file after you've parsed from your filesystem, you should retain it manually and process it separately as you see fit.

    Closed issues:

    • API for matching sheet names to sheet paths (#105)

    πŸ”€ Merged pull requests:

  • v0.10.0 Changes

    April 06, 2020

    πŸ›  This is a release with bugfixes and a few improvements to usability of the spreadsheet cell values API. Thanks to all contributors and users, you provide an invaluable amount of feedback and help!

    πŸ†• New API:

    The library now provides a simplified API to fetch string and date values from cells, which is much easier to use than the previous πŸ”– version (which is still available).

    Here's how you can get all strings (including shared strings) in column "C" for example:

    let sharedStrings = try file.parseSharedStrings()
    let columnCStrings = worksheet.cells(atColumns: [ColumnReference("C")!])
      .compactMap { $0.stringValue(sharedStrings) }
    

    πŸ“œ To parse a date value from a cell, use dateValue property on the Cell type:

    let columnCDates = worksheet.cells(atColumns: [ColumnReference("C")!])
      .compactMap { $0.dateValue }
    

    πŸ’₯ Breaking change:

    The type property on Cell is no longer of String type. It was previously πŸ‘‰ used to check if cell's type is equal to "s", which denoted a shared string. πŸš€ You should use enum values for that since this release, which for shared strings now is (unsurprisingly) .sharedString.

    Closed issues:

    • πŸ— Xcode 11 installation and build (#90)
    • Reading Date values from cell (#89)
    • Can't open xml (#82)
    • Not able to read Numeric data from Sheet (#81)
    • Getting the value of a cell with number format? (#71)
    • Opening xlsx file Document Directory, Crashes (#52)

    πŸ”€ Merged pull requests:

    • officeDocument is misspelled in corePropreties Relationship (#95) via @mrkammoun
    • βž• Add cell type enum, date/sharedStrings helpers (#102) via @MaxDesiatov
    • πŸ‘‰ Make XLSXFile a class, not a struct (#100) via @MaxDesiatov
    • πŸ‘ Clarify lack of support for .xls files in README (#99) via @MaxDesiatov
    • Clarify Xcode 11 and Xcode 10 project details (#98) via @MaxDesiatov
    • ⚑️ Update dependencies to their latest versions (#96) via @MaxDesiatov
    • ⚑️ Update SwiftFormat settings, add pre-commit (#97) via @MaxDesiatov
    • πŸ›  Fix workbooks with no views, cleanup tests (#93) via @MaxDesiatov
    • 🍎 Test on Xcode 11.3 with macOS 10.15 (#92) via @MaxDesiatov
    • ⚑️ Update ZIPFoundation to 0.9.10 (#91) via @MaxDesiatov
  • v0.9.1 Changes

    November 08, 2019

    πŸš€ This release adds a new value to the Relationship.SchemaType enum, which fixes compatibility with some spreadsheet files. Thanks to @mxcl for the bug report!

    πŸ›  Fixed bugs:

    • Cannot initialize SchemaType from invalid String value #87

    πŸ”€ Merged pull requests:

    • βž• Add case customXml to Relationship.SchemaType #88 (MaxDesiatov)
  • v0.9.0 Changes

    October 19, 2019

    πŸš€ This release adds Linux support and improves compatibility with .xlsx files that contain shared strings. Thanks to @CloseServer, @funnel20 and @LiewLi for bug reports and contributions!

    Implemented enhancements:

    • ⬆️ Bump XMLCoder to 0.9.0, add CI jobs for Linux, Xcode 11 #86 (MaxDesiatov)

    πŸ›  Fixed bugs:

    • πŸ“œ Multi-line text in an Excel cell is parsed into single line in the SharedStrings property text #83

    Closed issues:

    • πŸ“œ I crashed while calling try file.parsesharedstrings () with an error #79

    πŸ”€ Merged pull requests:

    • ⬆️ Bump line length limit in .swiftlint.yml #85 (MaxDesiatov)
    • βœ… Make decoder.trimValueWhitespaces false, add test #84 (MaxDesiatov)
    • ⬆️ Bump XMLCoder dependency to 0.8.0 #80 (MaxDesiatov)
    • SharedString uniqueCount property can be nil #78 (LiewLi)
  • v0.8.0 Changes

    July 12, 2019

    πŸ”‹ Feature and bugfix release that makes the library compatible with more spreadsheet types. It also adds support for Comments structure, which can be parsed with the new parseComments API.

    πŸš€ Many thanks to @grin, @GoldenJoe and @LiewLi for reporting and fixing issues in this release.

    Closed issues:

    • πŸ“œ parseDocumentPaths has internal protection, but is needed by parseDocumentRelationships #74 (GoldenJoe)
    • πŸ“š Missing Documentation #73 (GoldenJoe)

    πŸ”€ Merged pull requests:

    • ⬆️ Bump XMLCoder dependency to 0.7.0 #77 (MaxDesiatov)
    • πŸ›  Fix non-macOS framework targets #76 (MaxDesiatov)
    • missing text property when format is applied at the character level #72 (LiewLi)
    • βž• Add comment support #70 (grin)