Time for another weekly release of purty
. This is a big release with some fairly large internal milestones. You can grab the npm package or go directly for the binaries.
Notes from the changelog
5.0.0
This is a big one! There are three important differences from previous verions of purty
:
-
Configuration files are no longer supported.
The configuration never panned out how it was supposed to.
It was never meant to be for altering formatting, but for configuring the CLI.
It was also meant to be an example of using Dhall. -
Binaries are statically linked.
The binaries we were creating up until now have been dynamically linked.
We were privvy to the same issues that the PureScript compiler runs into from time to time (runtime libraries not existing).
We decide to link binaries statically, so we can mitigate runtime issues.
We also can do more interesting things (like creating minimal Docker images) with statically linked binaries. -
Directories are supported.
If you’ve usedpurty
on any non-trivial codebase, you’ve probably run into an issue with trying to format multiple files.
Up until now, you’ve had to script your own way to run all of these files.
Depending on how you runpurty
, this could be a slow and tedious process.
Now we support formatting all.purs
recursively in a directory.
This should make it easier to usepurty
in larger projects.
There were some other minor changes for dependencies in this release as well.
Additions
Changes
- Update
purescript
to 0.13.6 - Depend on exact
purescript
modules - Use minimal PureScript parser package
- Update
rio
- Compile static binaries
- Fix Bintray deploy on TravisCI
- Fix uploaded filename for Bintray deployment