Skip to content

Releases: EnesKaraosman/LoremSwiftify

1.0.1

Choose a tag to compare

@EnesKaraosman EnesKaraosman released this 11 Apr 04:30

Improvements

  • Add CI, Swift version, platforms, and license badges to README
  • Fix installation version in README
  • Add .spi.yml for Swift Package Index compatibility
  • Add bug report and feature request issue templates
  • Add pull request template
  • Update repo description and topics for discoverability
  • Enable GitHub Discussions

Full Changelog: 1.0.0...1.0.1

1.0.0

Choose a tag to compare

@EnesKaraosman EnesKaraosman released this 11 Apr 04:19

[1.0.0] - 2026-04-11

Breaking Changes

  • Optional conformance is now conditional (where Wrapped: LoremIpsumize) and randomly returns .some or .none instead of always .none
  • Int8, Int16, Int32, Int64 now return random values instead of .max
  • UInt, UInt8, UInt16, UInt32, UInt64 now return random values instead of .max
  • Generated lorem() is now wrapped in #if DEBUG — requires debug builds
  • Generated lorem() access level now matches the type's access level (was always public)
  • Test directory renamed from LoremSwiftsumizeTests to LoremSwiftifyTests

New Features

  • Deterministic mode: .loremFixed() returns the same predictable data every time — ideal for snapshot tests and stable previews
  • Batch generation: .lorem(count: N) and .loremFixed(count: N) generate arrays of mock instances
  • 50+ @Lorem string categories covering name, contact, address, business, internet, text, banking, commerce, app, and more
  • Numeric ranges: @Lorem(.int(.range(min:max:))) and @Lorem(.double(.range(min:max:))))
  • Price generation: @Lorem(.double(.price)) for realistic product prices
  • URL categories: .avatar (robohash) and .companyLogo

New Type Support

  • Set<T> (2-10 random elements)
  • CGFloat, CGPoint, CGSize, CGRect
  • Data (random bytes)
  • Character

Improvements

  • Simplified @Lorem attribute parsing — now supports complex expressions like .int(.range(min: 0, max: 100))
  • Added CLAUDE.md with project guidelines
  • Comprehensive README rewrite with full API documentation

Tests

  • Added 26 macro expansion tests (from 0) across 6 test files
  • Fixed test infrastructure: macro registration keys, MacroSpec with conformances

0.3.0

Choose a tag to compare

@EnesKaraosman EnesKaraosman released this 21 Sep 09:08

What's Changed

  • chore(deps): update dependency apple/swift-syntax to v600 by @renovate in #18
  • chore(deps): remove swift-macro-testing dependency

Full Changelog: 0.2.1...0.3.0

0.2.1

Choose a tag to compare

@EnesKaraosman EnesKaraosman released this 14 May 20:56

What's Changed

  • fix: correct recursive lorem kind call
  • chore(deps): update dependency apple/swift-syntax to from: "510.0.2" by @renovate in #9

Full Changelog: 0.2.0...0.2.1

0.2.0

Choose a tag to compare

@EnesKaraosman EnesKaraosman released this 14 Apr 12:32
35cd68f

What's Changed

  • chore(deps): update dependency pointfreeco/swift-macro-testing to from: "0.4.0" by @renovate in #8
  • feat: add Example project that demonstrates usages for SwiftUI Preview

Full Changelog: 0.1.0...0.2.0

0.1.0

Choose a tag to compare

@EnesKaraosman EnesKaraosman released this 04 Apr 12:48

What's Changed

  • chore: Configure Renovate by @renovate in #1
  • chore(deps): update dependency pointfreeco/swift-macro-testing to from: "0.3.0" by @renovate in #3
  • chore(deps): update dependency apple/swift-syntax to from: "509.1.1" by @renovate in #2
  • chore(deps): update dependency vadymmarkov/fakery to from: "5.1.0" by @renovate in #5
  • chore(deps): update actions/checkout action to v4 by @renovate in #6
  • chore(deps): update dependency apple/swift-syntax to v510 by @renovate in #7

New Contributors

Full Changelog: https://github.com/EnesKaraosman/LoremSwiftify/commits/0.1.0