Swiftpack.co - Swift Packages by tgrapperon

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by tgrapperon

tgrapperon/swift-dependencies-additions 1.0.1
More dependencies for `swift-dependencies`
⭐️ 275
πŸ•“ 20 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.0.1
20 weeks ago
## What's Changed * Fix backward compatibility issue with `swift-concurrency-extras` by @tgrapperon in https://github.com/tgrapperon/swift-dependencies-additions/pull/87 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/1.0.0...1.0.1
34 weeks ago
This bumps `Dependencies` major version to 1.0.0.
0.5.2
35 weeks ago
## What's Changed * Remove two deprecated `ProxyBindable` requirements in https://github.com/tgrapperon/swift-dependencies-additions/pull/76 * Build for xrOS (Vision Pro) in https://github.com/tgrapperon/swift-dependencies-additions/pull/75 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/0.5.1...0.5.2
0.5.1
45 weeks ago
## What's Changed * Depend on and import XCTestDynamicOverlay explicitly by @myihsan in https://github.com/tgrapperon/swift-dependencies-additions/pull/65 ## New Contributors * @myihsan made their first contribution in https://github.com/tgrapperon/swift-dependencies-additions/pull/65 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/0.5.0...0.5.1
0.5.0
47 weeks ago
## What's Changed * Make `PersistentContainer` initialization more flexible in https://github.com/tgrapperon/swift-dependencies-additions/pull/61 * Fix DocC references in https://github.com/tgrapperon/swift-dependencies-additions/pull/55 * Bump resolved dependencies in https://github.com/tgrapperon/swift-dependencies-additions/pull/59 * Cleanup and modernize in https://github.com/tgrapperon/swift-dependencies-additions/pull/60 * Fix some concurrency warnings in https://github.com/tgrapperon/swift-dependencies-additions/pull/62 * Doc tweaks by @finestructure in https://github.com/tgrapperon/swift-dependencies-additions/pull/56 * Update CI in https://github.com/tgrapperon/swift-dependencies-additions/pull/63 ## New Contributors * @finestructure made their first contribution in https://github.com/tgrapperon/swift-dependencies-additions/pull/56 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/0.4.0...0.5.0
0.4.0
48 weeks ago
## What's new * You don't need to override `\.logger` dependency when testing. See #52. * You can observe `\.userDefaults` changes without using the `_AppStorage` dependency. See #50. ## What's Changed * Add `OSSignposter` sugar and make `Logger` not fail by default when testing in https://github.com/tgrapperon/swift-dependencies-additions/pull/51 * Stream of UserDefaults values by @atacan in https://github.com/tgrapperon/swift-dependencies-additions/pull/53 ## New Contributors * @atacan made their first contribution in https://github.com/tgrapperon/swift-dependencies-additions/pull/53 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/0.3.2...0.4.0
0.3.2
50 weeks ago
## What's Changed * Lazily configure `PersistentContainer`'s `viewContext` on first access to avoid potential deadlocks in https://github.com/tgrapperon/swift-dependencies-additions/pull/47 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/0.3.1...0.3.2
0.3.1
1 year ago
## What's Changed * Simplify `StateObject.Dependency` suggested by @kabiroberai in https://github.com/tgrapperon/swift-dependencies-additions/pull/39 * Fix `UserDefault`'s tests by @Sajjon in https://github.com/tgrapperon/swift-dependencies-additions/pull/35 * Improve `Proxy` documentation in https://github.com/tgrapperon/swift-dependencies-additions/pull/40 * Remove `Logger`'s dependency to `BundleInfo` in https://github.com/tgrapperon/swift-dependencies-additions/pull/41 ## New Contributors * @Sajjon made their first contribution in https://github.com/tgrapperon/swift-dependencies-additions/pull/35 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/0.3.0...0.3.1
0.3.0
1 year ago
## What's new * Add AccessibilityDependency (UIAccessibility abstraction) by @acosmicflamingo in https://github.com/tgrapperon/swift-dependencies-additions/pull/26 * Add AssertionDependency by @john-flanagan in https://github.com/tgrapperon/swift-dependencies-additions/pull/28 ## What's Changed * Improve UserDefaults diagnostic on Linux in https://github.com/tgrapperon/swift-dependencies-additions/pull/25 * Improve Proxies ergonomics in https://github.com/tgrapperon/swift-dependencies-additions/pull/31 * Typo by @JacksonUtsch in https://github.com/tgrapperon/swift-dependencies-additions/pull/29 ## New Contributors * @john-flanagan made their first contribution in https://github.com/tgrapperon/swift-dependencies-additions/pull/28 * @JacksonUtsch made their first contribution in https://github.com/tgrapperon/swift-dependencies-additions/pull/29 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/0.2.0...0.3.0
0.2.0
1 year ago
## What's Changed * Fix typo in userDefaults getter for Data types by @acosmicflamingo in https://github.com/tgrapperon/swift-dependencies-additions/pull/23 * Fix `UserDefaults` `Double` values and improve test coverage of this dependency. * Because it is not behaving as expected, the ability to directly read and write URLs to `UserDefaults` on Linux has been temporarily removed. This doesn't apply to Apple platforms that can read and write URLs to `UserDefaults` normally. Feel free to open a discussion if you need this functionality on Linux. ## New Contributors * @acosmicflamingo made their first contribution in https://github.com/tgrapperon/swift-dependencies-additions/pull/23 **Full Changelog**: https://github.com/tgrapperon/swift-dependencies-additions/compare/0.1.3...0.2.0
iOS macOS watchOS tvOS
tgrapperon/swift-composable-environment 0.5.3
A library to derive and compose Environment's in The Composable Architecture.
⭐️ 131
πŸ•“ 1 year ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Provide aliases to improve cohabitation with protocol reducers
1 year ago
When importing versions of TCA defining `ReducerProtocol`, there will likely be ambiguities when using the @Dependency property wrapper, or the DependencyKey protocol. As this library will give way to TCA, the preferred approach is the following: Define a typealias to both TCA's types in a module you own (or in your application if you're not using modules): ```swift import ComposableArchitecture public typealias DependencyKey = ComposableArchitecture.DependencyKey public typealias Dependency = ComposableArchitecture.Dependency ``` Because these typeliases are defined in modules you own, they will be preferred to external definitions when resolving types. Replace all occurrences of `DependencyKey` by `Compatible.DependencyKey` and `@Dependency` by `@Compatible.Dependency`. You can use Xcode search/replace in all files for this purpose. In this state, your project should build without ambiguities and you can start transitioning to reducer protocols at your rhythm.
0.5.2
2 years ago
This is a simple maintenance release. * Added support for recursive environments thanks to @maximkrouk.
0.5.1
2 years ago
A new `ComposableDependencies` module can be used when you only want to define dependencies without having to commit to `ComposableEnvironment` or `GlobalEnvironment` at this level[^1]. These dependencies can then be imported and used by either environment's style (thanks @maximkrouk). [^1]: You don't need to import `ComposableDependencies` if you're already importing `ComposableEnvironment` or `GlobalEnvironment` where you declare your dependency. You can now call `Dependencies.reset()` to reset dependencies to their default when testing features using `GlobalEnvironment`. This method is not available for `ComposableEnvironment`, as you can create new environment instances instead.
`GlobalEnvironment` and dependency aliases
2 years ago
### `GlobalEnvironment` The library is now split into two mutually exclusive modules: - `ComposableEnvironment`, when you need to update a dependency value mid-chain - `GlobalEnvironment`, when your dependencies are shared among all your environments with the same values. Requirements for both modules are different. `GlobalEnvironment` is the simplest one to implement and should fit most cases. If your project doesn't require mid-chain overrides of dependencies, we recommend adopting `GlobalEnvironment`, which can be as simple as conforming your environment type to a marker protocol. The API is kept as similar as possible, so you can migrate a project from one to another without having to change much code. ### Dependency aliases You can now identify dependencies defined with different names in different domains. For example, if you defined `main` for the main queue in one domain and `mainQueue` in another, you can alias the former with the latter using: ```swift environment.aliasing(\.main, to: \.mainQueue) ``` Both properties will then return the same dependency value. Aliasing can also be defined when using the `@DerivedEnvironment` property wrapper. ### `ComposableDependencies` The `ComposableDependencies` type, where you install your computed properties to access your dependencies, has been renamed `Dependencies`. An Xcode "fix-it" is provided.
AutoComposableEnvironment
2 years ago
You can now optionally forgo `@Dependency` and `@DerivedEnvironment` declarations: - You can directly access dependencies using their property name defined in `ComposableDepencies` directly in your `ComposableEnvironment` subclass, as if you defined `@Dependency(\.someDependency) var someDependency`. - You can use environment-less pullbacks. They will vend your derived feature's reducer a derived environment of the expected type. This is equivalent to defining `@DerivedEnvironment<ChildEnvironment> var child` in your parent's environment, and using `[…], environment:\.child)` when pulling-back. You still need `@Dependency` if you want to customize the exposed name of your dependency in your environment, like ```swift @Dependency(\.someDependency) var anotherNameForTheDependency ``` You still need `@DerivedEnvironment` if you want to override the dependencies inside the environment's chain: ```swift @DerivedEnvironment var child = ChildEnvironment().with(\.someDependency, someValue) ``` The example app was updated to show how this feature can be used and mixed with the property-wrapper approach.
2 years ago
This release removes the restriction which prohibited dependencies values to be modified once the chain of environment was accessed for the first time. This safeguard was installed because environments did retrieve dependencies from their parent only once, on first access (for performance reasons), without any updating mechanism. This restriction is now lifted and environments are now spotting when their parent's dependencies have potentially changed, and update accordingly.
2 years ago
@Inlinable and @usableFromInline decoration were removed to avoid polluting the ABI of the library. The performance gain was hypothetic, and they may be reinstated someday if their positive influence is clearly assessed. Premature optimization is the root of all evil.
2 years ago
2 years ago
iOS macOS watchOS tvOS
tgrapperon/swiftui-layout-guides 0.1.0
Expose layout margins and readable content width to SwiftUI's Views
⭐️ 52
πŸ•“ 1 year ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.1.0
1 year ago
## What's Changed * add `fitToLayoutMarginsWidth` by @aehlke in https://github.com/tgrapperon/swiftui-layout-guides/pull/6 * Turn the `Fit…` wrapper views into `ViewModifier`s in https://github.com/tgrapperon/swiftui-layout-guides/pull/7 **Full Changelog**: https://github.com/tgrapperon/swiftui-layout-guides/compare/0.0.5...0.1.0
0.0.5
1 year ago
## What's Changed * fix macos builds by @aehlke in https://github.com/tgrapperon/swiftui-layout-guides/pull/5 ## New Contributors * @aehlke made their first contribution in https://github.com/tgrapperon/swiftui-layout-guides/pull/5 **Full Changelog**: https://github.com/tgrapperon/swiftui-layout-guides/compare/0.0.4...0.0.5
1 year ago
Fix an issue with `NavigationSplitView` sidebar toggling.
0.0.3
1 year ago
This release slightly improves performance and documentation.
2 years ago
2 years ago
iOS macOS watchOS tvOS
tgrapperon/composable-effect-identifier 0.0.1
A library that helps managing `Effect` identifiers when using "The Composable Architecture" (TCA)
⭐️ 37
πŸ•“ 2 years ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Initial Release
2 years ago
iOS macOS watchOS tvOS
tgrapperon/isowords isowords-staging-deploy-v125
Open source game built in SwiftUI and the Composable Architecture.
⭐️ 0
πŸ•“ 1 year ago
iOS macOS watchOS tvOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics