Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adnan/printivity taxjar master merge #2

Open
wants to merge 245 commits into
base: adnan/taxjar-customers
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
245 commits
Select commit Hold shift + click to select a range
338d38d
Include API version in request headers
nvandoorn Feb 2, 2021
6e9ff3c
Merge pull request #34 from nvandoorn/33-put-api-version-in-request-h…
jarednorman Feb 9, 2021
aa2ce49
Add information to README about versions in setup
nvandoorn Feb 10, 2021
2f2b1d0
Merge pull request #38 from nvandoorn/add-version-information-to-readme
jarednorman Feb 10, 2021
4be2a36
Add Taxjar Rails engine
Noah-Silvera Feb 17, 2021
a6d7216
Update the changelog
Noah-Silvera Feb 17, 2021
6a79521
Add a basic pull request template
Noah-Silvera Feb 23, 2021
755bce5
Put plugin name in API request headers
nvandoorn Feb 24, 2021
e5b3490
Merge pull request #39 from Noah-Silvera/add-taxjar-rails-engine
nvandoorn Feb 24, 2021
255cc8b
Merge pull request #40 from Noah-Silvera/add-pull-request-template
jarednorman Feb 25, 2021
9f599f2
Merge pull request #41 from nvandoorn/put-plugin-name-in-headers
Noah-Silvera Feb 25, 2021
9f7b933
Update the engine name
Noah-Silvera Mar 10, 2021
6fe0283
Merge pull request #45 from Noah-Silvera/update-engine-name
Noah-Silvera Mar 11, 2021
51ff05c
Rename module SolidusTaxJar to SolidusTaxjar
AdnanTheExcellent Jan 29, 2021
37fa5e7
Rename classes that have API in their name to Api
AdnanTheExcellent Jan 29, 2021
d3c7bd7
Test against rails 6
Noah-Silvera Mar 9, 2021
5685e91
Update README.md
AdnanTheExcellent Feb 1, 2021
68b258a
Update CHANGELOG.md
AdnanTheExcellent Feb 1, 2021
644ea96
Merge pull request #43 from Noah-Silvera/support-zeitwerk-loading
Noah-Silvera Mar 17, 2021
cbc9db0
Add pending failing spec for address params
forkata Mar 15, 2021
f994ce1
Fix typo in `validate_address_params` helper
forkata Mar 15, 2021
3b47180
Add changelog entry for bug fix
forkata Mar 18, 2021
5355651
Merge pull request #47 from SuperGoodSoft/forkata/fix-typo
forkata Mar 22, 2021
b8dac47
Remove unused spec variable
nvandoorn Mar 24, 2021
84db881
Fix `.default_taxjar_client`
nvandoorn Mar 24, 2021
8ad137e
Update PR template to include sandbox testing step
nvandoorn Mar 24, 2021
498036d
Update CHANGELOG.md
nvandoorn Mar 24, 2021
2366895
Merge pull request #52 from nvandoorn/fix-bug-in-api-class
nvandoorn Mar 24, 2021
cd56b42
Bump super_good-solidus_taxjar to 0.18.1
jarednorman Mar 25, 2021
edb9ac0
Update changelog for v0.18.1
jarednorman Mar 25, 2021
7ed6f05
Merge pull request #53 from nvandoorn/update-pull-request-template-to…
Noah-Silvera Mar 25, 2021
f7a9ee1
Add nexus regions method to API
nvandoorn Feb 24, 2021
e3bbd1d
Update CHANGELOG.md
nvandoorn Mar 22, 2021
a6a14ad
Merge pull request #51 from nvandoorn/add-taxjar-nexus-api-call
Noah-Silvera Mar 26, 2021
2f7eaf1
Add .circleci/config.yml
Noah-Silvera Mar 31, 2021
19e9513
Merge pull request #55 from SuperGoodSoft/circleci-project-setup
Noah-Silvera Mar 31, 2021
a5f7676
Add a simple spec for the shipping calculator
Noah-Silvera Apr 9, 2021
351cd0a
Consider promotions in default shipping calculator
Noah-Silvera Apr 9, 2021
4eda78c
Update changelog
Noah-Silvera Apr 12, 2021
a467dd0
Merge pull request #58 from Noah-Silvera/56-take-adjustments-into-acc…
nvandoorn Apr 15, 2021
a4aafda
Add pry debugging tools
Noah-Silvera Apr 13, 2021
ec82e06
Update changelog
Noah-Silvera Apr 13, 2021
d4553b0
Merge pull request #59 from Noah-Silvera/add-debugging-tools
Noah-Silvera Apr 16, 2021
a99a127
Lock ExecJS version
Noah-Silvera May 12, 2021
268f050
Lock `solidusio/extensions` orb to `0.2.24`
nvandoorn May 12, 2021
e017998
Update changelog
Noah-Silvera May 12, 2021
9ae8fa8
Merge pull request #69 from Noah-Silvera/lock-execjs
nvandoorn May 12, 2021
bed7b43
Remove install generator instructions from readme
Noah-Silvera May 12, 2021
4c3eda5
Use `solidus_dev_support` feature helper
nvandoorn Feb 17, 2021
a42a41f
Don't set global environment variables in tests
Noah-Silvera Feb 22, 2021
638179c
Merge pull request #68 from Noah-Silvera/remove-mistaken-readme-instr…
nvandoorn May 12, 2021
cb335e2
Add basic UI for Taxjar settings in solidus admin
Noah-Silvera Feb 8, 2021
d565f94
Provide helpful links for setting up Taxjar
Noah-Silvera Feb 22, 2021
2578877
Update changelog to reflect PR content
Noah-Silvera Feb 22, 2021
676adfa
Merge pull request #37 from Noah-Silvera/add-basic-taxjar-settings-ui
nvandoorn May 17, 2021
038f392
Use spree address2 if it is present
Noah-Silvera Apr 30, 2021
add4564
Update Changelog
Noah-Silvera May 19, 2021
f999e08
Merge pull request #64 from Noah-Silvera/use-address2-in-address-vali…
Noah-Silvera May 19, 2021
4028d56
Relax Ruby required version in Gemspec to >= 2.5.0
filippoliverani May 27, 2021
990d20d
Update Changelog
filippoliverani May 27, 2021
ab3c4c6
Merge pull request #79 from filippoliverani/filippoliverani/relax-rub…
Noah-Silvera Jun 4, 2021
d3035f6
Unlock the ExecJS version
Noah-Silvera May 19, 2021
0198126
Update Changelog
Noah-Silvera Jun 4, 2021
155bf05
Merge pull request #71 from Noah-Silvera/remove-exec-js-lock
nvandoorn Jun 7, 2021
5ad960c
Specify all spree namespaces in lib as root namespaces
Noah-Silvera Jun 16, 2021
95091a9
Support order_recalculated event in Solidus < 2.11
aldesantis Mar 13, 2021
8c20dd5
Update CHANGELOG
nvandoorn Jun 9, 2021
f64364a
Merge pull request #80 from nvandoorn/77-support-order-recalculated
nvandoorn Jun 21, 2021
cf29a5c
Update changelog for release
Noah-Silvera Jul 5, 2021
a29ec65
Merge pull request #87 from Noah-Silvera/update-changelog-for-0.18.2-…
Noah-Silvera Jul 5, 2021
65d0db3
Bump super_good-solidus_taxjar to 0.18.2
jarednorman Jul 8, 2021
dd587bb
Add an event that is fired when any shipment ships
Noah-Silvera Jul 19, 2021
e38197d
Update changelog
Noah-Silvera Jul 19, 2021
b7af041
Merge pull request #88 from SuperGoodSoft/77-add-shipment-shipped-event
nvandoorn Jul 21, 2021
a06d8d5
Add install generator
Noah-Silvera Jun 21, 2021
b96799b
Update CHANGELOG
nvandoorn Jun 22, 2021
31a3e63
Merge pull request #81 from nvandoorn/add-install-generator
nvandoorn Jul 26, 2021
48e3a3e
Fix CHANGELOG
nvandoorn Jul 26, 2021
e61ec60
Fix typos in README and clarify development instructions
forkata Aug 13, 2021
7339a54
Lint README.md
forkata Aug 13, 2021
55ab6be
Only require state for Canada and US addresses
alexblackie Aug 10, 2021
bfb1505
Add changelog entry
alexblackie Aug 10, 2021
98e94b0
Prefix class method describe blocks with `.`
forkata Aug 18, 2021
deab769
Inject `transaction_id` when building API params
forkata Aug 18, 2021
4a8a208
Add transaction ID generator class
forkata Jul 30, 2021
a0732f9
Use TransactionIdGenerator when creating transaction
forkata Aug 25, 2021
de77ec3
Update CHANGELOG
nvandoorn Sep 1, 2021
c536420
Add `.reporting_enabled` configuration setting
benjaminwil Sep 1, 2021
d7b17f8
Add initial "Configuration" section to README
benjaminwil Sep 1, 2021
71ca633
Update changelog
benjaminwil Sep 1, 2021
07b3bdc
Fix misnamed spec
Noah-Silvera Aug 18, 2021
ced03aa
Add endpoint to show existing transaction
Noah-Silvera Aug 18, 2021
185f8c0
Update changelog
Noah-Silvera Sep 1, 2021
5794549
Add new parameters for a refund transaction
Noah-Silvera Aug 18, 2021
b4cfa42
Add required address parameters for refund
Noah-Silvera Sep 1, 2021
c8e5a4c
Support creating refund transactions from order
Noah-Silvera Aug 18, 2021
d38d273
Update changelog
Noah-Silvera Sep 1, 2021
39ac1e0
Add description to transaction line item params
seand7565 Aug 27, 2021
069d89d
Point rails engine binstub at correct entry point
benjaminwil Sep 8, 2021
850d204
Update changelog
Noah-Silvera Sep 9, 2021
9ca8ca8
Add taxjar order transaction model
Noah-Silvera Sep 9, 2021
ebf147b
Associate `Spree::Order`s with taxjar order transactions
benjaminwil Sep 8, 2021
553e4ea
Run migrations in install generator
Noah-Silvera Sep 9, 2021
9ff04d6
Update CHANGELOG.md
nvandoorn Sep 29, 2021
14930a8
Use correct engine name when installing migrations
nvandoorn Oct 14, 2021
aaf04af
Update CHANGELOG
nvandoorn Oct 20, 2021
08715a3
Add refund transaction model
Noah-Silvera Oct 8, 2021
582c559
Update changelog
Noah-Silvera Oct 8, 2021
b07b67e
Add transaction date to `OrderTransaction`
nvandoorn Oct 8, 2021
bba8e63
Update changelog
Noah-Silvera Oct 13, 2021
29ca5bf
Change default `SOLIDUS_BRANCH` and `RAILS_VERSION`
benjaminwil Oct 27, 2021
df51e15
Save `OrderTransaction` after API call to TaxJar
forkata Sep 10, 2021
21934f2
Add factory for TaxJar order transactions model
benjaminwil Sep 15, 2021
1429742
Add `OrderTransaction.latest_for(order)` method
benjaminwil Sep 15, 2021
0765cd7
Use OrderTransaction.latest_for in "show" API calls
benjaminwil Sep 15, 2021
afc1bc4
Update CHANGELOG
benjaminwil Oct 26, 2021
fa413c7
Move the install generator to the correct folder
senemsoy Nov 15, 2021
2b12eae
Update the CHANGELOG
senemsoy Nov 15, 2021
4d53145
Add api for creating transaction from order
senemsoy Sep 8, 2021
2eba117
Report transaction when shipment is shipped
senemsoy Oct 12, 2021
e85d5f4
Only report transaction if reporting is enabled
senemsoy Oct 19, 2021
3032548
Update CHANGELOG
Noah-Silvera Nov 15, 2021
1e1c8d2
Run CI build against solidus v2.11
forkata Dec 7, 2021
d8c258c
Update changelog
Noah-Silvera Dec 8, 2021
b8fba6c
Use factories for creating `Spree::Address`'s
Noah-Silvera Dec 15, 2021
652954e
Don't use `Address#{first_name,last_name}` in specs
Noah-Silvera Dec 15, 2021
eb7c55a
Run CI build against current versions of Solidus
forkata Dec 7, 2021
45fe869
Update CHANGELOG.md
Noah-Silvera Dec 15, 2021
e70fcbf
Remove `RAILS_VERSION` from Gemfile
forkata Dec 15, 2021
5ce5579
Remove explicit test for event action return value
forkata Jan 3, 2022
e0bf438
Run specs against solidus current and older
nvandoorn Jan 10, 2022
664e399
Add workflow to run against Solidus master
nvandoorn Jan 10, 2022
c638141
Run specs against Solidus master weekly
nvandoorn Jan 10, 2022
1b65d51
Handle unimplemented reporting features
benjaminwil Jan 5, 2022
03aafe6
Update CHANGELOG
benjaminwil Jan 5, 2022
a49578a
Add a configuration for queue used by Taxjar
senemsoy Nov 26, 2021
79a10c3
Create a job to report transactions
senemsoy Nov 26, 2021
ac96e97
Report transactions async
senemsoy Nov 29, 2021
139b1b7
Update CHANGELOG
senemsoy Nov 29, 2021
1648db0
Update CI status badge
benjaminwil Jan 14, 2022
53bf5ff
Configure VCR for feature tests
Noah-Silvera Nov 22, 2021
e52bd8c
Add basic extension acceptance test
Noah-Silvera Nov 22, 2021
67281ad
Remove manual testing step from pull request template
Noah-Silvera Nov 22, 2021
4aa2973
Fix feature tests on Solidus v2.x
benjaminwil Jan 13, 2022
32b1e50
Update changelog
Noah-Silvera Nov 22, 2021
b5b538c
Update instructions reflect new gem version defaults
Noah-Silvera Oct 29, 2021
d924d01
Update inaccurate release instructions
Noah-Silvera Oct 29, 2021
ecf1e54
Update to default solidus version to `[email protected]`
nvandoorn Jan 26, 2022
b3a6211
Rename decorators folder to overrides
Noah-Silvera Jan 31, 2022
1c06cac
Update sandbox bin stub for solidus@3
nvandoorn Feb 3, 2022
c777497
Update CHANGELOG
nvandoorn Feb 4, 2022
6ae0d00
Refactor the taxjar settings spec
senemsoy Nov 2, 2021
e085acb
Rename taxjar settings page to edit
senemsoy Nov 2, 2021
ee8bc6f
Add feature spec for reporting admin UI
senemsoy Dec 2, 2021
a203ef6
Create the configuration model
senemsoy Dec 2, 2021
0e956be
Add default configuration to root module
nvandoorn Jan 21, 2022
c08ebd1
Enable/disable reporting in admin UI
senemsoy Dec 2, 2021
2a02f72
Hide the reporting admin UI
senemsoy Dec 2, 2021
8857720
Integrate the new reporting_enabled setting
senemsoy Dec 9, 2021
4999131
Update CHANGELOG
nvandoorn Feb 4, 2022
dfde838
De-duplicate some `let`s
benjaminwil Feb 4, 2022
17f1755
Add `Api#tax_categories` API endpoint wrapper
benjaminwil Feb 4, 2022
a5c074a
Update CHANGELOG
benjaminwil Feb 9, 2022
8aa18e1
Register `shipment_shipped` event
nvandoorn Feb 9, 2022
21fcb37
Allow user to sync nexus regions
senemsoy Feb 9, 2022
4992857
Remove extra request from feature spec
senemsoy Feb 16, 2022
455bbeb
Update CHANGELOG
senemsoy Feb 24, 2022
990cfb8
Fix flash message not displaying when updating configuration
Noah-Silvera Feb 14, 2022
a561412
Hide all reporting features behind API key
Noah-Silvera Feb 23, 2022
b6b0b41
Update Changelog
Noah-Silvera Mar 4, 2022
7fc322e
Add a link to Taxjar states settings
senemsoy Mar 2, 2022
116b9b3
Update CHANGELOG
senemsoy Mar 2, 2022
c4e26bc
Add specs for cache duration configuration
senemsoy Mar 7, 2022
2aa1da4
Use global cache duration for nexus regions
senemsoy Mar 7, 2022
f041159
Update CHANGELOG
senemsoy Mar 7, 2022
87ee018
Add request logging to TaxJar API requests
nvandoorn Mar 4, 2022
28de6b6
Define a configurable logger instance
nvandoorn Mar 10, 2022
ba3c0ee
Remove inline logging
nvandoorn Mar 4, 2022
cd7e8ab
Enable logging by default
nvandoorn Mar 4, 2022
c78096e
Document logging behaviour and configuration
nvandoorn Mar 9, 2022
585af7a
Use configured logger in exception handler
nvandoorn Mar 10, 2022
3f6ae12
Update CHANGELOG
nvandoorn Mar 9, 2022
dae7838
Provide valid state and zip in address factory
nvandoorn Mar 18, 2022
5c46bd9
Add button to backfill transactions
Noah-Silvera Feb 14, 2022
4862cf2
Move navigation to taxjar settings out of before block
Noah-Silvera Feb 28, 2022
4684457
Add implementation for backfilling transactions
Noah-Silvera Feb 14, 2022
3c59add
Add page to display backfill transaction logs
Noah-Silvera Mar 21, 2022
581821e
Update CHANGELOG
Noah-Silvera Apr 1, 2022
b12775f
Fix order-dependent test failures
benjaminwil Jan 21, 2022
1015580
Add `Reporting#refund_and_create_new_transaction`
benjaminwil Dec 14, 2021
38cf342
Increment TaxJar order transaction ID on create
benjaminwil Dec 15, 2021
20dc3c4
Rename `Reporting#show_or_create_transaction`
benjaminwil Dec 15, 2021
352ec0d
Support replacing order transactions
benjaminwil Dec 15, 2021
3f37289
Support `preferred_reporting_enabled` config
benjaminwil Feb 18, 2022
295ed52
Only `#replace_transaction` if it's replaceable
benjaminwil Mar 4, 2022
cc656c4
Simplify `Reporting#show_or_create_transaction`
benjaminwil Mar 4, 2022
69e94f0
Only report refunds for backfilled orders
benjaminwil Mar 7, 2022
d330665
Don't replace transaction if credit is owed
benjaminwil Mar 11, 2022
416c09b
Update CHANGELOG
benjaminwil Dec 16, 2021
ec351f2
Configure browser tools
nvandoorn May 11, 2022
7bcbec2
Register `solidus_chrome_headless` in spec helper
nvandoorn May 17, 2022
5e718ad
Use factories instead of directly creating models
Noah-Silvera Apr 11, 2022
556c009
Take adjustments into account in discount calculator
Noah-Silvera Mar 23, 2022
fdb9701
Update CHANGELOG
Noah-Silvera Apr 1, 2022
a85cbe0
Supply default tax rate
Noah-Silvera Mar 25, 2022
6baa20f
Link to tax calculation wiki page in Readme
Noah-Silvera Apr 11, 2022
56bd5f6
Update CHANGELOG.md
Noah-Silvera Apr 11, 2022
910a671
Add models to for transaction backfill event
Noah-Silvera Apr 8, 2022
f386417
Return order transactions from reporting class
Noah-Silvera Apr 18, 2022
8f2d767
Remove order transaction creation from API class
Noah-Silvera Apr 18, 2022
353129a
Create logs for each backfilled transaction
Noah-Silvera Apr 8, 2022
8382255
Use transaction sync batch model in UI
Noah-Silvera Apr 18, 2022
74fb58b
Update CHANGELOG
nvandoorn May 3, 2022
2ee050f
Add status method to transaction sync batch
nvandoorn May 10, 2022
3a610f0
Add index page for transaction sync batches
nvandoorn May 10, 2022
d29ca34
Paginate transaction sync batches
nvandoorn Jun 7, 2022
55d5b67
Update CHANGELOG
nvandoorn Jun 14, 2022
64bc1c9
Add transaction sync batch show page
nvandoorn Jun 15, 2022
b836dfe
Redirect to sync batch status after backfill
nvandoorn Jun 15, 2022
8cb849a
Update CHANGELOG
nvandoorn Jun 23, 2022
040a95f
Merge branch 'master' into adnan/taxjar-customers
AdnanTheExcellent Jul 14, 2022
01c0e8b
fix merge errors
AdnanTheExcellent Jul 15, 2022
27cb93b
add refunds to taxjar subscriber
AdnanTheExcellent Jul 15, 2022
482a39b
add tax exemptions code
AdnanTheExcellent Jul 15, 2022
e0e04a1
migrate taxjar related code from printivity over to taxjar gem
AdnanTheExcellent Jul 18, 2022
9ec9652
update mailer namespaces
AdnanTheExcellent Aug 8, 2022
1ea142c
fix namespace error
AdnanTheExcellent Aug 8, 2022
acffc0b
fix bug with order not being defined.
AdnanTheExcellent Aug 9, 2022
64cb8c0
add log level events
AdnanTheExcellent Aug 9, 2022
3e0e35e
fix error
AdnanTheExcellent Aug 9, 2022
44bdcfa
add extra logger
AdnanTheExcellent Aug 9, 2022
cd33580
remove loggers
AdnanTheExcellent Aug 9, 2022
58ab2aa
add taxjar_customer association to user
AdnanTheExcellent Aug 12, 2022
4026aa2
replace user class with actual class
AdnanTheExcellent Aug 12, 2022
598fee8
fix classname issue
AdnanTheExcellent Aug 12, 2022
0d0c7d9
add tax exemption mailer address to config
AdnanTheExcellent Aug 12, 2022
785b502
fix issue with Spree::Store not being defined
AdnanTheExcellent Aug 12, 2022
7caab11
add from_address method
AdnanTheExcellent Aug 12, 2022
78bb01c
specify to and form address
AdnanTheExcellent Aug 12, 2022
f450351
refactor location of mailers
AdnanTheExcellent Aug 12, 2022
7a70e70
try adding app before url path
AdnanTheExcellent Aug 12, 2022
b1df62d
change app to main_app
AdnanTheExcellent Aug 12, 2022
1e8bcee
fix broken resource url
AdnanTheExcellent Aug 12, 2022
8671f28
fix bug with reporting transaction
AdnanTheExcellent Aug 26, 2022
5d5634e
fix incorrect route URL
AdnanTheExcellent Nov 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
version: 2.1
orbs:
# Browser tools are required for feature specs.
browser-tools: circleci/[email protected]

# Always run tests agains the versions of Solidus defined in the
# most recent version of the Orb.
solidusio_extensions: solidusio/extensions@volatile

jobs:
run-specs-with-postgres:
executor: solidusio_extensions/postgres
steps:
- browser-tools/install-browser-tools
- checkout
- solidusio_extensions/run-tests-solidus-older
- solidusio_extensions/run-tests-solidus-current
- solidusio_extensions/store-test-results
run-specs-with-master:
executor: solidusio_extensions/postgres
steps:
- browser-tools/install-browser-tools
- checkout
- solidusio_extensions/run-tests-solidus-master
- solidusio_extensions/store-test-results


workflows:
"Run specs on supported Solidus versions":
jobs:
- run-specs-with-postgres
"Run specs on Solidus master":
jobs:
- run-specs-with-master
"Weekly run specs against master":
triggers:
- schedule:
cron: "0 0 * * 4" # every Thursday
filters:
branches:
only:
- master
jobs:
- run-specs-with-master
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ dist: trusty
sudo: false
language: ruby
cache: bundler
addons:
postgresql: "9.3"
jobs:
include:
- rvm: 2.6.6
env: SOLIDUS_BRANCH=v2.10 DB=postgresql RAILS_VERSION="~> 5.2.0"
- rvm: 2.6.6
env: SOLIDUS_BRANCH=v2.10 DB=postgresql RAILS_VERSION="~> 6.0.0"

before_install:
- gem update --system
- gem install bundler
80 changes: 76 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,90 @@
# Changelog

## v1.0.0
## master

- [#190](https://github.com/SuperGoodSoft/solidus_taxjar/pull/190) Add transaction sync batch show page
- [#188](https://github.com/SuperGoodSoft/solidus_taxjar/pull/188) Show transaction sync batches in user interface
- [#185](https://github.com/SuperGoodSoft/solidus_taxjar/pull/185) Backfill transactions in batches
- [#139](https://github.com/SuperGoodSoft/solidus_taxjar/pull/139) Refund and create a new order transaction when an order is recalculated
- [#175](https://github.com/SuperGoodSoft/solidus_taxjar/pull/175) Add request logging to TaxJar API requests
- [#138](https://github.com/SuperGoodSoft/solidus_taxjar/pull/138) Add admin UI for configuring reporting
- [#158](https://github.com/SuperGoodSoft/solidus_taxjar/pull/158) Update sandbox bin stub for `solidus@3`
- [#88](https://github.com/SuperGoodSoft/solidus_taxjar/pull/88) Fire `shipment_shipped` event when any shipment on an order ships.
- [#81](https://github.com/SuperGoodSoft/solidus_taxjar/pull/81) Add install generator
- [#95](https://github.com/SuperGoodSoft/solidus_taxjar/pull/95) Only require "state" for Canadian and US addresses
- [#98](https://github.com/SuperGoodSoft/solidus_taxjar/pull/98) Add generator for TaxJar transaction IDs
- [#103](https://github.com/SuperGoodSoft/solidus_taxjar/pull/103) Add `reporting_enabled` configuration option
- [#97](https://github.com/SuperGoodSoft/solidus_taxjar/pull/97) Add public API method to request the latest transaction associated with a solidus order.
- [#100](https://github.com/SuperGoodSoft/solidus_taxjar/pull/100) Add public API method to post a taxjar refund transaction for a solidus order.
- [#102](https://github.com/SuperGoodSoft/solidus_taxjar/pull/102) Add description to transaction line item params
- [#107](https://github.com/SuperGoodSoft/solidus_taxjar/pull/107) Fix rails-engine binstub to point to correct engine entry point
- [#108](https://github.com/SuperGoodSoft/solidus_taxjar/pull/108) Add new model associated with a `Spree::Order` to represent taxjar order creation transactions
- [#117](https://github.com/SuperGoodSoft/solidus_taxjar/pull/117) Fix migration install
- [#114](https://github.com/SuperGoodSoft/solidus_taxjar/pull/114) Add new model associated with a `SuperGood::SolidusTaxjar::OrderTransaction` to represent taxjar refund creation transactions
- [#116](https://github.com/SuperGoodSoft/solidus_taxjar/pull/116) Update the `OrderTransaction` model to record the transaction date.
- [#120](https://github.com/SuperGoodSoft/solidus_taxjar/pull/120) Change default `SOLIDUS_BRANCH` and `RAILS_VERSION`
- [#109](https://github.com/SuperGoodSoft/solidus_taxjar/pull/109) Save `OrderTransaction` after API call to TaxJar
- [#119](https://github.com/SuperGoodSoft/solidus_taxjar/pull/119) Move the install generator into the correct path so that it will be installed in the dummy app.
- [#111](https://github.com/SuperGoodSoft/solidus_taxjar/pull/111) Create a new taxjar transaction when a shipment is shipped.
- [#137](https://github.com/SuperGoodSoft/solidus_taxjar/pull/137) Only run tests against solidus 2.11. This also represents the drop of official support for solidus 2.9 and 2.10.
- [#137](https://github.com/SuperGoodSoft/solidus_taxjar/pull/137) Run tests against the most up to date versions of solidus.
- [#141](https://github.com/SuperGoodSoft/solidus_taxjar/pull/141) Handle unimplemented reporting features
- [#129](https://github.com/SuperGoodSoft/solidus_taxjar/pull/129) Report transaction asynchronously when a shipment is shipped.
- [#127](https://github.com/SuperGoodSoft/solidus_taxjar/pull/127) Add acceptance test for calculating taxes with the extension.
- [#160](https://github.com/SuperGoodSoft/solidus_taxjar/pull/160) Add tax categories API endpoint wrapper
- [#171](https://github.com/SuperGoodSoft/solidus_taxjar/pull/171) Display existing Nexus regions
- [#170](https://github.com/SuperGoodSoft/solidus_taxjar/pull/170) Hide all reporting features behind API key
- [#174](https://github.com/SuperGoodSoft/solidus_taxjar/pull/174) Provide a link to Taxjar state settings
- [#177](https://github.com/SuperGoodSoft/solidus_taxjar/pull/177) Make nexus caching configurable
- [#169](https://github.com/SuperGoodSoft/solidus_taxjar/pull/169) Add basic backfill transaction functionality
- [#181](https://github.com/SuperGoodSoft/solidus_taxjar/pull/181) Take all non-tax adjustment types into account when calculating a line item's discount
- [#182](https://github.com/SuperGoodSoft/solidus_taxjar/pull/182) Automatically create default Tax Rate

## Upgrading Instructions

* If you had previously configured a `Spree::TaxRate` with the name "Sales Tax", it can be deleted after upgrading, as a new `Spree::TaxRate` with the name "Solidus TaxJar Rate" will automatically be created. Alternatively, you can rename your existing `Spree::TaxRate` from "Sales Tax" to "Solidus TaxJar Rate". [#182](https://github.com/SuperGoodSoft/solidus_taxjar/pull/182)

## v0.18.2

- [#71](https://github.com/SuperGoodSoft/solidus_taxjar/pull/69) Unlock ExecJS version. This reverts the temporary fix introduced in #69
- [#79](https://github.com/SuperGoodSoft/solidus_taxjar/pull/79) Relax Ruby required version to support Ruby 3.0+
- [#51](https://github.com/SuperGoodSoft/solidus_taxjar/pull/51) Add nexus regions method to API
- [#58](https://github.com/SuperGoodSoft/solidus_taxjar/pull/58) Take shipping promotions into account in default calculator
- [#59](https://github.com/SuperGoodSoft/solidus_taxjar/pull/59) Add pry debugging tools
- [#69](https://github.com/SuperGoodSoft/solidus_taxjar/pull/69) Lock ExecJS version
- [#37](https://github.com/SuperGoodSoft/solidus_taxjar/pull/37) Added a basic Taxjar settings admin interface which displays placeholder text.
- [#64](https://github.com/SuperGoodSoft/solidus_taxjar/pull/64) Provide Spree::Address.address2 to TaxJar address validation if it is present.
- [#80](https://github.com/SuperGoodSoft/solidus_taxjar/pull/80) Support order_recalculated event in < 2.11

## v0.18.1

[#52](https://github.com/supergoodsoft/solidus_taxjar/pull/52) fixes a critical bug in the API class that was released in `v0.18.0`. Please upgrade.

- [#47](https://github.com/SuperGoodSoft/solidus_taxjar/pull/47) Fixed bug in `validate_address_params` for addresses without a state
- [#52](https://github.com/supergoodsoft/solidus_taxjar/pull/52) Fixed critical bug in API class

## ~~v0.18.0~~
`v0.18.0` was removed due to a regression in the API class that was fixed in [#52](https://github.com/SuperGoodSoft/solidus_taxjar/pull/52) and `v0.18.1`

- [#32](https://github.com/SuperGoodSoft/solidus_taxjar/pull/32) Add Taxjar customers and exempt regions integration
- [#21](https://github.com/SuperGoodSoft/solidus_taxjar/pull/21) Migrated project to `solidus_dev_support`
- [#22](https://github.com/SuperGoodSoft/solidus_taxjar/pull/22) Added support for TaxJar address validation API through `SuperGood::SolidusTaxJar::Addresses` class
- [#34](https://github.com/SuperGoodSoft/solidus_taxjar/pull/34) Include API version in request headers
- [#38](https://github.com/SuperGoodSoft/solidus_taxjar/pull/38) Added a rails engine to support future solidus backend UI
- [#43](https://github.com/SuperGoodSoft/solidus_taxjar/pull/43) Support zeitwerk loading

**Breaking Changes**:

- Gem name `super_good-solidus_taxjar` renamed to `super_good_solidus_taxjar`
- Module name `SolidusTaxJar` renamed to `SolidusTaxjar`
- Class name `API` renamed to `Api`
- Class name `APIParams` renamed to `ApiParams`
- Removed support for Rails 5.1. This gem now requires Rails >= 5.2.0 for `active_storage`

### Upgrading from 0.17.X to 0.18.X

If you're currently using version 0.17.X and want to upgrade to 0.18.X, follow these steps:

- Rename any instances of the module `SolidusTaxJar` to `SolidusTaxjar`
- Rename any instances of the class `API` to `Api`
- Rename any instances of the class `APIParams` to `ApiParams`

## v0.17.1

Expand Down
9 changes: 3 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
branch = ENV.fetch("SOLIDUS_BRANCH", "v3.1")

gem "solidus", github: "solidusio/solidus", branch: branch

# Needed to help Bundler figure out how to resolve dependencies,
# otherwise it takes forever to resolve them.
# See https://github.com/bundler/bundler/issues/6677
gem "rails", ENV.fetch("RAILS_VERSION") { ">0.a" }

# Provides basic authentication functionality for testing parts of your engine
gem "solidus_auth_devise"

Expand All @@ -25,6 +20,8 @@ end

group :development, :test do
gem "pry"
gem "pry-stack_explorer"
gem "pry-byebug"
end

gemspec
Expand Down
19 changes: 19 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
What is the goal of this PR?
---



How do you manually test these changes? (if applicable)
---

1. Do a thing
* [ ] Assert a result

Merge Checklist
---

- [ ] Run the manual tests
- [ ] Update the changelog

Screenshots
---
Loading