packages feed

serialport 0.5.1 → 0.5.2

raw patch · 3 files changed

+23/−5 lines, 3 filesdep ~Win32dep ~basedep ~bytestringPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: Win32, base, bytestring, unix

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,14 @@+0.5.2 (30/3/2021)+=================+* Update package dependency constraints++0.5.1 (16/1/2021)+=================+* Lock Posix serial port for exclusive access+* Simplify internal usage of serial port handles under both Posix and Windows+* Add hWithSerial+* Minor updates to make future refactoring easier+ 0.5.0 (16/12/2020) ================== * Derive Show and Read instances for SerialPortSettings, CommSpeed, StopBits, Parity, and FlowControl datatypes.
README.md view
@@ -1,4 +1,6 @@ ![Haskell CI](https://github.com/standardsemiconductor/serialport/workflows/Haskell%20CI/badge.svg)+[![Hackage][hackage-badge]][hackage]+[![Hackage Dependencies][hackage-deps-badge]][hackage-deps]  Objectives ==========@@ -25,3 +27,7 @@ ----------------- * Run the tests: cabal test --test-options="/dev/ttyACM0 /dev/ttyUSB0" +[hackage]:            <https://hackage.haskell.org/package/serialport>+[hackage-badge]:      <https://img.shields.io/hackage/v/serialport.svg?color=success>+[hackage-deps-badge]: <https://img.shields.io/hackage-deps/v/serialport.svg>+[hackage-deps]:       <http://packdeps.haskellers.com/feed?needle=serialport>
serialport.cabal view
@@ -1,5 +1,5 @@ Name:           serialport-Version:        0.5.1+Version:        0.5.2 Cabal-Version:  >= 1.10 Build-Type:     Simple license:        BSD3@@ -19,20 +19,21 @@  source-repository head   type:     git-  location: git://github.com/standardsemiconductor/serialport.git+  location: https://github.com/standardsemiconductor/serialport  Library   Exposed-Modules:    System.Hardware.Serialport   Other-Modules:      System.Hardware.Serialport.Types-  Build-Depends:      base >= 4 && < 5, bytestring+  Build-Depends:      base       >= 4.12 && < 4.16, +                      bytestring >= 0.11 && < 0.12   ghc-options:        -Wall -fno-warn-orphans   default-language: Haskell2010        if !os(windows)-    Build-Depends:    unix+    Build-Depends:    unix >= 2.7 && < 2.8     Other-Modules:    System.Hardware.Serialport.Posix   else-    Build-Depends:    Win32+    Build-Depends:    Win32 >= 2.11 && < 2.13     Other-Modules:    System.Hardware.Serialport.Windows                       System.Win32.Comm