Releases: surfstudio/SwiftMacros
Releases · surfstudio/SwiftMacros
Release 0.0.3
The third public release contains the following features:
-
SurfMacros
target:URL
: to unwrap url strings with check on precompile time.CompletionHandler
: to create implementation with completion closure of simple protocols.Bridge
: to wrap swift-struct or other object into objc-compatible class.
-
SurfCore
target:EmptyClosure
andClosure<T>
added.- Replaced
fatalError
withdebugPrint
inWeakReference
-
Infrastructure:
- improvements and fixes in
make macro
command
- improvements and fixes in
PRs included
- SNP-1649-url-macro by @Goldilocks97 in #11
- SNP-1654 completion handler macro by @Goldilocks97 in #12
- #tech replace fatal error with debugPrint by @NullIsOne in #13
- SNP-1653 objc-bridge macro by @Goldilocks97 in #14
Full Changelog: 0.0.2...0.0.3
Release 0.0.2
The second public release contains the following features:
-
SurfMacros
target:EnvironmentAccessible
: as snippet, because it is not possible to implement and extensions of external types.Multicast
: as macros, allows to combine delegates, signals, etc into one object.
-
SurfCore
target:- ArrayBuilder to build elements in declarative way.
-
Infrastructure:
- improvements and fixes in
make macro
command
- improvements and fixes in
PRs included
- SPT-2156 Макрос для добавления EnvironmentKey и EnvironmentValues by @Goldilocks97 in #8
- SPT-2157 Multicast macro by @Goldilocks97 in #7
- SNP-1424 removed defaultSignals variable by @Goldilocks97 in #10
Full Changelog: 0.0.1...0.0.2
Release 0.0.1
The first public release contains the following features:
-
SurfMacros
target:Previews
: currently doesn't work properly due to Xcode politic.SingletonFactory<Product>
: adds functionality for a factory to produce an object of typeProduct
.NavigationState
: adds routing functionality to a Navigation struct
-
SurfCore
target:- Weak module for SurfSUI architecture
-
Infrastructure:
- generation of files for a new macro via
make macro
command
- generation of files for a new macro via
PRs included
- SPT-1971 Инициализация SwiftUI Macros by @Goldilocks97 in #1
- SPT-1972 added weak module from SurfSUI by @NullIsOne in #3
- SPT-1973 SwiftUI макрос Previews by @Goldilocks97 in #4
- SPT-2045 Макрос NavigationState (Router) by @Goldilocks97 in #6
Full Changelog: https://github.com/surfstudio/SwiftMacros/commits/0.0.1