teco-core

0.5.7

Core library of the Teco project.
teco-project/teco-core

What's New

0.5.7

2023-10-18T19:26:31Z

Date wrapper enhancements

In this release we updated date wrappers to support concurrency-safe, non-mutating setters for the underlying string value. We also gated some implementation details behind @_spi(_TecoInternals), to avoid unexpected usage.

Announcement: Teco is going to require Swift 5.7+

Teco Core 0.5 is about to be the last minor release that supports Swift 5.5 and 5.6. The upcoming 0.6 release will take advantage of newer Swift features like some and any keywords, Sendable and strict concurrency checking, and more.

We recommend users moving forward to Swift 5.7+ for better generics and concurrency support.

What's Changed

  • Updates TCDateWrapper internals to use SPI by @stevapple in #54
  • Unblocks nonmutating set on $TCDateWrappers by @stevapple in #55

Full Changelog: v0.5.6...v0.5.7

Teco Core

The core library of Teco, an open-source Tencent Cloud SDK for Swift.

Overview

This package provides common functionalities around calling Tencent Cloud APIs, in the following products:

  • TecoCore. This provides helpers for calling Tencent Cloud API v3.
  • TecoSigner. This provides helpers for using Tencent Cloud v1, v3 and COS signing algorithms.

Usage

Add the following entry in your Package.swift:

.package(url: "https://github.com/teco-project/teco-core.git", "0.5.0"..<"0.6.0"),

and TecoCore dependency to your target:

.target(name: "MyApp", dependencies: [.product(name: "TecoCore", package: "teco-core")]),

If you only want signing functionality, use TecoSigner instead:

.target(name: "MyApp", dependencies: [.product(name: "TecoSigner", package: "teco-core")]),

License

Teco Core is released under the Apache 2.0 license. See LICENSE.txt for details.

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

Last updated: Sun Mar 17 2024 14:14:12 GMT-0900 (Hawaii-Aleutian Daylight Time)