electron
electron copied to clipboard
feat: remove File.path
Description of Change
It's time.
Checklist
- [x] PR description included and stakeholders cc'd
- [x]
npm testpasses - [x] tests are changed or added
- [x] relevant documentation, tutorials, templates and examples are changed or added
- [x] PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: Removed nonstandard File.path extension from the Web File API.
Are we purposely not giving this a full deprecation cycle and going straight to yanking it?
Are we purposely not giving this a full deprecation cycle and going straight to yanking it?
It was quasi-deprecated in https://github.com/electron/electron/pull/38776, though it didn't get a breaking-changes.md callout.
Moved the deletion to 32.x
🪦 Deprecation Checklist
🗑️ Previous deprecations being removed in this PR
- [x] 🏷️ Pull request is labeled as https://github.com/electron/electron/labels/semver%2Fmajor
- [x] 📢 Are called out as removed in
docs/breaking-changes.md - [x] 📝 Are fully removed from the docs
- [x] ⌨️ All relevant code is removed
@electron/wg-releases: Please confirm these deprecation changes conform to our deprecation policies listed in docs/breaking-changes.md, then check the applicable items in the checklist and remove any non-applicable items.
Release Notes Persisted
Removed nonstandard
File.pathextension from the WebFileAPI.
Whats replacing : File.path ?
Concrate case : user drag a file and the electron app want to save the new version in the same folder, how to know what's the original folder ?
@Makio64 Check the breaking changes doc: https://github.com/electron/electron/blob/main/docs/breaking-changes.md#removed-filepath