|
1 | 1 | ## <a name="v0.3.0.0"></a>0.3.0.0
|
2 | 2 |
|
3 | 3 | * Testing on GHC 8.2.2
|
| 4 | +* More tests to cover more usage scenarios |
| 5 | +* Ability to use `}` inside an interpolation block by escaping it |
4 | 6 |
|
5 | 7 | ### **WARNING!** Breaking changes
|
6 | 8 |
|
7 |
| -* TODO explain better: Breaking change of interpolation blocks |
8 |
| -* TODO explain better: Quoters no longer removes every *CR* (`\r`), but just |
9 |
| - supports *CRLF* (`\r\n`) line-breaks |
| 9 | +* `\r` characters are no longer pre-removed. |
| 10 | + |
| 11 | + Up to [v0.2.1.0](#v0.2.1.0) all `\r` characters were pre-removed. When you |
| 12 | + compile your code with GHC you can use either *LF* or *CRLF* for line-breaks |
| 13 | + but not *CR* alone. When I changed handling of interpolation blocks (see |
| 14 | + below) I needed to get contents of interpolations blocks without **any** |
| 15 | + modifications, so I replaced pre-removing all *CR*s with explicit handling of |
| 16 | + *CRLF* in patterns. If your code ever was depending on `\r` symbols appearing |
| 17 | + alone inside quoters (that I can't even imagine) it could break your code. |
| 18 | + But it will probably never happen, I'm just noticing it here. |
| 19 | + |
| 20 | +* Fix for interpolation blocks parsing. |
| 21 | + |
| 22 | + Once I noticed that `[qm|{"\n"}|]` compiles to `"n"`, I considered this as a |
| 23 | + bug, I also realized that interpolation blocks aren't interpreted as a bare |
| 24 | + haskell code as I was expecting. My bad, I've missed that, haven't written |
| 25 | + enought tests to cover such scenarios, it migrated from original |
| 26 | + *interpolatedstring-perl6* package. So I had to fix this mistake, |
| 27 | + notwithstanding it can break your code when you update the library. Now |
| 28 | + everything inside interpolation blocks is taken as bare haskell code as |
| 29 | + possible. |
10 | 30 |
|
11 | 31 | ## <a name="v0.2.1.0"></a>0.2.1.0
|
12 | 32 |
|
|
0 commit comments