Skip to content

Commit ef955e9

Browse files
authored
1.2.0 (#5)
* dependencies updated * swift 5.6. minimum required versions are macOS 10.15, iOS 13 * declare isAuthorized as public * refactoring * refactoring * added requestsTimeout property to set requests timeout manually * new get method with [URLQueryItem] param * removed LinuxMain.swift because there’s Test Discovery now in Swift * check * delete XCTestManifests * typo fix * docs and README updated * docs updated * docs updated * refactoring and authorization for insert method * use authorization for get request * refactoring * use authorization for update and delete requests * tests updated * use authorization internally * tests refactoring * docs updated * docs updated * formatting * added a new method to update doc + test for it. docs updated * added a new delete doc method and test for it * docs updated * refactoring and docs * fixes * drop NSObject inheritance * docs * docs * refactoring * docs * Insert doc method added * update doc id and rev in insert doc method. Handling CouchDB error in insert method * update doc inside update method * Added get method using generic type that will parse JSON response * docs * docs * throw an error in getAllDBs method. it always returns a value now * test updated * dots * docs * tutorials wip * macOS tutorial added * tutorials wip * docs * refactoring * refactoring * refactoring * refactoring * refactoring * refactoring * typo fix * docs and refactoring * docs and refactoring * renamed worker param name to eventLoopGroup * docs * docs and cleanup * cleanup * macOS tutorial updated * tutorials updated * tutorials updated * Vapor tutorial * tutorial * docs * docs * disable macOS build action * swift-docc-plugin added * script to generate docs using DocC * formatting * readme * Update README.md
1 parent de97bd1 commit ef955e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1644
-418
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ name: Build on macOS and Ubuntu latest
33
on: [push]
44

55
jobs:
6-
macOS:
7-
name: Build on macOS-latest
8-
runs-on: macOS-latest
9-
10-
steps:
11-
- name: Print Swift version
12-
run: swift --version
13-
14-
- name: Checkout
15-
uses: actions/checkout@master
16-
17-
- name: Swift build
18-
run: swift build -c release
19-
20-
- name: Done
21-
run: echo Done
6+
# macOS:
7+
# name: Build on macOS-latest
8+
# runs-on: macOS-latest
9+
#
10+
# steps:
11+
# - name: Print Swift version
12+
# run: swift --version
13+
#
14+
# - name: Checkout
15+
# uses: actions/checkout@master
16+
#
17+
# - name: Swift build
18+
# run: swift build -c release
19+
#
20+
# - name: Done
21+
# run: echo Done
2222

2323
ubuntu:
2424
name: Build on ubuntu-latest

Package.resolved

Lines changed: 83 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
// swift-tools-version:5.5
1+
// swift-tools-version:5.6
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

66
let package = Package(
77
name: "couchdb-vapor",
8-
platforms: [.macOS(.v12), .iOS(.v15)],
8+
platforms: [.macOS(.v10_15), .iOS(.v13)],
99
products: [
1010
// Products define the executables and libraries a package produces, and make them visible to other packages.
1111
.library(name: "CouchDBClient", targets: ["CouchDBClient"]),
1212
],
1313
dependencies: [
14-
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0")
14+
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0"),
15+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
1516
],
1617
targets: [
1718
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

0 commit comments

Comments
 (0)