Skip to content

Commit

Permalink
Prep 0.15.7 release (#4428)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Dec 12, 2022
1 parent b71cb53 commit df5fcff
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 240 deletions.
4 changes: 0 additions & 4 deletions CHANGELOG.d/feature_derive-traversable-2.md

This file was deleted.

6 changes: 0 additions & 6 deletions CHANGELOG.d/feature_ide-dependency-filter.md

This file was deleted.

4 changes: 0 additions & 4 deletions CHANGELOG.d/feature_ide-rebuild-without-filesystem.md

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGELOG.d/feature_shorten-error-message.md

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.d/fix_docker-install.md

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.d/internal_enable-ghc-warnings.md

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.d/internal_organize-constants.md

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.d/misc_bump-ghc.md

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.d/misc_fix-typos.md

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.d/misc_overlapping-let.md

This file was deleted.

65 changes: 57 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,55 @@

Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.15.7

New features:

* Allow IDE module rebuilds eschewing the filesystem (#4399 by @i-am-the-slime)

This allows IDE clients to typecheck the module the user is currently typing in without modifying the output.
This allows for faster feedback cycles in editors and avoids producing a broken `/output` before the user actually saves the file.

* Add `purs ide` dependency/imports filter (#4412 by @nwolverson)

This allows IDE tooling to filter type searches according to the imports of a given module,
restricting to identifiers in scope.

* Shorten custom user-defined error message's prefix (#4418 by @i-am-the-slime)

Improves clarity and gets to the relevant information faster.

* The compiler can now derive instances for more types and type classes (#4420 by @rhendric)

New type classes that the compiler can derive:
- `Bifunctor`
- `Bifoldable`
- `Bitraversable`
- `Contravariant`
- `Profunctor`

Moreover, the compiler can also use these classes when deriving
`Functor`, `Foldable`, and `Traversable`, enabling more instances to be derived
whereas before such instances would need to be written manually.

Bugfixes:

* Update installer to `0.3.3` to fix a few installation issues (#4425 by @JordanMartinez)

Other improvements:

* Improve `DuplicateDeclarationsInLet` error so that it mentions what variable names were duplicated, reporting several in separate errors as necessary. (#4405 by @MonoidMusician)

* Fix various typos in documentation and source comments. (#4415 by @Deltaspace0)

* Bump Stackage snapshot to 2022-11-12 and GHC to 9.2.4 (#4422 by @purefunctor)

Internal:

* Organize the compiler's internal constants files (#4406 by @rhendric)

* Enable more GHC warnings (#4429 by @rhendric)

## 0.15.6

Bugfixes:
Expand Down Expand Up @@ -3194,14 +3243,14 @@ The way names are resolved has now been updated in a way that may result in some

Some examples:

| Import statement | Exposed members |
| --- | --- |
| `import X` | `A`, `f` |
| `import X as Y` | `Y.A` `Y.f` |
| `import X (A)` | `A` |
| `import X (A) as Y` | `Y.A` |
| `import X hiding (f)` | `A` |
| `import Y hiding (f) as Y` | `Y.A` |
| Import statement | Exposed members |
| -------------------------- | --------------- |
| `import X` | `A`, `f` |
| `import X as Y` | `Y.A` `Y.f` |
| `import X (A)` | `A` |
| `import X (A) as Y` | `Y.A` |
| `import X hiding (f)` | `A` |
| `import Y hiding (f) as Y` | `Y.A` |

Qualified references like `Control.Monad.Eff.Console.log` will no longer resolve unless there is a corresponding `import Control.Monad.Eff.Console as Control.Monad.Eff.Console`. Importing a module unqualified does not allow you to reference it with qualification, so `import X` does not allow references to `X.A` unless there is also an `import X as X`.

Expand Down
206 changes: 0 additions & 206 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ PureScript uses the following Haskell library packages. Their license files foll
adjunctions
aeson
aeson-better-errors
aeson-pretty
alex
ansi-terminal
ansi-wl-pprint
Expand All @@ -45,9 +44,7 @@ PureScript uses the following Haskell library packages. Their license files foll
boxes
bytestring
call-stack
case-insensitive
cborg
cereal
cheapskate
clock
colour
Expand Down Expand Up @@ -77,15 +74,12 @@ PureScript uses the following Haskell library packages. Their license files foll
file-embed
filepath
free
fsnotify
ghc-bignum
ghc-prim
half
happy
hashable
haskeline
hfsevents
http-types
indexed-traversable
indexed-traversable-instances
integer-gmp
Expand Down Expand Up @@ -422,39 +416,6 @@ aeson-better-errors LICENSE file:
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

aeson-pretty LICENSE file:

Copyright (c)2011, Falko Peters

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Falko Peters nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

alex LICENSE file:

Copyright (c) 1995-2011, Chris Dornan and Simon Marlow
Expand Down Expand Up @@ -1204,40 +1165,6 @@ call-stack LICENSE file:
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

case-insensitive LICENSE file:

Copyright (c) 2011-2013 Bas van Dijk

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* The name of Bas van Dijk and the names of contributors may NOT
be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cborg LICENSE file:

Copyright (c) 2015-2017 Duncan Coutts,
Expand Down Expand Up @@ -1274,39 +1201,6 @@ cborg LICENSE file:
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cereal LICENSE file:

Copyright (c) Lennart Kolmodin, Galois, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the author nor the names of his contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

cheapskate LICENSE file:

Copyright (c) 2013, John MacFarlane
Expand Down Expand Up @@ -2200,39 +2094,6 @@ free LICENSE file:
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

fsnotify LICENSE file:

Copyright (c) 2012, Mark Dittmer

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Mark Dittmer nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

ghc-bignum LICENSE file:

The Glasgow Haskell Compiler License
Expand Down Expand Up @@ -2456,73 +2317,6 @@ haskeline LICENSE file:
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

hfsevents LICENSE file:

Copyright (c) 2012, Luite Stegeman

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Luite Stegeman nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

http-types LICENSE file:

Copyright (c) 2011, Aristid Breitkreuz
Copyright (c) 2011, Michael Snoyman

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Aristid Breitkreuz nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

indexed-traversable LICENSE file:

Copyright 2012-2016 Edward Kmett
Expand Down
4 changes: 2 additions & 2 deletions npm-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "purescript",
"version": "0.15.6",
"version": "0.15.7",
"license": "ISC",
"description": "PureScript wrapper that makes it available as a local dependency",
"author": {
Expand Down Expand Up @@ -43,7 +43,7 @@
],
"scripts": {
"prepublishOnly": "node -e \"require('fs').copyFileSync('purs.bin.placeholder', 'purs.bin');\"",
"postinstall": "install-purescript --purs-ver=0.15.6",
"postinstall": "install-purescript --purs-ver=0.15.7",
"test": "echo 'Error: no test specified' && exit 1"
}
}

0 comments on commit df5fcff

Please sign in to comment.