Commit Graph

236 Commits

Author SHA1 Message Date
Bryan Oltman 1e4efce65f fix: make tests pass on Windows (#252)
* fix: make tests pass on Windows

* Run ci on all supported building OSes

* Add os name to CI step

* Build rust crates on all oses

* tweak

* Only run rust on multiple oses for now
2024-12-11 12:09:04 -05:00
Bryan Oltman b4775d30dd feat: support macOS (#247)
* feat: support macOS

* fix tests
2024-12-05 17:53:45 -05:00
Eric Seidel 6298d37d86 chore: add cspell checking and make pass (#244)
* chore: add cspell checking and make pass

* chore(shorebird_code_push): minor improvements to example (#242)

* chore(shorebird_code_push): v2.0.2 (#243)

* chore: fix cspell

---------

Co-authored-by: Felix Angelov <felix@shorebird.dev>
2024-11-20 13:50:16 -05:00
Felix Angelov 7b124114ea chore(shorebird_code_push): v2.0.2 (#243) 2024-11-20 11:56:45 -06:00
Felix Angelov e0b533c3d6 chore(shorebird_code_push): minor improvements to example (#242) 2024-11-20 11:53:07 -06:00
Eric Seidel 2ae6afbb65 fix: unbreak web build for 2.x (#241)
* fix: unbreak web build

* chore: add cspell config
2024-11-20 11:35:49 -06:00
Bryan Oltman 8e40228558 fix typo 2024-11-20 09:51:02 -05:00
Bryan Oltman 60c38dc647 feat: 2.0.1 2024-11-20 09:50:21 -05:00
Bryan Oltman acfa307a94 fix: increase minimum flutter version to 3.24.5 (#240) 2024-11-20 09:47:18 -05:00
Bryan Oltman 7648128a1e chore: remove upper Flutter bound in shorebird_code_push as per pub validation warning 2024-11-14 16:33:49 -05:00
Bryan Oltman 47dd248f0e chore: prep version 2.0 (#237) 2024-11-14 16:31:05 -05:00
Bryan Oltman 13536daea1 docs: fix code sample in readme 2024-11-14 16:15:24 -05:00
Felix Angelov ee3f5ec669 feat(shorebird_code_push): track support (#232)
* feat(shorebird_code_push): track support

* cleanup and add todos

* docs

* run ffigen

* use c_char instead of char

* Add channel support

* tests

* tests

* update podfile.lock

* Update example to include tracks selector

---------

Co-authored-by: Bryan Oltman <bryan@shorebird.dev>
Co-authored-by: Bryan Oltman <bryanoltman@gmail.com>
2024-11-12 14:58:50 -05:00
Eric Seidel 59bcb311d5 docs: Clarify that update() Future only completes when download is done. (#236) 2024-11-11 14:56:10 -06:00
Bryan Oltman c06b5df4e9 fix: reset patches when updater state fails to deserialize (#233)
* fix: reset patches when updater state fails to deserialize

* cleanup
2024-11-08 22:10:30 +00:00
Bryan Oltman 0988c854af Revert "feat: generate a rollout group number on UpdaterState creation (#227)" (#231)
This reverts commit 8e7ec5a9b6.
2024-11-07 09:34:32 -05:00
Felix Angelov 81894b56be docs(shorebird_code_push): minor improvements to snippet in README 2024-11-05 11:56:28 -06:00
Felix Angelov 488570d3f0 chore(shorebird_code_push): v2.0.0-dev.2 (#230) 2024-11-05 11:50:35 -06:00
Felix Angelov 099d5124f8 fix(shorebird_code_push): export ReadPatchException 2024-11-05 11:43:35 -06:00
Felix Angelov 25821df380 fix(shorebird_code_push): tighten library exports 2024-11-05 11:42:58 -06:00
Felix Angelov a2022e152e chore(shorebird_code_push): iOS project updates 2024-11-04 14:14:08 -06:00
Felix Angelov 6f1be35bd3 feat(shorebird_code_push): rewrite Dart API (#225) 2024-11-04 12:22:37 -06:00
Bryan Oltman 8e7ec5a9b6 feat: generate a rollout group number on UpdaterState creation (#227)
* feat: generate a rollout group number on UpdaterState creation

* update test

* use inclusive range
2024-10-30 17:40:46 -04:00
Bryan Oltman 5ace5b84f5 chore: improve logging (#226) 2024-10-30 12:33:02 -04:00
Bryan Oltman 9294c545e8 feat: prepend all log messages with "[shorebird]" (#221)
* feat: prepend all log messages with "[shorebird]"

* update doc

* PR feedback
2024-10-30 11:53:20 -04:00
dependabot[bot] daaea653b9 chore(deps): bump ffigen (#222)
Bumps the shorebird_code_push-deps group in /shorebird_code_push with 1 update: [ffigen](https://github.com/dart-lang/native/tree/main/pkgs).


Updates `ffigen` from 14.0.1 to 15.0.0
- [Release notes](https://github.com/dart-lang/native/releases)
- [Commits](https://github.com/dart-lang/native/commits/HEAD/pkgs)

---
updated-dependencies:
- dependency-name: ffigen
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: shorebird_code_push-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 09:56:42 -04:00
Bryan Oltman 3384b91597 chore: prepare for release 1.1.6 2024-10-16 16:07:50 -04:00
Eric Seidel 3ad4166f23 feat: add a longer no-op message. (#218)
This is a common source of confusion, hopefully this will help.
2024-10-04 14:08:41 -05:00
dependabot[bot] 8dd189a739 chore(deps): bump ffigen (#214)
Bumps the shorebird_code_push-deps group with 1 update in the /shorebird_code_push directory: [ffigen](https://github.com/dart-lang/native/tree/main/pkgs).


Updates `ffigen` from 12.0.0 to 14.0.1
- [Release notes](https://github.com/dart-lang/native/releases)
- [Commits](https://github.com/dart-lang/native/commits/HEAD/pkgs)

---
updated-dependencies:
- dependency-name: ffigen
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: shorebird_code_push-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 15:43:11 -07:00
Eric Seidel de66ca0e78 docs: Add a bit more API docs for isNewPatchAvailableForDownload (#216) 2024-09-27 14:00:01 -04:00
Bryan Oltman 7324546a55 docs: update changelog for 1.1.5 2024-09-24 11:11:12 -04:00
Bryan Oltman ce9516acb3 chore: bump version to 1.1.5 2024-09-24 11:10:22 -04:00
Bryan Oltman 4c382e285a fix: add comment 2024-09-24 11:09:30 -04:00
Bryan Oltman db98cb1746 fix: show error if new update is not ready to install after running downloadUpdateIfAvailable 2024-09-24 11:06:35 -04:00
Bryan Oltman 9f64853f07 chore: bump restart_app version to latest 2024-09-24 11:04:22 -04:00
Bryan Oltman b2d5eced03 feat: add message to patch event (#210) 2024-08-30 17:03:43 +00:00
Bryan Oltman e4e4c57b59 chore: log when reporting successful launch (#209) 2024-08-30 16:30:38 +00:00
Bryan Oltman bec79a4f8d fix: update current_boot_patch to always return currently running patch (#202)
* fix: don't return true from isNewPatchAvailableForDownload if the new patch will not be installed

* fix: update current_boot_patch to always return currently running patch

* add C api tests

* add extra test check
2024-07-25 21:13:58 +00:00
Bryan Oltman 7c559c0915 fix: don't return true from isNewPatchAvailableForDownload if the new patch will not be installed (#201) 2024-07-25 16:50:55 -04:00
Felix Angelov f8275ced2d chore: minor improvements to actions/workflows (#200)
* chore: minor improvements to actions/workflows

* tweak
2024-07-25 13:50:17 -05:00
Eric Seidel f37fee86a9 chore: remove trailing slash 2024-07-25 11:21:35 -07:00
Eric Seidel 5bdd30420d Attempt to debug token 2024-07-25 11:12:21 -07:00
Eric Seidel eee7a191ac simplify id token setup 2024-07-25 11:09:18 -07:00
Eric Seidel 66d6638048 Fix exporting PUB_TOKEN 2024-07-25 11:03:11 -07:00
Eric Seidel aeb7cfbaa5 fix pub token call 2024-07-25 10:58:25 -07:00
Eric Seidel febb66a1a5 attempt to fix my terrible js 2024-07-25 10:53:41 -07:00
Eric Seidel 6ce023e1ba fix PUB_TOKEN request 2024-07-25 10:51:34 -07:00
Eric Seidel 07d77623d2 Attempt to auth to pub 2024-07-25 10:46:22 -07:00
Eric Seidel 3c6712d5ad Attempt to fix publish action 2024-07-25 10:16:54 -07:00
Eric Seidel 3f7aa1feb7 Attempt to fix publish action 2024-07-25 10:13:27 -07:00