Skip to content

Commit c121c8f

Browse files
committed
chore: Bump version to 1.1.0.0
1 parent d667845 commit c121c8f

File tree

6 files changed

+41
-15
lines changed

6 files changed

+41
-15
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Revision history for dataframe
22

3+
## 1.1.0.0
4+
### Breaking changes
5+
* Remove `OptionalColumn` constructor; fold nullability into `BoxedColumn`/`UnboxedColumn` via bit-packed bitmap.
6+
* Remove `NFData` instance from `Columnable` constraint.
7+
8+
### New features
9+
* Add `toCsv` and `toSeparated` for converting a DataFrame to CSV/delimited text without writing to a file.
10+
* `safeRead` now defaults reading columns to `Maybe a`.
11+
* Split SIMD CSV reader into a separate `dataframe-fastcsv` package.
12+
13+
### Bug fixes
14+
* Fix joins for missing key columns (#187).
15+
* Fix single column not found error when using typed dataframe.
16+
* Fix Synthesis to use `SafeLookup` constraint.
17+
* Fix `writeSeparated` ignoring separator parameter (was hardcoded to comma).
18+
19+
### Internal
20+
* Slice groups now use custom backpermute instead of converting unboxed vectors.
21+
* Reuse comparison operators in Subset.
22+
* Refactor `getRowAsText` for readability using pattern guards.
23+
324
## 1.0.0.1
425
* toMarkdownTable is now toMarkdown (mostly used internally)
526
* Provide toMarkdown' that outputs string

dataframe-fastcsv/dataframe-fastcsv.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ library
3636
array >= 0.5.4.0 && < 0.6,
3737
bytestring >= 0.11 && < 0.13,
3838
containers >= 0.6.7 && < 0.9,
39-
dataframe ^>= 1,
39+
dataframe ^>= 1.1,
4040
mmap >= 0.5.8 && < 0.6,
4141
parallel >= 3.2.2.0 && < 5,
4242
text >= 2.0 && < 3,
@@ -55,7 +55,7 @@ test-suite tests
5555
other-modules: Operations.ReadCsv
5656
build-depends: base >= 4 && < 5,
5757
containers >= 0.6.7 && < 0.9,
58-
dataframe ^>= 1,
58+
dataframe ^>= 1.1,
5959
dataframe-fastcsv,
6060
directory >= 1.3.0.0 && < 2,
6161
HUnit ^>= 1.6,

dataframe-hasktorch/dataframe-hasktorch.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ library
3737

3838
build-depends: base >= 4.11 && < 5,
3939
vector ^>= 0.13,
40-
dataframe ^>= 1,
40+
dataframe ^>= 1.1,
4141
hasktorch >= 0.2.1.6 && < 0.3
4242
if impl(ghc >= 9.12)
4343
build-depends: ghc-typelits-natnormalise == 0.9.3

dataframe-persistent/dataframe-persistent.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ library
3636
DataFrame.IO.Persistent.TH
3737
build-depends: base >= 4 && <5,
3838
containers >= 0.6.7 && < 0.9,
39-
dataframe ^>= 1,
39+
dataframe ^>= 1.1,
4040
persistent >= 2.14 && < 3,
4141
template-haskell >= 2.0 && < 3,
4242
text >= 2.0 && < 3,
@@ -51,7 +51,7 @@ test-suite dataframe-persistent-tests
5151
main-is: Main.hs
5252
other-modules: PersistentTests
5353
build-depends: base >= 4 && < 5,
54-
dataframe ^>= 1,
54+
dataframe ^>= 1.1,
5555
dataframe-persistent,
5656
HUnit ^>= 1.6,
5757
monad-logger >= 0.3 && < 0.4,

dataframe.cabal

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: dataframe
3-
version: 1.0.0.1
3+
version: 1.1.0.0
44

55
synopsis: A fast, safe, and intuitive DataFrame library.
66

@@ -158,7 +158,7 @@ foreign-library dataframe-arrow
158158
DataFrame.IR
159159
build-depends:
160160
base >= 4 && < 5,
161-
dataframe ^>= 1,
161+
dataframe ^>= 1.1,
162162
text >= 2.0 && < 3,
163163
aeson >= 0.11 && < 3,
164164
bytestring >= 0.11 && < 0.13,
@@ -175,7 +175,7 @@ executable dataframe-benchmark-example
175175
import: warnings
176176
main-is: Benchmark.hs
177177
build-depends: base >= 4 && < 5,
178-
dataframe ^>= 1,
178+
dataframe ^>= 1.1,
179179
random >= 1 && < 2,
180180
time >= 1.12 && < 2,
181181
vector ^>= 0.13,
@@ -187,7 +187,7 @@ executable synthesis
187187
import: warnings
188188
main-is: Synthesis.hs
189189
build-depends: base >= 4 && < 5,
190-
dataframe ^>= 1,
190+
dataframe ^>= 1.1,
191191
random >= 1 && < 2,
192192
text >= 2.0 && < 3
193193
hs-source-dirs: app
@@ -214,7 +214,7 @@ executable lazy-bench
214214
build-depends: base >= 4 && < 5,
215215
bytestring >= 0.11 && < 0.13,
216216
containers >= 0.6.7 && < 0.9,
217-
dataframe ^>= 1,
217+
dataframe ^>= 1.1,
218218
directory >= 1.3.0.0 && < 2,
219219
random >= 1 && < 2,
220220
text >= 2.0 && < 3,
@@ -231,7 +231,7 @@ benchmark dataframe-benchmark
231231
build-depends: base >= 4 && < 5,
232232
criterion >= 1 && < 2,
233233
process >= 1.6 && < 2,
234-
dataframe ^>= 1,
234+
dataframe ^>= 1.1,
235235
random >= 1 && < 2,
236236
default-language: Haskell2010
237237
ghc-options:
@@ -275,7 +275,7 @@ test-suite tests
275275
Monad
276276
build-depends: base >= 4 && < 5,
277277
bytestring >= 0.11 && < 0.13,
278-
dataframe ^>= 1,
278+
dataframe ^>= 1.1,
279279
HUnit ^>= 1.6,
280280
QuickCheck >= 2 && < 3,
281281
random-shuffle >= 0.0.4 && < 1,

tests/Operations/WriteCsv.hs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ toCsvBasic = TestLabel "toCsv_basic" $ TestCase $ do
2323

2424
-- Empty DataFrame produces empty text
2525
toCsvEmpty :: Test
26-
toCsvEmpty = TestLabel "toCsv_empty" $ TestCase $
27-
assertEqual "empty toCsv" T.empty (toCsv D.empty)
26+
toCsvEmpty =
27+
TestLabel "toCsv_empty" $
28+
TestCase $
29+
assertEqual "empty toCsv" T.empty (toCsv D.empty)
2830

2931
-- toSeparated with tab produces tab-delimited output
3032
toSeparatedTab :: Test
@@ -69,7 +71,10 @@ toCsvRoundTrip = TestLabel "toCsv_roundTrip" $ TestCase $ do
6971
let tmpPath = "/tmp/dataframe_test_toCsv_roundtrip.csv"
7072
TIO.writeFile tmpPath csvText
7173
df' <- D.readCsv tmpPath
72-
assertEqual "round trip dimensions" (dataframeDimensions df) (dataframeDimensions df')
74+
assertEqual
75+
"round trip dimensions"
76+
(dataframeDimensions df)
77+
(dataframeDimensions df')
7378
assertEqual "round trip data" df df'
7479

7580
tests :: [Test]

0 commit comments

Comments
 (0)