Hastructure 0.45.1 → 0.45.2
raw patch · 3 files changed
+8/−15 lines, 3 filesdep ~base-compatdep ~lensdep ~servantPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base-compat, lens, servant, servant-server, swagger2, warp
API changes (from Hackage documentation)
Files
- Hastructure.cabal +7/−7
- src/Deal/DealValidation.hs +1/−0
- test/UT/CashflowTest.hs +0/−8
Hastructure.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: Hastructure-version: 0.45.1+version: 0.45.2 synopsis: Cashflow modeling library for structured finance description: Please see the README on GitHub at <https://github.com/yellowbean/Hastructure#readme> category: StructuredFinance,Securitisation,Cashflow@@ -93,13 +93,13 @@ scientific >= 0.3.8 && < 0.4, vector >= 0.13.2 && < 0.14, aeson-pretty >= 0.8.10 && < 0.9,- base-compat >= 0.14.1 && < 0.15,+ base-compat >= 0.13.0 && < 0.15, attoparsec >= 0.14.4 && < 0.15, attoparsec-aeson >= 2.2.2 && < 2.3, generic-lens >= 2.2.2 && < 2.3, http-types >= 0.12.4 && < 0.13, ieee754 >= 0.8.0 && < 0.9,- lens >= 5.2.3 && < 5.3,+ lens >= 5.2.3 && < 5.3.4, parallel >= 3.2.2 && < 3.3, math-functions >= 0.3.4 && < 0.4, monad-loops >= 0.4.3 && < 0.5,@@ -107,14 +107,14 @@ openapi3 >= 3.2.4 && < 3.3, regex-pcre-builtin >= 0.95.2 && < 0.96, regex-tdfa >= 1.3.2 && < 1.4,- servant >= 0.20.3 && < 0.21,+ servant >= 0.20.2 && < 0.21, servant-openapi3 >= 2.0.1 && < 2.1,- servant-server >= 0.20.3 && < 0.21,+ servant-server >= 0.20.2 && < 0.21, wai >= 3.2.4 && < 3.3,- warp >= 3.4.8 && < 3.5,+ warp >= 3.4.7 && < 3.5, split >= 0.2.5 && < 0.3, string-conversions >= 0.4.0 && < 0.5,- swagger2 >= 2.8.10 && < 2.9,+ swagger2 >= 2.8.9 && < 2.9, tabular >= 0.2.2 && < 0.3, wai-cors >= 0.2.7 && < 0.3, yaml >= 0.11.11 && < 0.12,
src/Deal/DealValidation.hs view
@@ -485,6 +485,7 @@ in (warnings,allErrors) -- Valiation Pass +-- validate deal object after run validateRun :: TestDeal a -> [ResultComponent] validateRun t@TestDeal{waterfall=waterfallM ,accounts =accM
test/UT/CashflowTest.hs view
@@ -123,14 +123,6 @@ assertEqual "Keep previous one" ([],[cf1,cf2, cf3,cf4]) $ splitByDate ts1 (L.toDate "20230201") EqToLeftKeepOne- -- ,testCase "CashflowFrame" $ - -- assertEqual "Slice on Cashflow Frame"- -- (CF.CashFlowFrame [cf1,cf2],CF.CashFlowFrame [cf3,cf4]) $- -- CF.splitCashFlowFrameByDate cff (L.toDate "20230215") EqToLeft- -- ,testCase "CashflowFrame" $ - -- assertEqual "Slice on Cashflow Frame"- -- (CF.CashFlowFrame [cf1,cf2,cf3],CF.CashFlowFrame [cf4]) $- -- CF.splitCashFlowFrameByDate cff (L.toDate "20230301") EqToLeft ,testCase "Range of Ts" $ assertEqual "get subset of Ts between two dates" [cf2, cf3,cf4] $