Skip to content

Commit

Permalink
Prep 0.15.15 (#4533)
Browse files Browse the repository at this point in the history
* Drop old bug entry

* Update version to 0.15.15

* Update changelog
  • Loading branch information
JordanMartinez committed Feb 7, 2024
1 parent 5dcd000 commit 5589e81
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 69 deletions.
23 changes: 0 additions & 23 deletions CHANGELOG.d/bug_fix-moveQuantifiersToFront-scoping.md

This file was deleted.

5 changes: 0 additions & 5 deletions CHANGELOG.d/feature_add-exclude-file-to-more-commands.md

This file was deleted.

38 changes: 0 additions & 38 deletions CHANGELOG.d/feature_glob-input-files.md

This file was deleted.

47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,53 @@

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.15

New features:

* Add `--exclude-file` to more commands (#4530 by @JordanMartinez)

This CLI arg was added to the `compile` command, but not to other commands
where such a usage would be relevant (e.g. `docs`, `repl`, `graph`, and `ide`).

* Enable passing source input globs via `--source-globs-file path/to/file` (#4530 by @JordanMartinez)

`--source-globs-file` support has been added to the following commands:
`compile`, `docs`, `graph`, `ide`, and `publish`.

Due to a [shell character limitation on Windows](https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation) where a large list of
source globs cannot be passed (e.g. `purs compile ... glob1000/src/**/*.purs`),
source globs can be stored in a file according to the format below
and the file is passed in instead via `purs compile ---source-globs-file path/to/file`.

```
# Lines starting with '#' are comments.
# Blank lines are ignored.
# Otherwise, every line is a glob.
.spago/foo-1.2.3/src/**/*.purs
.spago/bar-2.3.3/src/**/*.purs
my-package/src/**/*.purs
my-package/tests/**/*.purs
```

`--source-globs-file` is an optional argument. Mixing it with the normal source globs is fine.
Assuming `.spago/source-globs` contains `src/**/*.purs`, each command below will use
the same input globs:
```sh
purs compile src/**/*.purs
purs compile --source-globs .spago/source-globs
purs compile --source-globs .spago/source-globs src/**/*.purs
```

In the command...
```
purs compile inputGlob1 inputGlob2 --source-globs-file fileWithMoreGlobs --exclude-files excludeGlob1
```
the files passed to the compiler are: all the files found by
`inputGlob1`, `inputGlob2`, and all the globs listed in `fileWithMoreGlobs`
minus the files found by `excludeGlob1`.

## 0.15.14

Bugfixes:
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.14",
"version": "0.15.15",
"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.14",
"postinstall": "install-purescript --purs-ver=0.15.15",
"test": "echo 'Error: no test specified' && exit 1"
}
}
2 changes: 1 addition & 1 deletion purescript.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: 2.4

name: purescript
-- Note: don't add prerelease identifiers here! Add them in app/Version.hs and npm-package/package.json instead.
version: 0.15.14
version: 0.15.15
synopsis: PureScript Programming Language Compiler
description: A small strongly, statically typed programming language with expressive types, inspired by Haskell and compiling to JavaScript.
category: Language
Expand Down

0 comments on commit 5589e81

Please sign in to comment.