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

Changelog History
Page 2

  • v0.7.0 Changes

    May 25, 2019

    ๐Ÿ›  Bugfix release that improves compatibility with different spreadsheet types.

    Thanks to @grin for reporting and fixing issues in ๐Ÿš€ this release.

    ๐Ÿ’ฅ Breaking changes:

    All properties on struct Format except fontId and numberFormatId are now optional.

    โž• Additions:

    ๐Ÿ†• New borderId and fillId properties on struct Format.

    ๐Ÿ›  Fixed bugs:

    • Can't get cell string #58
    • ๐Ÿ“„ Can't load basic spreadsheets created in Google Docs #64
    • fillId and borderId attributes missing from CoreXLSX.Format #65

    ๐Ÿ”€ Merged pull requests:

  • v0.6.1 Changes

    May 09, 2019

    ๐Ÿ›  Bugfix release that adds case externalLink to Relationship.SchemaType improving .xlsx compatibility.

  • v0.6.0 Changes

    May 02, 2019

    ๐Ÿ›  This is a bugfix release with changes to the model API that improve compatibility with files containing formulas and varied shared string formats.

    Specifically:

    • ๐Ÿ†• new struct Formula added with a corresponding property on struct Cell
    • property color on struct Properties became optional
    • properties on struct RichText became optional
    • ๐Ÿ†• new chartsheet case added to enum Relationship
    • richText on struct SharedStrings became an array, not optional

    Closed issues:

    • Error Domain=NSCocoaErrorDomain Code=4865 "Expected String but found null instead." #59
    • Importing XLSX file #56
    • ๐Ÿ“œ Error ParseCellContent #51
    • ๐Ÿ“œ error parseWorksheet #50
    • Couldn't find end of Start Tag c #37

    ๐Ÿ”€ Merged pull requests:

    • โž• Add Formula struct, fix other model types #61 (MaxDesiatov)
    • โฌ†๏ธ Bump XMLCoder dependency to 0.5, fix SharedStrings #60 (MaxDesiatov)
  • v0.5.0 Changes

    April 18, 2019

    ๐Ÿš€ This is a release with API additions and bug fixes.

    ๐Ÿš€ This release of CoreXLSX can be integrated as a Swift 5 module if you're using ๐Ÿ‘ Xcode 10.2, but support for Swift 4.2 and earlier Xcode 10 versions is also maintained.

    Compatibility is improved for big files and files that internally contain namespaced XML. A few other previously reported compatibility issues are now ๐Ÿ›  fixed. Many thanks to everyone who reported the issues, the improvements in this ๐Ÿš€ release wouldn't be possible without your contribution!

    ๐Ÿ’ฅ Breaking changes:

    Several properties on the model types became optional when there's no guarantee they are always available in files generated by different apps and tools.

    โž• Additions:

    ๐Ÿ’… Now you can parse style information from the archive with the new ๐Ÿ’… parseStyles() function. Please refer to the Styles ๐Ÿ’… model ๐Ÿ’… for more details. Please note that not all XLSX files contain style information, so you should be prepared to handle the errors thrown from ๐Ÿ’… parseStyles() function in that case.

    ๐Ÿ”€ Merged pull requests:

    • โž• Add testSpacePreserve to SharedStrings tests #57 (MaxDesiatov)
    • ๐Ÿ›  Fix XML namespaces, bump ZIPFoundation dependency #55 (MaxDesiatov)
    • ๐Ÿ“ฆ Split package manifest for Swift 5 and Swift 4.2 #54 (MaxDesiatov)
    • โšก๏ธ Update XMLCoder dependency to 0.4.0 #53 (MaxDesiatov)
    • โž• Add Styles with structs describing styles.xml #46 (MaxDesiatov)
    • โž• Add test to check sharedStrings order #44 (hodovani)
    • ๐Ÿ›  Fix root paths in CoreXLSX, fix formatter & linter #43 (MaxDesiatov)
  • v0.4.0 Changes

    February 07, 2019

    ๐Ÿš€ This is a release with API improvements and bug fixes. A big thank you to everyone ๐Ÿš€ who provided bug reports and contributions that made this release possible!

    ๐Ÿ’ฅ Breaking changes:

    • ๐Ÿ‘ A few properties on the model types were added with cleaner names and better fitting types. Most of the old versions of those properties were kept as deprecated, but you might get some breakage with optionality, where we couldn't find a good deprecation path.

    โž• Additions:

    • ๐Ÿ†• New parseSharedStrings function on XLSXFile allows you get values of cells with shared string value. Quite frequently those strings are unavailable and are only referenced in the original model types you get with parseWorksheet.

    • Previously when addressing cells and columns you had to use a stringly-typed API. It was also not very convenient for specifying a range of columns. This is now fixed with the new type-safe ColumnReference struct, which conforms to Comparable and Strideable.

    • Following the addition of an error context to XMLCoder, which is the main dependency of CoreXLSX, it is now exposed on struct XLSXFile. Pass a non-zero value to errorContextLength argument (default is 0) of XLSXFile initializer and you'll get a snippet of XML that failed to parse in the debug description of the error value.

    • โž• Additional optional argument bufferSize was added to XLSXFile initializer as a response to previous reports about problems with zip file extraction. The default value is 10ย MiB, which seems to be enough in most cases, but you can still try passing a larger value for bigger files if you see that an XML file stops abruptly in the middle of the file. Unfortunately, we haven't found a good way to adjust this value dynamically based on the file size, but a sufficiently large value should work for all files, which is the default.

    • ๐Ÿ‘Œ Support for Carthage was added as well as support for tvOS and watchOS.

    ๐Ÿ›  Bugfixes:

    ๐Ÿ“œ Some files that couldn't be previously parsed should now be handled better ๐Ÿ›  thanks to fixes in optionality and more properties added to the model types.

    All changes:

    • Set global version in project file, bump to 0.4.0 (#39) (MaxDesiatov)
    • โšก๏ธ Update README.md (#40) @chriseidhof
    • ๐Ÿ”ฆ Expose errorContextLength on struct XLSXFile (#38) (MaxDesiatov)
    • โž• Add customProperties relationship (#34) (NSMutableString)
    • โšก๏ธ Update XMLCoder and ZIPFoundation dependencies (#36) (MaxDesiatov)
    • โšก๏ธ Update requirements in README.md (MaxDesiatov)
    • โž• Add extra relationship metadataThumbnail (#33) (NSMutableString)
    • ๐Ÿ”จ Refactor Worksheet and Pane values to optional (#31) (hodovani)
    • โž• Add bufferSize parameter to init (#30) (hodovani)
    • โž• Add more cases to Relationship.SchemaType (#25) (MaxDesiatov)
    • โž• Add public func parseDocumentRelationships (#23) (MaxDesiatov)
    • ๐Ÿ“œ Make Relationships public, add parseRelationships (#22) (MaxDesiatov)
    • โž• Add SharedStrings model, parse sharedStrings.xml (#8) (MaxDesiatov)
    • โœ… Paste XML snippet into WorksheetTests as is (MaxDesiatov)
    • โž• Add a second XML snippet to WorksheetTests (MaxDesiatov)
    • Clarify issue reporting in README.md (MaxDesiatov)
    • โœ… Test newspaces in attributes in WorksheetTests (MaxDesiatov)
    • โœ… More XML with newlines in WorksheetTests (MaxDesiatov)
    • โž• Add newline characters test to WorksheetTests (MaxDesiatov)
    • โž• Add cell with a single attribute to WorksheetTests (MaxDesiatov)
    • โž• Add rows and cells to WorksheetTests (MaxDesiatov)
    • โšก๏ธ Update names and types of properties on Worksheet (#18) (MaxDesiatov)
    • ๐Ÿ“‡ Rename sheetData on Worksheet and make it optional (#17) (MaxDesiatov)
    • โž• Add simple Workbook model with tests (#16) (MaxDesiatov)
    • ๐Ÿ‘‰ Make columns property optional on Worksheet (#14) (MaxDesiatov)
    • ๐Ÿ›  Fix example project after new files were added (#13) (MaxDesiatov)
    • โœ‚ Remove worksheetCache private property as unused (#11) (MaxDesiatov)
    • Clarify platform setting for CocoaPods in README (MaxDesiatov)
    • Clarify Carthage instructions in README.md (MaxDesiatov)
    • โž• Add API for filtering cells by rows and columns (#7) (MaxDesiatov)
    • โž• Add Carthage and support for tvOS and watchOS (#6) (MaxDesiatov)
    • Implement Strideable on ColumnReference (#5) (MaxDesiatov)
    • โž• Add ColumnReference type with new API (#3) (MaxDesiatov)
  • v0.3.0 Changes

    November 13, 2018
    • ๐Ÿ‘Œ Improve Worksheet model property naming (#2). Some properties on Worksheet and its descendants had obscure names, most of that is fixed now with old names marked as deprecated.
  • v0.2.3 Changes

    November 12, 2018
    • Refine README.md to include implementation details.
  • v0.2.2 Changes

    November 11, 2018
    • Refine code comments and links in README.md
  • v0.2.1 Changes

    November 11, 2018
    • โšก๏ธ Update README.md with instructions for Swift Package Manager.
  • v0.2.0 Changes

    November 11, 2018
    • Cell by row/column filtering API with worksheetCache (#1) This new API allows users to filter all cells by a row or column reference. To avoid re-parsing of worksheets, a new private worksheetCache property is added on XLSXFile.