Releases: appsquickly/typhoon
Releases · appsquickly/typhoon
Build against recent SDKs. No functional changes.
4.0.9 Bump version.
3.4.5
3.4.4
Enhancements:
- Added namespaces for
TyphoonDefinitions
:
@interface TyphoonDefinition : NSObject <NSCopying>
{
Class _type;
NSString *_key;
TyphoonDefinitionNamespace *_space;
BOOL _processed;
...
In short, it allows to differentiate between definitions declared in different TyphoonAssemblies
. The main benefit for now is the improved support of TyphoonConfigs
.
TyphoonConfigs
now have scope - they can be either global, or assembly-scoped. For details see the updated wiki.
Bugfixes:
- #447 : Duplicate property injections now cause a warning in logs.
Deprecations:
- TyphoonDefinition+Infrastructure:
+ (instancetype)configDefinitionWithName:(NSString *)fileName DEPRECATED_MSG_ATTRIBUTE("use -withConfigName: instead");
+ (instancetype)configDefinitionWithName:(NSString *)fileName bundle:(NSBundle *)fileBundle DEPRECATED_MSG_ATTRIBUTE("use -withConfigName:bundle: instead");
+ (instancetype)configDefinitionWithPath:(NSString *)filePath DEPRECATED_MSG_ATTRIBUTE("use -withConfigPath: instead");
3.4.3
Enhancements:
- Added new convenience method for activating
TyphoonAssembly
:
- (instancetype)activateWithConfigResourceName:(NSString *)resourceName;
It can be used instead of:
TyphoonConfigPostProcessor *processor = [TyphoonConfigPostProcessor processor];
[processor useResourceWithName:@"Config_production.plist"];
[self attachPostProcessor:processor];
[self activate];
3.4.2
Enhancements:
- All of the infrastructure components can now be attached before the assembly's activation (see #444 and #344 ):
- (void)attachDefinitionPostProcessor:(id<TyphoonDefinitionPostProcessor>)postProcessor;
- (void)attachInstancePostProcessor:(id<TyphoonInstancePostProcessor>)postProcessor;
- (void)attachTypeConverter:(id<TyphoonTypeConverter>)typeConverter;
Bugfixes:
- #443 : Previous version didn't compile when installed via
Carthage
- Previous version didn't compile when installed via
cocoapods
withuse_frameworks
enabled.
Deprecations:
- TyphoonComponentFactory:
- (void)attachPostProcessor:(id<TyphoonDefinitionPostProcessor>)postProcessor
- (void)addInstancePostProcessor:(id <TyphoonInstancePostProcessor>)postProcessor