Tags: JoshCheek/seeing_is_believing
Tags
Remove support for Ruby 2.3 (it is no longer maintained) Was hitting another issue where 2.3 behaves differently (Fixnum vs Integer) https://travis-ci.org/github/JoshCheek/seeing_is_believing/jobs/670780677 Just not worth it to try and maintain an unsupported unmaintained old Ruby that behaves differently than the newer ones.
Bump version to 3.2.0 SiB is now expected to work on Windows, huge shoutout to Avdi Grimm for getting that figured out! I think 3.2.0 is fair, the API itself should pretty much be backwards compatible. Note some changes that are more likely to be relevant to users: * There is now a wiki, I moved most of the stuff in the readme over to the wiki. * SiB now expects unicode everywhere (eg no matter what your environment variables say). I can't tell if this is a big change or not. I feel like it technically deserves to be a semver major bump, but I honestly don't think anyone is using it in a way that is incompatible with this, if you are, I'm happy to work with you to get something figured out, please see: https://github.com/JoshCheek/seeing_is_believing/wiki/Encodings * Deprecated the `-K` flag (it still works, but it is now deprecated, you shouldn't use it going forward. If you do use it and there is an error, it will notify you to update your invocation, but its not spamming you when the lib is otherwise working). * Added dependency on ChildProcess. I *think* this is okay according to SemVer. Not totally clear (I assume that bumping a major version of a dependency requires your lib to bump major versions, so maybe I'm wrong on this one) * Added `exceptions` to the Result object and JSON api (note that the old `exception` still works the same/similarly as before -- it was a bit under specified, but the core behaviour of a falsy value or an exception is still in place, so users shouldn't see a change in behaviour (I think it emitted `false` instead of `nil`, but hopefully no one is depending on a falsy value so specific). Do note that it is better to use `exceptions` than `exception` as it is more correct: systems that can fork can emit multiple exceptions. * The child process now talks to the parent process through a TCPSocket. It used to spawn the process with an additional file decriptor, but that was flaky on Windows. See #92
PreviousNext