Skip to content

Commit

Permalink
Merge branch 'master' into persistent-sqlite-conn-pool-config
Browse files Browse the repository at this point in the history
  • Loading branch information
parsonsmatt authored Dec 7, 2023
2 parents 043d38a + e2fb8d4 commit fcbf875
Show file tree
Hide file tree
Showing 6 changed files with 37,995 additions and 16,756 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,4 @@ jobs:
- run: cabal v2-build all --disable-optimization $CONFIG
- run: cabal v2-test all --disable-optimization $CONFIG --test-options "--fail-on-focus"
- run: cabal v2-bench all --disable-optimization $CONFIG
- run: cabal v2-haddock all $CONFIG
continue-on-error: true
- run: cabal v2-sdist all
2 changes: 2 additions & 0 deletions persistent-sqlite/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
Using ConnectionPoolConfig, it is possible to set the connection idle timeout.
* [#1486](https://github.com/yesodweb/persistent/pull/1486)
* Add Database.Sqlite.open' which takes a ByteString
* [#1522](https://github.com/yesodweb/persistent/pull/1522)
* Update the sqlite amalgamation to 3.43.1

## 2.13.2.0

Expand Down
4 changes: 3 additions & 1 deletion persistent-sqlite/Database/Sqlite.hs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ openError path' = do
open :: Text -> IO Connection
open path = open' (encodeUtf8 path)

-- @since 2.13.2.0
-- | Like 'open', but accepts a 'ByteString' instead of a 'Text'.
--
-- @since 2.13.3.0
open' :: BS.ByteString -> IO Connection
open' path = do
databaseOrError <- openError path
Expand Down
Loading

0 comments on commit fcbf875

Please sign in to comment.