Skip to content

Commit 5e36fda

Browse files
committed
release 3.0.14
1 parent cc78c4c commit 5e36fda

6 files changed

Lines changed: 37 additions & 10 deletions

File tree

RELEASE_NOTES.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,3 +1738,28 @@
17381738
| 🔧 zmienione | 1 |
17391739
| ➖ usunięte | 0 |
17401740

1741+
1742+
# Changelog zmian - `## 3.0.14 (2026-02-06)`- `API: 2.0.1`
1743+
1744+
## 1. ksef-client
1745+
1746+
### 1.1 api.builders
1747+
- **InvoiceQueryFiltersBuilder.java**: 🔧 pole `Boolean hasAttachment` domyślnie null
1748+
1749+
### 1.2 client.model
1750+
- **lighthouse/Message.java**: 🔧 zmiana nazwy pola `String cat` na `String category`
1751+
1752+
## 2. demo-web-app
1753+
1754+
### 2.1 integrationTest
1755+
- **LighthouseIntegrationTest.java**: 🔧 dodanie dodatkowych asercji
1756+
1757+
---
1758+
## 3. Podsumowanie
1759+
1760+
| Typ zmiany | Liczba plików |
1761+
|-------------|---------------|
1762+
| ➕ dodane | 0 |
1763+
| 🔧 zmienione | 3 |
1764+
| ➖ usunięte | 0 |
1765+

demo-web-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
}
99

1010
group = "pl.akmf.ksef"
11-
version = "3.0.13"
11+
version = "3.0.14"
1212

1313
java {
1414
toolchain {

demo-web-app/src/integrationTest/java/pl/akmf/ksef/sdk/LighthouseIntegrationTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ void shouldReturnStatus() throws ApiException {
3535
() -> Assertions.assertTrue(msg.getType() != null && !msg.getType().isBlank(), "type"),
3636
() -> Assertions.assertTrue(msg.getTitle() != null && !msg.getTitle().isBlank(), "title"),
3737
() -> Assertions.assertTrue(msg.getText() != null && !msg.getText().isBlank(), "text"),
38+
() -> Assertions.assertTrue(msg.getCategory() != null && !msg.getCategory().isBlank(), "category"),
3839
() -> Assertions.assertNotNull(msg.getStart(), "start")
3940
));
4041
}
@@ -53,6 +54,7 @@ void shouldReturnMessages() throws ApiException {
5354
() -> Assertions.assertTrue(msg.getType() != null && !msg.getType().isBlank(), "type"),
5455
() -> Assertions.assertTrue(msg.getTitle() != null && !msg.getTitle().isBlank(), "title"),
5556
() -> Assertions.assertTrue(msg.getText() != null && !msg.getText().isBlank(), "text"),
57+
() -> Assertions.assertTrue(msg.getCategory() != null && !msg.getCategory().isBlank(), "category"),
5658
() -> Assertions.assertNotNull(msg.getStart(), "start")
5759
));
5860
}

ksef-client/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66

7-
val appVersion = "3.0.13"
7+
val appVersion = "3.0.14"
88
val artifactName = "ksef-client"
99

1010
val githubRepositoryToken = "token"

ksef-client/src/main/java/pl/akmf/ksef/sdk/api/builders/invoices/InvoiceQueryFiltersBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class InvoiceQueryFiltersBuilder {
2121
private String sellerNip;
2222
private InvoiceBuyerIdentifier buyerIdentifier;
2323
private List<CurrencyCode> currencyCodes;
24-
private Boolean hasAttachment = false;
24+
private Boolean hasAttachment;
2525
private InvoicingMode invoicingMode;
2626
private Boolean isSelfInvoicing;
2727
private InvoiceFormType formType;

ksef-client/src/main/java/pl/akmf/ksef/sdk/client/model/lighthouse/Message.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class Message {
1010
// Identyfikator zdarzenia (grupy komunikatow), pozwalajacy powiazac komunikaty (np. start i koniec tej samej awarii).
1111
private int eventId;
1212
// Kategoria komunikatu.
13-
private String cat;
13+
private String category;
1414
// Typ komunikatu.
1515
private String type;
1616
// Tytul komunikatu.
@@ -29,11 +29,11 @@ public class Message {
2929
public Message() {
3030
}
3131

32-
public Message(String id, int eventId, String cat, String type, String title, String text, OffsetDateTime start,
32+
public Message(String id, int eventId, String category, String type, String title, String text, OffsetDateTime start,
3333
OffsetDateTime end, int version, OffsetDateTime published) {
3434
this.id = id;
3535
this.eventId = eventId;
36-
this.cat = cat;
36+
this.category = category;
3737
this.type = type;
3838
this.title = title;
3939
this.text = text;
@@ -59,12 +59,12 @@ public void setEventId(int eventId) {
5959
this.eventId = eventId;
6060
}
6161

62-
public String getCat() {
63-
return cat;
62+
public String getCategory() {
63+
return category;
6464
}
6565

66-
public void setCat(String cat) {
67-
this.cat = cat;
66+
public void setCategory(String category) {
67+
this.category = category;
6868
}
6969

7070
public String getType() {

0 commit comments

Comments
 (0)