Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.5.6 #14

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: ['9.0', '9.2', '9.4', '9.6']
ghc: ['9.0', '9.2', '9.4', '9.6', '9.8']
os: [macos-12, ubuntu-20.04, windows-2022]
name: ${{ matrix.os }} GHC ${{ matrix.ghc }}
steps:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.5.6 (11/23/2024)
==================
* Add custom baud rates [13](https://github.com/standardsemiconductor/serialport/pull/13)
* Update package dependency constraints

0.5.5 (1/15/2024)
=================
* Fix runtime error on Windows [6](https://github.com/standardsemiconductor/serialport/pull/6)
Expand Down
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![Haskell CI](https://github.com/standardsemiconductor/serialport/actions/workflows/haskell.yml/badge.svg)](https://github.com/standardsemiconductor/serialport/actions/workflows/haskell.yml)
[![Hackage][hackage-badge]][hackage]
[![Hackage Dependencies][hackage-deps-badge]][hackage-deps]

Cross platform (Linux, Windows and Mac OS) [serial port](https://en.wikipedia.org/wiki/Serial_port) interface.

Expand All @@ -22,8 +21,8 @@ withSerial port defaultSerialSettings $ \s -> do

[Concurrently](https://hackage.haskell.org/package/async) read and write a serial port at 19200 [baud](https://learn.sparkfun.com/tutorials/serial-communication/rules-of-serial) using `hWithSerial`:
```haskell
import Control.Concurrent.Async ( concurrently_ )
import Control.Monad ( forever )
import Control.Concurrent.Async
import Control.Monad
import System.Hardware.Serialport
import System.IO

Expand Down Expand Up @@ -56,7 +55,5 @@ serialPortSettings = defaultSerialSettings{ commSpeed = CS19200 }
### Running the tests
* 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>
[hackage]: <https://hackage.haskell.org/package/serialport>
[hackage-badge]: <https://img.shields.io/hackage/v/serialport.svg?color=success>
4 changes: 2 additions & 2 deletions serialport.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: serialport
Version: 0.5.5
Version: 0.5.6
Cabal-Version: >= 1.10
Build-Type: Simple
license: BSD3
Expand All @@ -24,7 +24,7 @@ source-repository head
Library
Exposed-Modules: System.Hardware.Serialport
Other-Modules: System.Hardware.Serialport.Types
Build-Depends: base >= 4.12 && < 4.20,
Build-Depends: base >= 4.12 && < 4.21,
bytestring >= 0.11 && < 0.13
ghc-options: -Wall -fno-warn-orphans
default-language: Haskell2010
Expand Down
Loading