Skip to content

Commit 0ff3fd0

Browse files
committed
v3.3.4
1 parent 4429721 commit 0ff3fd0

39 files changed

+114
-68
lines changed

.github/workflows/publish.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# .github/workflows/publish.yml
2+
name: Publish to pub.dev
3+
4+
on:
5+
push:
6+
tags:
7+
- 'v[0-9]+.[0-9]+.[0-9]+*' # tag-pattern on pub.dev: 'v'
8+
9+
# Publish using the reusable workflow from dart-lang.
10+
jobs:
11+
publish-package:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v3
17+
18+
- name: Set up Flutter
19+
uses: subosito/flutter-action@v2
20+
with:
21+
channel: 'stable'
22+
23+
- name: Get dependencies
24+
run: flutter pub get
25+
26+
- name: Analyze code
27+
run: flutter analyze
28+
29+
- name: Format code
30+
run: dart format --fix .
31+
32+
- name: Check publish warnings
33+
run: dart pub publish --dry-run
34+
35+
- name: Publish package
36+
uses: k-paxian/dart-package-publisher@v1.5.1
37+
with:
38+
credentialJson: ${{ secrets.CREDENTIAL_SECRET }}
39+
flutter: true
40+
skipTests: true

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [3.3.4] - 2024-01-01
2+
3+
* Update license date
4+
* Dependency updates
5+
* Add GitHub actions
6+
17
## [3.3.3] - 2023-10-05
28

39
* Use Dio instead of the **http** library

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2023, WooSignal Ltd
3+
Copyright (c) 2024, WooSignal Ltd
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In your flutter project add the dependency:
2828
``` dart
2929
dependencies:
3030
...
31-
wp_json_api: ^3.3.3
31+
wp_json_api: ^3.3.4
3232
```
3333

3434
### Usage example #

example/pubspec.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ packages:
3737
dependency: transitive
3838
description:
3939
name: collection
40-
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
40+
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
4141
url: "https://pub.dev"
4242
source: hosted
43-
version: "1.17.2"
43+
version: "1.18.0"
4444
dio:
4545
dependency: transitive
4646
description:
4747
name: dio
48-
sha256: "417e2a6f9d83ab396ec38ff4ea5da6c254da71e4db765ad737a42af6930140b7"
48+
sha256: "797e1e341c3dd2f69f2dad42564a6feff3bfb87187d05abb93b9609e6f1645c3"
4949
url: "https://pub.dev"
5050
source: hosted
51-
version: "5.3.3"
51+
version: "5.4.0"
5252
fake_async:
5353
dependency: transitive
5454
description:
@@ -95,10 +95,10 @@ packages:
9595
dependency: transitive
9696
description:
9797
name: meta
98-
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
98+
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
9999
url: "https://pub.dev"
100100
source: hosted
101-
version: "1.9.1"
101+
version: "1.10.0"
102102
path:
103103
dependency: transitive
104104
description:
@@ -124,18 +124,18 @@ packages:
124124
dependency: transitive
125125
description:
126126
name: stack_trace
127-
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
127+
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
128128
url: "https://pub.dev"
129129
source: hosted
130-
version: "1.11.0"
130+
version: "1.11.1"
131131
stream_channel:
132132
dependency: transitive
133133
description:
134134
name: stream_channel
135-
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
135+
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
136136
url: "https://pub.dev"
137137
source: hosted
138-
version: "2.1.1"
138+
version: "2.1.2"
139139
string_scanner:
140140
dependency: transitive
141141
description:
@@ -156,10 +156,10 @@ packages:
156156
dependency: transitive
157157
description:
158158
name: test_api
159-
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
159+
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
160160
url: "https://pub.dev"
161161
source: hosted
162-
version: "0.6.0"
162+
version: "0.6.1"
163163
typed_data:
164164
dependency: transitive
165165
description:
@@ -180,17 +180,17 @@ packages:
180180
dependency: transitive
181181
description:
182182
name: web
183-
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
183+
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
184184
url: "https://pub.dev"
185185
source: hosted
186-
version: "0.1.4-beta"
186+
version: "0.3.0"
187187
wp_json_api:
188188
dependency: "direct dev"
189189
description:
190190
path: ".."
191191
relative: true
192192
source: path
193-
version: "3.3.3"
193+
version: "3.3.4"
194194
sdks:
195-
dart: ">=3.1.0-185.0.dev <4.0.0"
195+
dart: ">=3.2.0-194.0.dev <4.0.0"
196196
flutter: ">=1.17.0"

lib/enums/wp_auth_type.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2023, WooSignal Ltd.
1+
// Copyright (c) 2024, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/enums/wp_meta_data_action_type.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2023, WooSignal Ltd.
1+
// Copyright (c) 2024, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/enums/wp_route_type.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2023, WooSignal Ltd.
1+
// Copyright (c) 2024, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/empty_username_exception.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2023, WooSignal Ltd.
1+
// Copyright (c) 2024, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/existing_user_email_exception.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2023, WooSignal Ltd.
1+
// Copyright (c) 2024, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

0 commit comments

Comments
 (0)