Compare commits

..

No commits in common. "b6e181237fe1c3134bb2a35eb00d620853e12745" and "2f7a247dbd9e4c54bccd95c10bef2becbbe3f7a9" have entirely different histories.

5 changed files with 4 additions and 6 deletions

View File

@ -8,7 +8,6 @@ If you wish to merge your branch to the `develop` branch, make sure to follow th
- [ ] Run `elm-format` to ensure the correct formatting of the Elm files. - [ ] Run `elm-format` to ensure the correct formatting of the Elm files.
- [ ] Use `elm-doc-preview` to verify whether the documentation is up to standards. - [ ] Use `elm-doc-preview` to verify whether the documentation is up to standards.
- [ ] Run `elm-test` to verify that all tests run successfully.
## The `develop` branch to `main` ## The `develop` branch to `main`
@ -18,7 +17,6 @@ Before that is being done, however, the following tasks should be done:
- [ ] Run `elm-format` to ensure the correct formatting of the Elm files. - [ ] Run `elm-format` to ensure the correct formatting of the Elm files.
- [ ] Use `elm-doc-preview` to verify whether the documentation is up to standards. - [ ] Use `elm-doc-preview` to verify whether the documentation is up to standards.
- [ ] Run `elm-test --fuzz 1000` to verify that all tests run successfully.
- [ ] Remove exposed modules from `elm.json` that do not need to be exposed modules in the release. - [ ] Remove exposed modules from `elm.json` that do not need to be exposed modules in the release.
- [ ] Run `elm bump` to update the library's version number - [ ] Run `elm bump` to update the library's version number
- [ ] Update the version name in the [default values config file](../src/Internal/Config/Default.elm). - [ ] Update the version name in the [default values config file](../src/Internal/Config/Default.elm).

View File

@ -3,7 +3,7 @@
"name": "noordstar/elm-matrix-sdk-beta", "name": "noordstar/elm-matrix-sdk-beta",
"summary": "Matrix SDK for instant communication. Unstable beta version for testing only.", "summary": "Matrix SDK for instant communication. Unstable beta version for testing only.",
"license": "EUPL-1.1", "license": "EUPL-1.1",
"version": "2.1.1", "version": "2.0.0",
"exposed-modules": [ "exposed-modules": [
"Matrix", "Matrix",
"Matrix.Event", "Matrix.Event",

View File

@ -23,7 +23,7 @@ will assume until overriden by the user.
-} -}
currentVersion : String currentVersion : String
currentVersion = currentVersion =
"beta 2.1.1" "beta 2.0.0"
{-| The default device name that is being communicated with the Matrix API. {-| The default device name that is being communicated with the Matrix API.

View File

@ -68,4 +68,4 @@ getSyncTime (Vault vault) =
-} -}
setSyncTime : Int -> Vault -> Vault setSyncTime : Int -> Vault -> Vault
setSyncTime time (Vault vault) = setSyncTime time (Vault vault) =
Vault <| Envelope.mapSettings (\s -> { s | syncTime = max 1 time }) vault Vault <| Envelope.mapSettings (\s -> { s | syncTime = time }) vault

View File

@ -27,7 +27,7 @@ settings =
vault vault
|> Matrix.Settings.setSyncTime sync |> Matrix.Settings.setSyncTime sync
|> Matrix.Settings.getSyncTime |> Matrix.Settings.getSyncTime
|> Expect.equal (max 1 sync) |> Expect.equal sync
) )
] ]