Skip to content

Commit

Permalink
Update dependencies, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Feb 1, 2024
1 parent 4167485 commit da8ed04
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| Version | Supported | |
| ------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| 2.0.2-dev | :warning: | [Docs](https://docs.butterfly.linwood.dev/docs/2.1/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.0.2-rc.0) |
| 2.0.1 | :white_check_mark: | [Docs](https://docs.butterfly.linwood.dev/docs/2.0/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.0.1) |
| 2.0.2 | :white_check_mark: | [Docs](https://docs.butterfly.linwood.dev/docs/2.0/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.0.2) |
| 1.6.1 | :x: | [Docs](https://docs.butterfly.linwood.dev/docs/1.6/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v1.6.1) |
| 1.5.1 | :x: | [Docs](https://docs.butterfly.linwood.dev/docs/1.5/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v1.5.1) |
| 1.4.4 | :x: | [Docs](https://docs.butterfly.linwood.dev/docs/1.4/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v1.4.4) |
Expand Down
2 changes: 1 addition & 1 deletion api/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: butterfly_api
description: The Linwood Butterfly API
version: 2.1.0-beta.0
version: 2.0.3-rc.0

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down
2 changes: 1 addition & 1 deletion app/AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ AppDir:
id: dev.linwood.butterfly
name: Linwood Butterfly
icon: dev.linwood.butterfly
version: 2.1.0-beta.0
version: 2.0.3-rc.0
exec: butterfly
exec_args: $@
apt:
Expand Down
2 changes: 1 addition & 1 deletion app/linux/debian/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: linwood-butterfly
Version: 2.1.0-beta.0
Version: 2.0.3-rc.0
Section: base
Priority: optional
Homepage: https://github.com/LinwoodDev/butterfly
Expand Down
18 changes: 9 additions & 9 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ packages:
dependency: transitive
description:
name: build_runner_core
sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185
sha256: "4ae8ffe5ac758da294ecf1802f2aff01558d8b1b00616aa7538ea9a8a5d50799"
url: "https://pub.dev"
source: hosted
version: "7.2.11"
version: "7.3.0"
built_collection:
dependency: transitive
description:
Expand All @@ -167,7 +167,7 @@ packages:
path: "../api"
relative: true
source: path
version: "2.1.0-beta.0"
version: "2.0.3-rc.0"
camera:
dependency: "direct main"
description:
Expand Down Expand Up @@ -333,10 +333,10 @@ packages:
dependency: "direct main"
description:
name: device_info_plus
sha256: "0042cb3b2a76413ea5f8a2b40cec2a33e01d0c937e91f0f7c211fde4f7739ba6"
sha256: "77f757b789ff68e4eaf9c56d1752309bd9f7ad557cb105b938a7f8eb89e59110"
url: "https://pub.dev"
source: hosted
version: "9.1.1"
version: "9.1.2"
device_info_plus_platform_interface:
dependency: transitive
description:
Expand Down Expand Up @@ -699,10 +699,10 @@ packages:
dependency: "direct main"
description:
name: image
sha256: "004a2e90ce080f8627b5a04aecb4cdfac87d2c3f3b520aa291260be5a32c033d"
sha256: "49a0d4b0c12402853d3f227fe7c315601b238d126aa4caa5dbb2dcf99421aa4a"
url: "https://pub.dev"
source: hosted
version: "4.1.4"
version: "4.1.6"
intl:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1097,10 +1097,10 @@ packages:
dependency: "direct main"
description:
name: share_plus
sha256: f74fc3f1cbd99f39760182e176802f693fa0ec9625c045561cfad54681ea93dd
sha256: "3ef39599b00059db0990ca2e30fca0a29d8b37aae924d60063f8e0184cf20900"
url: "https://pub.dev"
source: hosted
version: "7.2.1"
version: "7.2.2"
share_plus_platform_interface:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publish_to: none
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.1.0-beta.0+91
version: 2.0.3-rc.0+91

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -37,7 +37,7 @@ dependencies:
url: https://github.com/CodeDoctorDE/phosphor-flutter
ref: f370dd2c25d3ea51ffb8f1c7c183bc9f33889c82
replay_bloc: ^0.2.5
share_plus: ^7.2.1
share_plus: ^7.2.2
package_info_plus: ^5.0.1
idb_shim: ^2.3.2
go_router: ^13.1.0
Expand Down Expand Up @@ -91,8 +91,8 @@ dependencies:
dynamic_color: ^1.6.9
popover: ^0.2.9
markdown: ^7.2.1
device_info_plus: ^9.1.1
image: ^4.1.4
device_info_plus: ^9.1.2
image: ^4.1.6
dev_dependencies:
flutter_native_splash: ^2.3.10
#flutter_launcher_icons: ^0.11.0
Expand Down
4 changes: 2 additions & 2 deletions app/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
<link rel="manifest" href="manifest.json">


<script src="pdf.js/pdf.min.js" type="module"></script>
<script src="pdf.js/pdf.min.mjs" type="module"></script>
<script type="text/javascript">
pdfjsLib.GlobalWorkerOptions.workerSrc = "pdf.js/pdf.worker.min.js";
pdfjsLib.GlobalWorkerOptions.workerSrc = "pdf.js/pdf.worker.min.mjs";
</script>
<script>
// The value below is injected by flutter build, do not touch.
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 4 additions & 1 deletion fastlane/metadata/android/en-US/changelogs/91.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* Fix export pdf print instead of export as file
* Fix scroll in pdf export dialog
* Fix pdf.js on web
* Fix exporting on web
* Fix exporting on web
* Fix notch area not being used in full screen ([#368](https://github.com/LinwoodDev/Butterfly/issues/368))

Read more here: https://linwood.dev/butterfly/2.0.3-rc.0
4 changes: 2 additions & 2 deletions tools/update_deps.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Future<void> main(List<String> args) async {
}

Future<void> updatePdfJs() async {
final pdfFile = File('app/web/pdf.js/pdf.min.js');
final pdfWorkerFile = File('app/web/pdf.js/pdf.worker.min.js');
final pdfFile = File('app/web/pdf.js/pdf.min.mjs');
final pdfWorkerFile = File('app/web/pdf.js/pdf.worker.min.mjs');
// Find latest version
final fetchedRelease = json.decode((await http.get(Uri.parse(
'https://api.github.com/repos/mozilla/pdf.js/releases/latest')))
Expand Down

0 comments on commit da8ed04

Please sign in to comment.