summaryrefslogtreecommitdiffhomepage
path: root/mullvad-version
AgeCommit message (Collapse)AuthorFilesLines
2025-07-11Make dev-versions equal to themselvesJoakim Hulthe1-12/+14
2025-07-11Make non-dev version equal to themselvesJoakim Hulthe1-1/+11
2025-06-16Add offline mode for installer loader on WindowsMarkus Pettersson1-2/+2
Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net> Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2025-05-28Implement new version check and app downloaderDavid Lönnhager1-3/+5
This also fixes 'latest_beta' being required in the API Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2025-05-28Make mullvad-version build on iOS and other unsupported targetsDavid Lönnhager3-121/+146
2025-04-01Validate product version in mullvad-versionDavid Lönnhager1-0/+5
2025-03-18Replace to_owned with clone where that's implicitly what was going onLinus Färnstrand1-1/+1
2025-02-21Implement Serialize and Deserialize for mullvad_version::VersionDavid Lönnhager2-0/+22
2025-02-21Switch to regex-lite for mullvad-versionDavid Lönnhager2-2/+2
This brings down the binary size of installer-downloader from 2.3 M to 1.4 M with size optimizations enabled
2025-02-19Fix tiny bug in test around version ordering of dev buildsLinus Färnstrand1-1/+1
2025-02-19Implement test_version_display with helper functionLinus Färnstrand1-18/+9
2025-02-19Remove test helpers and match against fully defined structLinus Färnstrand1-68/+68
2025-02-18Unify daemon app version typesKalle Lindström2-115/+236
Previously we had two types in the code base that dealt with version parsing. This commit unifies these types so that we only use the Version struct that is defines in the mullvad-version crate. This also solves a bug where the daemon code would crash on alpha versions, as the previous version parsing code didn't handle them.
2025-02-11Fix Display output for mullvad-version VersionDavid Lönnhager1-1/+1
2025-02-11Add test for version Display traitDavid Lönnhager1-0/+9
2024-12-18Add support for overriding Android versionKalle Lindström1-2/+10
2024-12-09Update to use new Android version format filesKalle Lindström2-4/+3
2024-11-28Support Android app's new version code formatKalle Lindström2-33/+256
2024-11-08Check that the daemon version is correct post-upgradeMarkus Pettersson2-33/+66
2024-05-29Migrate to gRPCDavid Göransson1-1/+1
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2024-05-16Refactor and add commentsSebastian Holmin1-32/+31
2024-05-16Clarify side-effect in docstringSebastian Holmin1-2/+3
2024-05-16Add comments explaining the files we are trackingSebastian Holmin1-4/+15
Also add a note on the `.git/packed-refs` file and why we don't need to track it.
2024-05-16Extract `rerun-if` logic to separate fnSebastian Holmin1-43/+57
2024-05-16Fix unnecessary rebuilds of `mullvad-version`Sebastian Holmin1-15/+34
2024-01-16Add rust-version to all Cargo.tomlLinus Färnstrand1-0/+1
2024-01-09Remove version and publish cargo metadataLinus Färnstrand1-2/+0
Since Rust 1.75.0 the `version` field is optional. The version defaults to "0.0.0" if it's not specified, and `publish` defaults to false if no version has been given. So by not specifying a version we get both `version = "0.0.0" and `publish = false` "for free"
2024-01-04Add workspace level lintsLinus Färnstrand1-0/+3
2023-07-14Set package fields in workspace and inherit in packagesLinus Färnstrand1-6/+7
2023-05-18Fix stable Android version codeAlbin1-3/+10
2023-04-26Fix remaining clippy warningsDavid Lönnhager1-2/+5
2023-03-01Try less to be smartLinus Färnstrand1-17/+7
2023-03-01Fix bug in mullvad-version build.rs triggering rebuild every timeLinus Färnstrand1-12/+42
2023-02-28Allow building without .git directoryCole Helbling1-9/+10
Nixpkgs does not keep around .git directories by default since they are not totally deterministic. This new HEAD hash check will obviously fail without a .git.
2023-01-12Remove Rust dependencies from Android that were unusedLinus Färnstrand1-1/+1
2022-12-21Apply more clippy fixesEmīls1-2/+2
2022-10-10Make Visual Studio/C++ projects fetch version.h from mullvad-versionLinus Färnstrand1-6/+45
2022-10-10Make Android fetch versionName and versionCode from mullvad-versionLinus Färnstrand3-45/+71
2022-10-10Make electron-builder fetch version from mullvad-versionLinus Färnstrand2-7/+27
2022-10-10Use mullvad-version in build.shLinus Färnstrand1-0/+3
2022-10-10Add initial mullvad-version crateLinus Färnstrand3-0/+125