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
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
Eric Seidel
933e231636
feat: add automated publishing to shorebird_code_push ( #197 )
...
* feat: add automated publishing to shorebird_code_push
* include version bump
2024-07-25 16:29:21 +00:00
dependabot[bot]
cf99f6e426
chore(deps): bump very_good_analysis ( #181 )
...
Bumps the shorebird_code_push-deps group in /shorebird_code_push with 1 update: [very_good_analysis](https://github.com/VeryGoodOpenSource/very_good_analysis ).
Updates `very_good_analysis` from 5.1.0 to 6.0.0
- [Release notes](https://github.com/VeryGoodOpenSource/very_good_analysis/releases )
- [Changelog](https://github.com/VeryGoodOpenSource/very_good_analysis/blob/main/CHANGELOG.md )
- [Commits](https://github.com/VeryGoodOpenSource/very_good_analysis/compare/v5.1.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: very_good_analysis
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-07-09 16:24:46 -04:00
dependabot[bot]
6ab6972c1e
chore(deps): bump ffigen ( #160 )
...
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 11.0.0 to 12.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-05-17 20:51:38 +00:00
dependabot[bot]
0735b56f52
chore(deps): bump the shorebird_code_push-deps group ( #128 )
...
Bumps the shorebird_code_push-deps group in /shorebird_code_push with 2 updates: [ffigen](https://github.com/dart-lang/native/tree/main/pkgs ) and [mocktail](https://github.com/felangel/mocktail ).
Updates `ffigen` from 8.0.2 to 11.0.0
- [Release notes](https://github.com/dart-lang/native/releases )
- [Commits](https://github.com/dart-lang/native/commits/ffigen-v11.0.0/pkgs )
Updates `mocktail` from 0.3.0 to 1.0.3
- [Release notes](https://github.com/felangel/mocktail/releases )
- [Commits](https://github.com/felangel/mocktail/compare/mocktail-v0.3.0...mocktail-v1.0.3 )
---
updated-dependencies:
- dependency-name: ffigen
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: shorebird_code_push-deps
- dependency-name: mocktail
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>
Co-authored-by: Bryan Oltman <bryanoltman@gmail.com >
2024-03-04 10:24:48 -05:00
Felix Angelov
71ab252ab9
chore: dart format
2023-12-20 16:14:17 -06:00
Bryan Oltman
52119a5906
update changelog
2023-10-20 15:48:48 -04:00
Bryan Oltman
79b3748c3d
Merge branch 'main' of https://github.com/shorebirdtech/updater
2023-10-20 15:45:15 -04:00
Bryan Oltman
a6ad4897c4
update version to 1.1.3
2023-10-20 15:44:03 -04:00
Bryan Oltman
5182397b09
docs(shorebird_code_push): improve example in readme ( #102 )
...
* docs(shorebird_code_push): improve example in readme
* wording
2023-10-20 12:53:32 -04:00
Bryan Oltman
ef20c33725
chore(shorebird_code_push): remove error log when shorebird is unavailable ( #101 )
...
* chore(shorebird_code_push): remove error log when shorebird is unavailable
* fix tests
2023-10-20 12:36:31 -04:00
Bryan Oltman
3b4b6ebc24
docs: fix method name in readme
2023-10-07 23:41:15 -04:00
Bryan Oltman
bb2e0b5c04
Update changelog
2023-10-07 23:37:07 -04:00
Bryan Oltman
c2a7665b6a
chore: bump version to 1.1.1
2023-10-07 23:34:44 -04:00
Bryan Oltman
bec99ff276
chore: format pubspec.yaml
2023-10-07 23:34:29 -04:00
Bryan Oltman
2bbcfa5752
chore: fix repository link in pubspec
2023-10-07 23:33:43 -04:00
Bryan Oltman
11c220c2ec
fix: add delay to unstick download banner ( #94 )
...
* fix: add delay to fix download banner
* revert change
* minor tweak
* reduce wait time for download banner
2023-10-03 14:01:29 -04:00
Bryan Oltman
6a65a46027
add trailing comma
2023-09-20 10:52:29 -04:00
Eric Seidel
e14f630f91
refactor: move shorebird_code_push_io and _web into src/ ( #75 )
...
* break: move shorebird_code_push_io and _web into src/
Users were sometimes importing the _web version thinking it
was the "web safe" import, rather than shorebird_code_push.dart
and then being surprised when ShorebirdCodePush did nothing.
Fixes https://github.com/shorebirdtech/shorebird/issues/1209
* Update formating for Dart 3.1
2023-09-07 07:38:15 -07:00
Felix Angelov
abe4126da5
chore(shorebird_code_push): v1.1.0 ( #60 )
2023-07-14 16:08:24 -05:00
Felix Angelov
2e851aa913
docs: add coverage badge ( #59 )
2023-07-14 16:03:22 -05:00
Felix Angelov
bccee99656
ci: exclude generated code ( #58 )
2023-07-14 15:57:47 -05:00
Felix Angelov
4ceb37dc1e
refactor(shorebird_code_push): ffi + noop implementation and web compat ( #55 )
2023-07-14 15:30:35 -05:00
Bryan Oltman
0be41d9d85
chore(shorebird_code_push): Release 1.0.0, change downloadUpdate to downloadUpdateIfAvailable ( #46 )
...
* Release 1.0.0, change downloadUpdate to downloadUpdateIfAvailable
* update readme and contributing
* add dart doc
* add discord badge
* remove doc checkin
* formatting
2023-06-29 16:42:56 -04:00
Bryan Oltman
9f638cd250
update example to latest released version
2023-06-23 18:11:58 -04:00
Bryan Oltman
9336cb3add
Release shorebird_code_push 0.1.3
2023-06-23 18:07:14 -04:00
Bryan Oltman
ec7b55aecb
add ignore_for_file header to generated files
2023-06-23 18:06:00 -04:00
Bryan Oltman
d162c724ec
Update example after running in xcode
2023-06-23 15:19:08 -04:00
Bryan Oltman
aa60264e15
release shorebird_code_push 0.1.2
2023-06-23 14:12:42 -04:00
Bryan Oltman
ef13b122f1
doc(shorebird_code_push): lengthen pubspec.yaml description
2023-06-23 14:04:19 -04:00
Eric Seidel
3af4081f55
fix: Only allow one update attempt at a time ( #44 )
...
This is all for shorebirdtech/shorebird#695
I ended up fixing a lot of things in our Rust code while I was in there, including:
* Using PathBuf instead of Sting wherever we are holding onto Path objects (this removed a bunch of code which was converting in and out of these).
* Made a variety of functions private (the default) that were previously mistakenly pub.
* Moved the android hacks around libapp_paths closer to the C++ code. Previously we were storing all of the libapp_paths on ResolvedConfig and handling the android hacks during patch install. Now we're doing the android path hacks on init, eventually we'll remove them entirely by making the C++ code pass us in the android app_dir or even the resolved .apk we need instead of the libapp_paths.
* Fixed several tests to use /dir/lib/arch/libapp.so paths instead of 'libapp.so' now that the init code applies the android hacks an expects the deeper paths. Again, this will go away when we move the android hacks into c++.
* Added a test which confirms that if we init twice we log instead of trying to init again (this was one behavior which FCM was triggering as part of fix: ANR when using Firebase Cloud Messaging with Shorebird shorebird#695
* Add a test which confirms that further calls to update while an update is ongoing just fail out quickly instead of hanging.
* Moved to serial_test instead of a separate per-thread config system for testing. This makes our tests operate more like the code does in the wild, at the cost of needing to annotate a test as #[serial] any time it needs to use shorebird_init.
* Removed ResolvedConfig and now call it UpdateConfig. ResolvedConfig previously had a bool on it to tell if it was initialized, that's now represented as Option instead which is more rusty.
* Changed how we handle NetworkHooks from being compile-time test switched to using function pointers held off of UpdateConfig.network_hooks. I think this makes more sense? I did this to remove the special ThreadConfig object which was used during unit tests, but didn't exist in production. I think the way we mock networking could still be improved.
2023-06-22 12:45:55 -07:00
Bryan Oltman
7fc761d71f
feat: add restart button to example ( #43 )
2023-06-22 12:11:57 -04:00
Bryan Oltman
fb89fdd412
Update to version 0.1.1, readme updates
2023-06-21 11:02:30 -04:00
Bryan Oltman
4b3ffca8d7
chore: add LICENSE file ( #39 )
...
* chore: add license file
* rename license
2023-06-20 19:55:08 -04:00
Bryan Oltman
1776b058b4
chore(shorebird_code_push): add CHANGELOG.md ( #41 )
...
* chore(shorebird_code_push): add CHANGELOG.md
* remove build number from version
* correct version number
2023-06-20 17:52:12 -04:00