Fuse.Scripting: deprecate NativePromise without Context (beta-3.0) - #1467
Merged
Conversation
mortend
added a commit
to mortend/fuselibs
that referenced
this pull request
Mar 18, 2023
Make most native promises in Fuselibs receive the Context parameter. Like fuse-open#1467 but without the parts changing public API.
Make all existing instances of NativePromise receive the Context parameter, and deprecate the old constructors and delegate types.
mortend
added a commit
to mortend/fuselibs
that referenced
this pull request
Mar 18, 2023
Make most native promises in Fuselibs receive the Context parameter. Like fuse-open#1467 but without the parts changing public API.
ichan-mb
added a commit
to ichan-mb/fuselibs
that referenced
this pull request
Jul 28, 2023
Fuse.PushNotifications: Android 12 compatibility fix
Apps targeting Android 12 and higher are required to specify an explicit
value for `android:exported` when the corresponding component has an
intent filter defined.
2.6.1
Fuse.Launcher.Phone: implement SMS launcher
* Add Launcher.LaunchSms(string phoneNumber, string body) method.
* Add sms(phoneNumber: string, body?: string) method to FuseJS/Phone
module.
* Add Sms trigger action for UX.
upgrade @fuse-open/uno (2.7.0)
CHANGELOG: add v2.7 changes
2.7.0
Fuse.Scripting.JavaScript: support async/await
This adds "regenerator-runtime" which makes it possible to use
async/await from transpiled JavaScript or TypeScript code, e.g.:
async example() {
try {
await Foo.requestPermission()
console.log("Permission granted!")
} catch (e) {
console.error(e)
}
}
Source: https://github.com/facebook/regenerator/tree/e4b592a44ef0d3a366cc7ad6125c4d9c8f6cc597/packages/runtime
Fuse.Scripting: use compiler to generate closures
Use lambda expressions instead of manually created closure classes.
There was a bug in Uno blocking us from using lambda expressions before,
fixed by fuse-open/uno#446.
Fuse.Scripting: add Context parameter to native promises
Make most native promises in Fuselibs receive the Context parameter.
Like fuse-open#1467 but without the parts changing public API.
README: link to tsconfig
use nodejs v16
Use nodejs v16 on AppVeyor and upgrade package-lock.json to version 2.
README: remove Travis CI build status
iOS: update deprecated include header
upgrade @fuse-open/uno (2.8.0)
CHANGELOG: add v2.8 changes
2.8.0
doc-export: add Fuse.Controls.DrawingPanel
Fuse.LocalNotifications: fix package name on Android
Use a macro that will expand to the package name of the app being built,
fixing the build error introduced in 98a3359.
ichan-mb
pushed a commit
to ichan-mb/fuselibs
that referenced
this pull request
Jul 28, 2023
Make most native promises in Fuselibs receive the Context parameter. Like fuse-open#1467 but without the parts changing public API.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make all existing instances of NativePromise receive the Context parameter, and deprecate the old constructors and delegate types.