Compare commits

..

10 Commits

Author SHA1 Message Date
Bram b6e181237f Merge branch 'develop' into 3-timeline 2024-01-23 19:20:44 +01:00
BramvdnHeuvel ef9b007730
Merge origin/develop-to-main to origin/develop
Develop to main for beta 2.1.1
2024-01-12 17:22:32 +01:00
Bram van den Heuvel 311de94c1f Bump to beta 2.1.1 2024-01-12 17:18:01 +01:00
Bram van den Heuvel 462aa3a2dc Fix test 2024-01-12 17:15:07 +01:00
BramvdnHeuvel cecf9c1f77
Merge pull request #11 from noordstar/settings-patch
Update syncTime to be at least 1
2024-01-12 17:12:24 +01:00
Bram van den Heuvel ad3f45d035 Update syncTime to be at least 1 2024-01-12 17:11:07 +01:00
BramvdnHeuvel 2507766248
Merge origin/develop-to-main to origin/develop
Develop to main for beta 2.1.0
2023-12-29 17:17:34 +01:00
Bram af26e2b0a4 Prepare develop for master
elm-test --fuzz 10000 --seed 188919533398969
2023-12-29 17:03:57 +01:00
Bram 138bfd5743 Add elm-test as new merging requirement 2023-12-29 16:56:53 +01:00
BramvdnHeuvel 70f57b1b96
Merge current data types to develop
Merge pull request #8 from noordstar/3-data-types
2023-12-29 15:50:32 +01:00
5 changed files with 6 additions and 4 deletions

View File

@ -8,6 +8,7 @@ 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.
- [ ] 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`
@ -17,6 +18,7 @@ Before that is being done, however, the following tasks should be done:
- [ ] 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.
- [ ] 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.
- [ ] 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).

View File

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

View File

@ -23,7 +23,7 @@ will assume until overriden by the user.
-}
currentVersion : String
currentVersion =
"beta 2.0.0"
"beta 2.1.1"
{-| 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 time (Vault vault) =
Vault <| Envelope.mapSettings (\s -> { s | syncTime = time }) vault
Vault <| Envelope.mapSettings (\s -> { s | syncTime = max 1 time }) vault

View File

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