Releases: swift-emacs/swift-mode
Support Swift 5.10 and Swift 6
- Support
nonisolated(unsafe)
.
https://github.com/apple/swift-evolution/blob/main/proposals/0412-strict-concurrency-for-global-variables.md - Support typed throws.
https://github.com/swiftlang/swift-evolution/blob/main/proposals/0413-typed-throws.md - Support
sending
keyword.
https://github.com/swiftlang/swift-evolution/blob/main/proposals/0430-transferring-parameters-and-results.md - Other fixes and CI improvements.
Support Swift 5.9 and Emacs 29
-
consume
operator to end the lifetime of a variable binding
https://github.com/apple/swift-evolution/blob/main/proposals/0366-move-function.md -
borrowing
andconsuming
parameter ownership modifiers
https://github.com/apple/swift-evolution/blob/main/proposals/0377-parameter-ownership-modifiers.md -
New access modifier:
package
https://github.com/apple/swift-evolution/blob/main/proposals/0386-package-access-modifier.md -
Noncopyable structs and enums
https://github.com/apple/swift-evolution/blob/main/proposals/0390-noncopyable-structs-and-enums.md -
Value and Type Parameter Packs
https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md
https://github.com/apple/swift-evolution/blob/main/proposals/0398-variadic-types.md
https://github.com/apple/swift-evolution/blob/main/proposals/0399-tuple-of-value-pack-expansion.md -
Init Accessors
https://github.com/apple/swift-evolution/blob/main/proposals/0400-init-accessors.md -
Macros
https://github.com/apple/swift-evolution/blob/main/proposals/0382-expression-macros.md
https://github.com/apple/swift-evolution/blob/main/proposals/0389-attached-macros.md
https://github.com/apple/swift-evolution/blob/main/proposals/0397-freestanding-declaration-macros.md
https://github.com/apple/swift-evolution/blob/main/proposals/0402-extension-macros.md -
Bug fixes and CI improvements.
Thanks @jpgrayson and @nhojb.
Support Swift 5.8 and part of 5.9
- Add keywords for conditional compilation and annotations.
hasFeature
https://github.com/apple/swift-evolution/blob/main/proposals/0362-piecemeal-future-features.mdhasAttribute
https://github.com/apple/swift-evolution/blob/main/proposals/0367-conditional-attributes.mdbefore
https://github.com/apple/swift-evolution/blob/main/proposals/0376-function-back-deployment.md- Various environment names
if
expresison andswitch
expression (Swift 5.9).
https://github.com/apple/swift-evolution/blob/main/proposals/0380-if-switch-expressions.md- Bug fixes and CI improvements.
Support Swift 5.7
Filling comments and strings
fill-paragraph
, fill-region
, and auto filling in comments and strings, based on woolsweater's work.
- Recognizes some Markdown blocks.
- Handles multiline comments:
/* aaa bbb ccc */ ↓↑ /* aaa bbb ccc */
- If
swift-mode:fill-paragraph-entire-comment-or-string
is non-nil,fill-paragraph
fills the entire comment. - If
comment-fill-column
is defined, it is used in comments rather thanfill-column
.
Fixed face of function names
Function names are now correctly faced with swift-mode:function-name-face
.
Fixes #174.
Fix Imenu for open curly braces on its own line
Support Swift 5.5
Support Swift 5.5 features not included in v8.3.0:
async let
nonisolated
/isolated
get async throws
Async/await and actor
- Adds support to
async
/await
andactor
. - Fix
M-j
andC-M-j
for Emacs 27.
Font Locking for negation operator, and other fixes
- Add support for font-locking negation operator.
- Fix
swift-mode:debug-ios-app
for newer Xcode. - Fix indentations and font-locks.
- Fix documentations.
- Fix GitHub Actions.
- Migrated to Eldev.
Thanks @jcs090218, @woolsweater, and @danielmartin.