purescript v0.10.3 Release Notes
Release Date: 2016-12-11 // over 7 years ago-
โจ Enhancements
Solving
IsSymbol
instances(@LiamGoodacre)
The compiler will now derive
Data.Symbol.IsSymbol
instances for type-level string literals.This enables interesting type-level programming features, such as deriving
Show
instances usingData.Generics.Rep
.Rows in Instance Heads
(@LiamGoodacre)
The compiler now allows rows to appear in type class instance heads, but only in type arguments which are fully determined by some functional dependency.
This allows instances like
MonadState { field :: Type } MyAppMonad
and also
Newtype
instances for newtypes which contain records.๐ Speeds up parsing by reading files as Text
(@kRITZCREEK)
๐ The use of
String
has been replaced byText
in the compiler, resulting in some non-trivial performance improvements.๐ Functional Dependencies in
psc-docs
output(@soupi, #2439)
๐
psc-docs
now includes functional dependency information when rendering type classes.๐ New
psc-package
Commands- ๐ฆ The
available
command (@andyarvanitis) shows all available packages in the current package set - โก๏ธ The
uninstall
command (@joneshf) removes a package from the set of active packages and updates the package configuration file.
โ Type Class Warning (@joneshf)
โ A warning was added for shadowed type variables in type class declarations.
๐ Bug Fixes
- ๐ฆ
psc-package
: display full path in 'packages.json does not exist' error messsage (@andyarvanitis) - ๐ Use
writeUTF8File
inpsc-bundle
(@hdgarrood) - ๐ Use HTTPS to query Pursuit (@paf31)
- ๐ Moved the expansion of astral code points to UTF-16 surrogate pairs from the JS code generator to the parser (@michaelficarra, #2434)
- ๐ Allow astral code points in record literal keys (@michaelficarra, #2438)
- โ Add value source positions (@nwolverson)
- โก๏ธ Update error message of
ErrorInDataBindingGroup
to include participating identifiers (@LiamGoodacre)
psc-ide
- Polling option for psc-ide-server (@kRITZCREEK)
- ๐ Better logging and diagnostics (@kRITZCREEK)
Other
- โ
Dump output of
psc
tests to file (@andyarvanitis, #2453) - ๐ Fix windows CI (@hdgarrood)
- ๐ Link to new documentation repo (@hdgarrood)
- ๐ Create documentation for psc-package (@paf31)
- ๐ Fix GHC 8.0.2 build (@RyanGlScott)
- โ Add
psc-package
to release bundle (@marsam) - โก๏ธ Update for latest
language-javascript
(@tmcgilchrist) - ๐ Fix exhaustivity warnings (@charleso)
- โก๏ธ Update
CONTRIBUTING.md
(@osa1)
- ๐ฆ The