Commit Graph

14 Commits

Author SHA1 Message Date
Thomas Miedema
bc42f79c77 ;dev: remove base-compat from stack*.yaml 2025-03-31 16:21:38 -10:00
Simon Michael
daf8301ade ;pkg:stack: drop obsolete systemencoding flag [#2319] 2025-02-16 07:19:09 -10:00
Simon Michael
75c0197c08 pkg:stack: use latest snapshots 2025-02-15 15:22:33 -10:00
Joschua Kesper
5114962b2a feat:csv: add an encoding rule, allowing non-UTF8 CSV to be read [#2319]
Previously, hledger could read CSV files containing non-ascii
characters only if they are UTF8-encoded.  Now there is a new CSV
rule, encoding ENCODING, which allows reading CSV files with other
encodings.

This adds a dependency on the encoding library, which supports fewer
encodings than text-icu but does not require a third-party C library.
To avoid build issues on various platforms, we require version 0.10+.

This adds some use of the ImplicitParams language extension, required
by encoding's API, but only in a small code region.

This also changes the type of Reader's rReadFn; it now takes
a `Handle` rather than a `Text`, allowing more flexibility.
2025-02-15 14:48:30 -10:00
Simon Michael
de9095792e ;stack: 9.0-9.8: add base-compat-0.14, needed since 1c45496 2024-09-30
I think base-compat-batteries is unnecessary.
I have not tested all these build plans.
2024-10-24 10:44:28 -10:00
Simon Michael
8d62af8ae0 imp: Revert problematic process-1.6.19.0 bound, it seems not strictly needed [#2149] 2024-05-01 23:04:08 -10:00
Simon Michael
ae69800fdb pkg: require vty-windows-0.2.0.2+ to fix recent MS Terminal
And add to current stack.yaml too, since it's not yet in stackage.
2024-04-18 13:19:51 -10:00
Simon Michael
ef948ba88e ;stack: bump 9.6 snapshot 2024-04-18 13:19:29 -10:00
Simon Michael
69e4a88ccf pkg: require process 1.6.19.0+ for HSEC-2024-0003
This is to avoid potential vulnerabilities on Windows due to the process issue disclosed today:
https://haskell.github.io/security-advisories/advisory/HSEC-2024-0003.html
2024-04-10 08:07:08 -10:00
Simon Michael
bf40a1ae25 pkg:stack:9.6: make non-default 2024-02-28 13:34:32 -10:00
Simon Michael
81f155d039 ;dev:stack: drop stack9.6.yaml 2023-10-15 13:56:47 +01:00
Simon Michael
6533ccea6a pkg: stack: ghc9.6: bump resolver, enable hledger-web (close #2011) 2023-09-03 08:23:43 +01:00
Simon Michael
e3bf66755a ;pkg:stack: bump stackage snapshots 2023-07-01 08:14:23 -10:00
Simon Michael
521e0adb5d ;pkg: early stack build plan using GHC 9.6.1 (#2011) 2023-03-15 20:44:05 -10:00