Commit Graph

68 Commits

Author SHA1 Message Date
Bastian de Byl
3b1991970b fix: migrate semantic-release from GitHub to Gitea
Some checks failed
Release / release (push) Failing after 19s
- Replace @semantic-release/github with @saithodev/semantic-release-gitea
- Configure giteaUrl for git.debyl.io
- Use Gitea's automatic GITHUB_TOKEN as GITEA_TOKEN
- Set git author/committer for bot commits
2026-01-02 17:27:31 -05:00
semantic-release-bot
dd69d72adb chore(release): 0.5.0 [skip ci]
# [0.5.0](https://git.debyl.io/debyltech/go-snipcart/compare/v0.4.1...v0.5.0) (2026-01-02)

### Features

* add discount and savings fields to Order struct ([043da74](043da741fa))
v0.5.0
2026-01-01 23:24:29 -05:00
Bastian de Byl
8bcd564447 chore: add semantic-release workflow and configuration
Some checks failed
Release / release (push) Failing after 41s
Added GitHub Actions workflow for automatic versioning and releases using semantic-release with Angular commit convention.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 11:11:16 -04:00
Bastian de Byl
043da741fa feat: add discount and savings fields to Order struct
Added Discount struct with comprehensive discount information and added discount-related fields (Discounts, SavedAmount, TotalRebateRate) to Order struct to expose discount data from Snipcart API.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 10:49:36 -04:00
Bastian de Byl
a2fdeafc3c noticket - add missing shippingAddressSameAsBilling order field v0.4.1 2024-11-05 18:42:03 -05:00
Bastian de Byl
5e2a2afd42 added OrderNotification, OrderNotifications, client.GetOrderNotifications v0.4.0 2023-09-25 13:05:05 -04:00
Bastian de Byl
d7c5fd3b74 updated helpers for Get request fix v0.3.13 2023-09-13 13:48:50 -04:00
Bastian de Byl
b586a3184c added TotalTaxes to Order v0.3.12 2023-08-11 11:29:15 -04:00
Bastian de Byl
805491571c added missing Completed field for completion date of order v0.3.11 2023-07-29 17:34:01 -04:00
Bastian de Byl
10a9427598 corrected CustomField.Options field to string from []string v0.3.10 2023-07-27 13:48:13 -04:00
Bastian de Byl
3816c67b95 added more data types to CustomField struct v0.3.9 2023-07-27 13:44:06 -04:00
Bastian de Byl
c18376739b added TotalTaxable to Order v0.3.8 2023-07-03 13:31:26 -04:00
Bastian de Byl
6d85149be8 corrected Taxes to Order (new OrderTax struct) v0.3.7 2023-07-03 13:21:06 -04:00
Bastian de Byl
cf4ad9642d added Taxes to Order (omitempty) v0.3.6 2023-07-03 13:18:42 -04:00
Bastian de Byl
e1adf8cf4f added Offset and Limit to Orders struct v0.3.5 2023-07-03 12:14:40 -04:00
Bastian de Byl
73195a090f added ShippingError and ShippingErrors struct v0.3.4 2023-06-06 19:54:21 -04:00
Bastian de Byl
db81f246bf corrected TaxContent time for epoch (unix time) int from time.Time v0.3.3 2023-06-06 19:12:01 -04:00
Bastian de Byl
9c7218f937 added TaxWebhook struct v0.3.2 2023-06-06 19:07:14 -04:00
Bastian de Byl
543935289f removed unused snipcart/client.go file v0.3.1 2023-06-06 18:38:42 -04:00
Bastian de Byl
a4127264ef expanded webhook tax coverage, moved and renamed items to exclude Snipcart preamble v0.3.0 2023-06-06 18:28:10 -04:00
Bastian de Byl
5a74c2bae8 main corrected Operation in ProductCustomField to float64 from int v0.2.6 2023-05-12 15:23:14 -04:00
Bastian de Byl
d7f1571e09 main added CustomFields to snipcart product v0.2.5 2023-05-12 15:20:36 -04:00
Bastian de Byl
f18e21f181 main return only one product for GetProductById v0.2.4 2023-05-12 10:46:54 -04:00
Bastian de Byl
d56cf589da main correct the output of GetProductById v0.2.3 2023-05-12 03:14:07 -04:00
Bastian de Byl
9e631a91b1 corrected SnipcartProductsResponse, added GetProductById v0.2.2 2023-05-12 00:36:50 -04:00
Bastian de Byl
e575ff03a8 added GetProducts, SnipcartProductsResponse, SnipcartProductVariant v0.2.1 2023-05-12 00:01:55 -04:00
Bastian de Byl
0ec82e6397 modified NewClient to return ptr v0.2.0 2023-05-03 14:22:29 -04:00
Bastian de Byl
687a5df39f added ValidateWebhook(token) func to client v0.1.16 2023-05-03 14:20:15 -04:00
Bastian de Byl
131af89f4f moved enums to enums.go, added SendNotification, Notification structs & enums v0.1.15 2023-04-12 16:56:01 -04:00
Bastian de Byl
b93afeec2f added Created and Modified times to SnipcartOrder v0.1.14 2023-04-09 18:31:53 -04:00
Bastian de Byl
bc56b4d16a 8677r5eju added initial .drone.yml 2023-04-06 23:34:18 -04:00
Bastian de Byl
b08b64f5b2 added SnipcartTax and SnipcartWebhookTaxResponse v0.1.13 2023-04-06 17:59:48 -04:00
Bastian de Byl
ad93704f41 renamed Order.ShippingRate to Order.ShippingRateId v0.1.12 2023-04-03 21:20:22 -04:00
Bastian de Byl
b97ee3132b consolidated webhook order to just order v0.1.11 2023-03-29 13:24:09 -04:00
Bastian de Byl
cfdde462f4 added more order struct details v0.1.10 2023-03-29 13:14:30 -04:00
Bastian de Byl
e039b583e2 fixed Curreny to Currency typo v0.1.9 2023-03-13 00:26:11 -04:00
Bastian de Byl
26571a41fa changed ShippingAddress State to Province v0.1.8 2023-03-13 00:16:22 -04:00
Bastian de Byl
559a100e90 added more missing OrderEventContent fields v0.1.7 2023-03-13 00:14:47 -04:00
Bastian de Byl
6ff851823e added missing OrderEventContent fields v0.1.6 2023-03-13 00:12:11 -04:00
Bastian de Byl
db6e320b7f added webhook specific structs v0.1.5 2023-03-13 00:07:50 -04:00
Bastian de Byl
563e6baeda main added Metadata field to SnipcartOrder struct v0.1.4 2023-03-02 17:19:50 -05:00
Bastian de Byl
e1f7e99027 moved webhook to go-snipcart-webhook repo v0.1.3 2023-02-26 21:23:37 -05:00
Bastian de Byl
36ca8d6f83 added initial webhook main function v0.1.2 2023-02-26 20:36:12 -05:00
Bastian de Byl
d182b35d56 updated helper module v0.1.1 2023-02-26 15:26:59 -05:00
Bastian de Byl
1d5b44c7e9 renamed SnipcartProvider to Client v0.1.0 2023-02-26 14:41:04 -05:00
Bastian de Byl
84941b7acd corrected Price related field types v0.0.24 2023-02-26 14:17:31 -05:00
Bastian de Byl
28f77f63b9 added Total and Subtotal to SnipcartOrder v0.0.23 2023-02-26 14:16:26 -05:00
Bastian de Byl
2a97bca474 added TotalPrice to SnipcartItem v0.0.22 2023-02-26 14:14:52 -05:00
Bastian de Byl
2d91d1d122 corrected SnipcartItem v0.0.21 2023-02-26 14:11:55 -05:00
Bastian de Byl
13f482e50a fixed UpdateOrder method from downstream helper v0.0.20 2023-02-26 02:47:32 -05:00