github purescript/purescript v0.7.4.0
v0.7.4

latest releases: v0.15.16-1, v0.15.16-0, v0.15.15...
8 years ago

Breaking Changes

  • The type class instance search algorithm has changed. The search will now eagerly match an instance for each subgoal based on the instance head, or fail. This makes certain instances in previous versions of purescript-transformers invalid, so users of this release should upgrade to the latest transformers.
  • A module must be imported to be re-exported.

Enhancements

  • RedefinedModule errors now include position info #1024 (@garyb)
  • Multiple imports of the same module are now resolved correctly, allowing for combinations of qualified and unqualified importing #817 #1112 (@garyb)
  • Errors for unresolvable imports and exports have been clarified #1232 (@garyb)
  • A warning is emitted when importing Type(..) when Type is a synonym or has no constructors. #1391 (@garyb)
  • Superclass constraints can now be relied upon when resolving instances #421 (@paf31)
  • A serious performance regression was partially addressed, memory usage should now be drastically reduced #1297 (@garyb)
  • Module re-export handling has been much improved. If a module is partially imported, only the specifically imported members are re-exported. Qualified modules can also be re-exported. #291 #1244 (@garyb)
  • Parser error messages are now formatted in a manner more consistent with other errors #1098 (@epost)
  • Using -ffi to specify JavaScript FFI files is now optional, files with a .js extension will be detected as FFI files automatically when encountered. #1268 (@mjgpy3)

Bug fixes

  • Fixed an error when attempting to derive for Void #1380 (@nicodelpiano)
  • "The impossible happened in desugarDo" should no longer occur #386 (@paf31)

Other

@zudov, @phadej and @erdeszt made more updates and improvements to the CI build.

Don't miss a new purescript release

NewReleases is sending notifications on new releases.