Skip to content

Commit 1dfef39

Browse files
committed
updated changelog for v0.3.0.0
1 parent 894d727 commit 1dfef39

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ end_of_line = lf
99
indent_style = space
1010
indent_size = 2
1111

12+
[*.md]
13+
trim_trailing_whitespace = false
14+
1215
[test/**.hs]
1316
trim_trailing_whitespace = false
1417

CHANGELOG.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,32 @@
11
## <a name="v0.3.0.0"></a>0.3.0.0
22

33
* 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
46

57
### **WARNING!** Breaking changes
68

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

1131
## <a name="v0.2.1.0"></a>0.2.1.0
1232

0 commit comments

Comments
 (0)