Repository navigation
Releases: Vernum-Projecten/simple-icons-swift
Releases · Vernum-Projecten/simple-icons-swift
Release list
simple-icons-swift 16.36.2
Immutable
release. Only release title and notes can be modified.
Changed
- Breaking: every icon is now a static function: write
SimpleIcon.swift()and.github()instead ofSimpleIcon.swiftand.github. A public static property makes the library export a property descriptor per icon, and an app kept the names of all 3,467 in its symbol table even when it used six icons. A release build of a program with six icons is now 0.15 MB instead of 0.5 MB on macOS (0.35 MB instead of 0.6 MB on Linux), measured unstripped with its symbol table. To update, add()after every icon.SimpleIcon.allCasesand every icon's properties are unchanged (#17).
simple-icons-swift 16.36.1
Immutable
release. Only release title and notes can be modified.
Changed
- An app now contains only the icons it uses: a release build with six icons is 0.5 MB instead of 8.2 MB. Every icon is compiled into the app where it is used, and the others never reach the binary.
SimpleIcon.allCasesstill lists every icon; an app that uses it contains them all (#12).
Removed
SimpleIconis no longerCaseIterable: the conformance kept every icon in every app.SimpleIcon.allCasesstays and works as before; generic code that needs the protocol can addextension SimpleIcon: @retroactive CaseIterable {}itself (#12).
Fixed
- The README and the documentation show
import SimpleIconsnext toimport SimpleIconsSwiftUI: with only the second, a member such asSimpleIcon.allCasesdoes not compile.
simple-icons-swift 16.36.0
Immutable
release. Only release title and notes can be modified.
Changed
- The package's version is now the version of the Simple Icons release it holds: this is 16.36.0, with the icons of Simple Icons 16.36.0, and the same code as 1.0.0. Depend on
from: "16.36.0"; there is a release for every Simple Icons release from now on.
simple-icons-swift 1.0.0
Immutable
release. Only release title and notes can be modified.
Added
- Every icon of Simple Icons 16.36.0 as a typed constant on
SimpleIcon(SimpleIcon.swift),
with its title, slug, brand color, source, guidelines, license and aliases, andallCases. svg, the icon's SVG exactly as Simple Icons publishes it, andsvg(fill:)in any color.SVGPath, the icon's path as absolute drawing commands for any graphics API, on every
platform Swift runs on, Linux included.SimpleIconsSwiftUI:SimpleIconView,SimpleIconShape,Path(_:)and
Color(simpleIcon:)for iOS, macOS, tvOS, watchOS and visionOS.