skelpo / CSV

A simple CSV file parser and serializer

Home Page:http://www.skelpo.codes/CSV/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version 0.3.1 requires Swift 4.2

Cellane opened this issue · comments

Between versions 0.3.0 and 0.3.1, a few changes in the code were introduced that require Swift 4.2 (which was not released yet), such as Bool.toggle().

I think changes that require different Swift version should be done in major versions or at least minor versions, not patch versions, as swift update happily fetched the version 0.3.1 as part of the regular update process, which then made the code uncompilable in the current stable version of Xcode/Swift.

And after downgrading to 0.3.0, I noticed that this version is rather old and can’t decode CSV files properly 😢

Sorry. Lesson is be carful if you use a beta toolchain or Xcode release 😄. I'll get that fixed up.

No worries! I actually got trapped by the same thing, CSV 0.3.1 was nicely working for me, I committed my work, submitted everything as a PR for code review only to have my colleagues wonder why the code is no longer compiling 😅

Fixed in release 0.3.2.

You are so awesome! Thank you!