Skip to content

Releases: liamnichols/xcstrings-tool

1.0.0

13 Oct 15:15
f8f99ed
Compare
Choose a tag to compare

What's Changed

  • Breaking: Remove deprecated LocalizedStringResource API by @liamnichols in #107
  • Make bundle a computed property by @liamnichols in #109
  • Add Hashable conformance to generated type by @liamnichols in #110
  • Tool - Support Swift 6 language mode (Strict Concurrency) by @liamnichols in #112
  • Fix "'retroactive' attribute does not apply here" error when using Xcode 16 RC by @liamnichols in #115
  • Implements static string extension. by @fgroeger in #114
  • Fix variable name from string catalog with an acronym in the name by @liamnichols in #116
    • i.e URL Strings.xcstrings will generate a variables/labels named urlStrings now and not uRLStrings

New Contributors

Full Changelog: 0.5.2...1.0.0
SHA for xcstrings-tool.artifactbundle.zip: 5ebd6e4fd6f5ecd63b2bc21e51cbd955ee33786607f5419ada9b9fbabfe44c27

1.0.0-prerelease-2024-09-16

16 Sep 12:05
a9c476b
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: 0.5.2...1.0.0-prerelease-2024-09-16
SHA for xcstrings-tool.artifactbundle.zip: TBC

1.0.0-prerelease-2024-08-05

05 Aug 08:04
a680cf5
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 0.5.2...1.0.0-prerelease-2024-08-05
SHA for xcstrings-tool.artifactbundle.zip: TBC

1.0.0-prerelease-2024-07-29

29 Jul 11:57
e370ad9
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 0.5.2...1.0.0-prerelease-2024-07-29

SHA for xcstrings-tool.artifactbundle.zip: 073bd75e36bcb5ccd2eb64cd32eb7065498656aa1f272768905e1ef79db32c21

0.5.2

17 Jul 09:34
e31d703
Compare
Choose a tag to compare

What's Changed

  • Document using xcstrings-tool cli directly by @liamnichols in #103
  • Pin dependencies to swiftlang GitHub organization (was apple) and remove .git suffix by @liamnichols in #105
  • Support prerelease versions of Swift Syntax by @liamnichols in #106

Full Changelog: 0.5.1...0.5.2

SHA for xcstrings-tool.artifactbundle.zip: b00f9461c318dd46eb5e8c0a368f0f77366ef9aa92f672b15ee122210ea61961

0.5.1

19 Jun 14:44
7a34609
Compare
Choose a tag to compare

What's Changed

  • Improve performance when generating source code for large Strings Catalogs by @liamnichols in #96
  • Support using generated code in Swift 6 language mode by @liamnichols in #98
  • Support using Swift Syntax 600.0.0 by @liamnichols in #98

Internal


Full Changelog: 0.5.0...0.5.1

SHA for xcstrings-tool.artifactbundle.zip: 4394f0c8759fd4ed3b7762fe46db12ec0b68f7a4803d8d6003f0faf6526a2e3e

0.5.0

09 Jun 11:16
f49794c
Compare
Choose a tag to compare

What's Changed

  • Add support for legacy .strings and .stringsdict file formats by @liamnichols in #20
  • Add deprecation warnings to generated LocalizedStringResource API by @liamnichols in #93

Full Changelog: 0.4.2...0.5.0

SHA for xcstrings-tool.artifactbundle.zip: 1b9934efa72b071b395f8e507ba53d5f0e5a8e5d6bd8cc0cf6e5dfba992d1f2a

0.4.2

31 May 13:18
5296dbd
Compare
Choose a tag to compare

What's Changed

  • Backtick variable/method names that conflict with Swift keywords by @liamnichols in #91
  • Remove deployment target specifications for non-macOS platforms by @liamnichols in #92

Full Changelog: 0.4.1...0.4.2

SHA for xcstrings-tool.artifactbundle.zip: 300943fea84c92a918340a9764b9c72ca696d350d477fc7b04a14bc23d5cfd06

0.4.1

28 May 20:27
ed5fb37
Compare
Choose a tag to compare

What's Changed

New in 0.4.0, dedicated support for SwiftUI has been added through extensions on Text and LocalizedStringKey 🎉 APIs support iOS 13/macOS 10.5 and later and allow you to benefit from full SwiftUI support for features such as markdown and dynamic language overrides.

var body: some View {
    Form {
        TextField(.localizable(.namePlaceholder), text: $name)
        Text(localizable: .footnote)
    }
    .navigationTitle(.localizable(.createAccountTitle))
}

It is now preferred to use the LocalizedStringKey.localizable(_:) or LocalizedStringResource.localizable(_:) static methods instead of the LocalizedStringResource.localizable static property. The static property has been marked as deprecated. A warning will be emitted starting in 0.5.0 and the code will be completely removed in 1.0.0. See below for migrating your code:

- Text(.localizable.foo)
+ Text(.localizable(.foo))
- String(localized: .localizable.bar)
+ String(localizable: .bar)
- .navigationTitle("\(.localizable.title)")
+ .navigationTitle(.localizable(.title))

Pull Requests

0.4.1

0.4.0

Full Changelog: 0.4.0...0.4.1

SHA for xcstrings-tool.artifactbundle.zip: 0dea864c5d351258f5d513e1c749a9a2f1b3eb9b9cab907b4acdd74a02988770

0.4.0

28 May 18:26
84db435
Compare
Choose a tag to compare

What's Changed

New in 0.4.0, dedicated support for SwiftUI has been added through extensions on Text and LocalizedStringKey 🎉 APIs support iOS 13/macOS 10.5 and later and allow you to benefit from full SwiftUI support for features such as markdown and dynamic language overrides.

var body: some View {
    Form {
        TextField(.localizable(.namePlaceholder), $name)
        Text(localizable: .footnote)
    }
    .navigationTitle(.localizable(.createAccountTitle))
}

It is now preferred to use the LocalizedStringKey.localizable(_:) or LocalizedStringResource.localizable(_:) static methods instead of the LocalizedStringResource.localizable static property. The static property has been marked as deprecated. A warning will be emitted starting in 0.5.0 and the code will be completely removed in 1.0.0. See below for migrating your code:

- Text(.localizable.foo)
+ Text(.localizable(.foo))
- String(localized: .localizable.bar)
+ String(localizable: .bar)
- .navigationTitle("\(.localizable.title)")
+ .navigationTitle(.localizable(.title))

Pull Requests

Full Changelog: 0.3.0...0.4.0

SHA for xcstrings-tool.artifactbundle.zip: 08ed23abb733f5cabc6627be696e497972870ec6cfec8a5c284de310349dd0ed