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

chore(elasticsearch-plugin): Update ElasticSearch supported version from v7.9.1 to v8.13.1 #3121

Open
wants to merge 115 commits into
base: major
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
8975949
chore: Update SECURITY.md
michaelbromley Jul 17, 2024
785b59f
test(cli): Fix failing unit tests
michaelbromley Jul 17, 2024
8ff087d
chore: Manually create cla.json file
michaelbromley Jul 17, 2024
aa93132
@michaelbromley has signed the CLA in vendure-ecommerce/vendure#2955
github-actions[bot] Jul 17, 2024
c6f5d9d
Update README.md (#2955)
michaelbromley Jul 17, 2024
1a02c06
@jnugh has signed the CLA in vendure-ecommerce/vendure#2959
github-actions[bot] Jul 18, 2024
948bf80
@martijnvdbrug has signed the CLA in vendure-ecommerce/vendure#2960
github-actions[bot] Jul 18, 2024
b48febe
@Anddrrew has signed the CLA in vendure-ecommerce/vendure#2963
github-actions[bot] Jul 18, 2024
dd02135
@dhrtn1006 has signed the CLA in vendure-ecommerce/vendure#2964
github-actions[bot] Jul 19, 2024
620eeb1
fix(core): Return type of collection breadcrumb was missing slug (#2960)
martijnvdbrug Jul 19, 2024
f40761d
perf(core): Improve hydrator performance for customFields (#2961)
jnugh Jul 19, 2024
20078e9
docs(common): Fix default types for apiHost & apiPort
michaelbromley Jul 22, 2024
f9c64e7
docs: Update e2e test config docs
michaelbromley Jul 24, 2024
6072f15
@williamrijksen has signed the CLA in vendure-ecommerce/vendure#2972
github-actions[bot] Jul 25, 2024
fdbaa57
@monrostar has signed the CLA in vendure-ecommerce/vendure#2978
github-actions[bot] Jul 29, 2024
0900286
@jacobfrantz1 has signed the CLA in vendure-ecommerce/vendure#2982
github-actions[bot] Jul 30, 2024
752c2b6
fix(core): Allow fulfillment creation with deleted product variants (…
jacobfrantz1 Jul 31, 2024
ccdcc86
docs: `requireVerification=true` does accept password (#2980)
martijnvdbrug Jul 31, 2024
e52742d
docs: Update EmailPlugin docs to use TemplateLoader API
michaelbromley Jul 31, 2024
2f897fd
test(email-plugin): Update EmailPlugin tests to use TemplateLoader API
michaelbromley Jul 31, 2024
6708440
fix(create): Update EmailPlugin config to use templateLoader API
michaelbromley Jul 31, 2024
f078b41
fix(admin-ui): Use correct 24hr format for locale in dates (#2972)
Jul 31, 2024
6eeae1c
perf(core): Refactor applyCollectionFiltersInternal method to improve…
monrostar Jul 31, 2024
0f8bdb5
fix(admin-ui): Fix overflow in channel assignment block (#2984)
monrostar Jul 31, 2024
a40fbb1
fix(create): Dynamically find open port if 3000 in use
michaelbromley Aug 1, 2024
e508e36
@arrrrny has signed the CLA in vendure-ecommerce/vendure#2987
github-actions[bot] Aug 1, 2024
9db6681
docs: Fix misleading path in admin ui docs
michaelbromley Aug 3, 2024
a0abad7
@casperiv0 has signed the CLA in vendure-ecommerce/vendure#2993
github-actions[bot] Aug 4, 2024
d099b79
@DanielBiegler has signed the CLA in vendure-ecommerce/vendure#2994
github-actions[bot] Aug 4, 2024
999e89e
fix(create): Fix typo (#2994)
DanielBiegler Aug 5, 2024
afd6435
fix(payments-plugin): Mollie - add missing request when settled amoun…
casperiv0 Aug 5, 2024
d1e2cdf
@dfernandesbsolus has signed the CLA in vendure-ecommerce/vendure#3002
github-actions[bot] Aug 9, 2024
0d8054d
fix(core): Make firstName and lastName required in CreateCustomerAndU…
arrrrny Aug 10, 2024
9b5911f
fix(admin-ui): Add missing and revise portuguese and brazilian portug…
dfernandesbsolus Aug 10, 2024
56b0df9
docs(core): Fix broken anchor link
michaelbromley Aug 10, 2024
2f2248c
docs: Restore user guide docs
michaelbromley Aug 10, 2024
1538a05
@Dominic-Preap has signed the CLA in vendure-ecommerce/vendure#3007
github-actions[bot] Aug 10, 2024
13fe069
fix(admin-ui): Make sku optional in create-product-variant-dialog (#3…
Dominic-Preap Aug 11, 2024
1edb5e1
@jyling has signed the CLA in vendure-ecommerce/vendure#3009
github-actions[bot] Aug 13, 2024
bcfcf7d
fix(core): Fix EntityHydrator error on long table names (#2959)
jnugh Aug 14, 2024
694845f
fix(payments-plugin): Fix Mollie not calling webhook on updated order…
martijnvdbrug Aug 19, 2024
8f99b2d
fix(core): Resolve User.roles field in GraphQL APIs (#3011)
arrrrny Aug 19, 2024
fe7c70f
docs: Add plugin publishing guide
michaelbromley Aug 20, 2024
fa50770
fix(core): Fix NaN error thrown when modifying pro-rated discounted O…
jyling Aug 21, 2024
8e12657
chore: Publish v3.0.1
michaelbromley Aug 21, 2024
6872f58
@sphade has signed the CLA in vendure-ecommerce/vendure#3027
github-actions[bot] Aug 22, 2024
2fe5009
docs: Fix grammatical error (#3027)
sphade Aug 22, 2024
9aa003d
docs: Fix incorrect docs for OrderSellerStrategy
michaelbromley Aug 26, 2024
d267e73
docs: Improve Admin UI deployment doc
michaelbromley Aug 26, 2024
1baa8e7
perf(core): Fix slow `order` query for postgres v16
michaelbromley Aug 28, 2024
a48c818
@hsensh has signed the CLA in vendure-ecommerce/vendure#3041
github-actions[bot] Sep 2, 2024
75ed6e1
fix(core): Fix search indexing issue when working with multiple chann…
hsensh Sep 2, 2024
9d6f9cf
fix(elasticsearch-plugin): Fix search multichannel indexing issue
michaelbromley Sep 2, 2024
04340f1
fix(admin-ui): Fix removing coupon code from draft order
michaelbromley Sep 2, 2024
4d6578f
docs: Update plugin publishing guide with new template info
michaelbromley Sep 3, 2024
c591432
perf(core): Optimize setting active order on session
michaelbromley Sep 5, 2024
70ad853
perf(core): Optimizations to the addItemToOrder path
michaelbromley Sep 5, 2024
ad30b55
perf(core): Omit ID encode/decode step if default EntityIdStrategy used
michaelbromley Sep 9, 2024
d7bd446
perf(core): Optimize resolution of featuredAsset fields
michaelbromley Sep 9, 2024
e3d6c21
perf(core): Optimize order operations
michaelbromley Sep 9, 2024
7ae064c
chore(core): Refactor init of EntityIdStrategy
michaelbromley Sep 9, 2024
042abdb
fix(core): Prevent exposure of private custom fields via JSON type
michaelbromley Sep 9, 2024
e1595d2
chore(core): Fix type error introduced by entityIdStrategy refactor
michaelbromley Sep 9, 2024
17290e2
@neokim has signed the CLA in vendure-ecommerce/vendure#3052
github-actions[bot] Sep 10, 2024
44f973f
docs: Fix incorrect docs for resolving port conflict in e2e test. (#3…
neokim Sep 10, 2024
2cac885
chore(core): Fix failing tests
michaelbromley Sep 10, 2024
56787ee
chore(core): Remove logger from draft order e2e test suite
michaelbromley Sep 10, 2024
9fcf919
chore(dev-server): Fix imports in load tests
michaelbromley Sep 10, 2024
a28befb
chore(dev-server): Add return to bootstrap
michaelbromley Sep 10, 2024
589d54d
chore: Publish v3.0.2
michaelbromley Sep 10, 2024
f10877b
@lgoebkes has signed the CLA in vendure-ecommerce/vendure#3060
github-actions[bot] Sep 11, 2024
dcf50fc
docs: Added missing routes opening to DigitalOcean deploy guide (#3060)
lgoebkes Sep 11, 2024
7d070f2
fix(core): Fix regression in correctly setting OrderLine.featuredAsset
michaelbromley Sep 11, 2024
13a1b21
fix(admin-ui): Display up to 3 decimal places in OrderSummary tax rate
michaelbromley Sep 11, 2024
0292894
chore: Publish v3.0.3
michaelbromley Sep 11, 2024
ee87431
@dlhck has signed the CLA in vendure-ecommerce/vendure#3064
github-actions[bot] Sep 13, 2024
9a03c84
fix(core): Handle empty state for product and variant id filter (#3064)
dlhck Sep 13, 2024
3cf5b06
chore: Add Node v22 and macOS to build and test workflows
dlhck Sep 13, 2024
52d5892
chore: Remove debugging command from build and test workflow
dlhck Sep 13, 2024
a126cc0
docs: Improve ui extensions docs to better align with CLI use
michaelbromley Sep 17, 2024
d319169
chore: Update codeQL action to latest version
michaelbromley Sep 18, 2024
2a817cb
chore: Add note to multivendor example service
michaelbromley Sep 18, 2024
cb556d8
fix(core): Replace insecure randomness with secure randomBytes
michaelbromley Sep 18, 2024
9516c71
fix(admin-ui-plugin): Implement rate limiting on static server
michaelbromley Sep 18, 2024
9f4a814
fix(core): Prevent theoretical polynomial regex attack
michaelbromley Sep 18, 2024
801980e
fix(asset-server-plugin): Do not return raw error message on error
michaelbromley Sep 18, 2024
f336d7f
fix(admin-ui): Fix bad locale detection regex
michaelbromley Sep 18, 2024
d200c1c
chore(dev-server): Fix file that was causing errors for CodeQL analysis
michaelbromley Sep 18, 2024
de9b1cc
chore: Remove CodeQL workflow config
michaelbromley Sep 18, 2024
f1bfb09
@oliverstreissi has signed the CLA in vendure-ecommerce/vendure#3071
github-actions[bot] Sep 19, 2024
f38340b
fix(admin-ui): Unsubscribe from alerts when logging out (#3071)
oliverstreissi Sep 19, 2024
bffc58a
fix(core): Remove duplicate call in applyCouponCode resolver
michaelbromley Sep 19, 2024
f235249
fix(core): Fix RequestContext race condition causing null activeOrder
michaelbromley Sep 20, 2024
a735bdf
perf(core): Fix performance when using FacetValue-based checks
michaelbromley Sep 24, 2024
bdd2595
@pujux has signed the CLA in vendure-ecommerce/vendure#3080
github-actions[bot] Sep 24, 2024
5a4299a
fix(core): Fix issues caused by f235249f
michaelbromley Sep 25, 2024
98e4118
fix(core): Correctly parse numeric sessionDuration and verificationTo…
pujux Sep 25, 2024
f367275
@yasserlens has signed the CLA in vendure-ecommerce/vendure#3076
github-actions[bot] Sep 25, 2024
d04f5a5
@sonntag-philipp has signed the CLA in vendure-ecommerce/vendure#3089
github-actions[bot] Sep 26, 2024
8434111
fix(payments-plugin): Use default channel in Stripe webhook calls to …
yasserlens Sep 26, 2024
eda6f20
chore: Improve codegen config for Mollie types (#3089)
sonntag-philipp Sep 27, 2024
ebfabbd
@yazfield has signed the CLA in vendure-ecommerce/vendure#3096
github-actions[bot] Sep 30, 2024
73715a1
docs: Add missing step to digital products guide
michaelbromley Sep 30, 2024
b2a7474
refactor(core): Allow overriding importer methods (#3096)
yazfield Oct 4, 2024
b9953e1
refactor(admin-ui): Create service to house data table config get/set
michaelbromley Oct 3, 2024
9d7744b
fix(admin-ui): Enable selective loading of custom fields
michaelbromley Oct 2, 2024
7128a33
fix(admin-ui): Add support for custom fields on CustomerGroup list
michaelbromley Oct 4, 2024
690dd0f
fix(admin-ui): Lazy-load only selected custom fields in list views
michaelbromley Oct 4, 2024
02e68e0
fix(admin-ui): Add padding to default relation custom field dropdown
michaelbromley Oct 4, 2024
2c60761
fix(admin-ui): Fix import errors
michaelbromley Oct 4, 2024
a0fa1b1
chore: Publish v3.0.4
michaelbromley Oct 4, 2024
053348a
chore: Update changelog
michaelbromley Oct 4, 2024
c05d896
@kyunal has signed the CLA in vendure-ecommerce/vendure#3110
github-actions[bot] Oct 5, 2024
1b4c50f
@LeftoversTodayAppAdmin has signed the CLA in vendure-ecommerce/vendu…
github-actions[bot] Oct 6, 2024
4efb6b1
chore(elasticsearch-plugin): Updating ElasticSearch version to 8.13.1
LeftoversTodayAppAdmin Oct 9, 2024
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
56 changes: 29 additions & 27 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,43 @@ on:
- minor
env:
CI: true
node: 20.x
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18.x, 20.x, 22.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ env.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}
- name: npm install
run: |
npm install
npm install --os=linux --cpu=x64 sharp
- name: Build
run: npm run build
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: npm install
run: |
npm install
npm install --os=linux --cpu=x64 sharp
- name: Build
run: npm run build
unit-tests:
name: unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18.x, 20.x, 22.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ env.node }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node }}
node-version: ${{ matrix.node }}
- name: npm install
run: |
npm install
npm install --os=linux --cpu=x64 sharp
- name: Build
run: lerna run ci
run: npx lerna run ci
- name: Unit tests
run: npm run test
e2e-tests:
Expand Down Expand Up @@ -94,23 +99,20 @@ jobs:
strategy:
fail-fast: false
matrix:
db: [sqljs, mariadb, mysql, postgres]
node: [ 18.x, 20.x, 22.x ]
db: [ sqljs, mariadb, mysql, postgres ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ env.node }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node }}
node-version: ${{ matrix.node }}
- name: npm install
run: |
npm install
npm install --os=linux --cpu=x64 sharp
- name: Build
run: lerna run ci
- name: df
run: |
df -h
docker system df
run: npx lerna run ci
- name: e2e tests
env:
E2E_MYSQL_PORT: ${{ job.services.mysql.ports['3306'] }}
Expand Down
71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/publish_and_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18.x, 20.x, 22.x]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Verdaccio
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
nohup verdaccio --config $HOME/.config/verdaccio/config.yaml &
wait-on http://localhost:4873
lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://localhost:4873
npx lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://localhost:4873
- name: Install via @vendure/create
run: |
mkdir -p $HOME/install
Expand Down
80 changes: 80 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,83 @@
## <small>3.0.4 (2024-10-04)</small>


#### Fixes

* **admin-ui-plugin** Implement rate limiting on static server ([9516c71](https://github.com/vendure-ecommerce/vendure/commit/9516c71))
* **admin-ui** Add padding to default relation custom field dropdown ([02e68e0](https://github.com/vendure-ecommerce/vendure/commit/02e68e0))
* **admin-ui** Add support for custom fields on CustomerGroup list ([7128a33](https://github.com/vendure-ecommerce/vendure/commit/7128a33))
* **admin-ui** Enable selective loading of custom fields ([9d7744b](https://github.com/vendure-ecommerce/vendure/commit/9d7744b)), closes [#3097](https://github.com/vendure-ecommerce/vendure/issues/3097)
* **admin-ui** Fix bad locale detection regex ([f336d7f](https://github.com/vendure-ecommerce/vendure/commit/f336d7f))
* **admin-ui** Lazy-load only selected custom fields in list views ([690dd0f](https://github.com/vendure-ecommerce/vendure/commit/690dd0f)), closes [#3097](https://github.com/vendure-ecommerce/vendure/issues/3097)
* **admin-ui** Unsubscribe from alerts when logging out (#3071) ([f38340b](https://github.com/vendure-ecommerce/vendure/commit/f38340b)), closes [#3071](https://github.com/vendure-ecommerce/vendure/issues/3071) [#2188](https://github.com/vendure-ecommerce/vendure/issues/2188)
* **asset-server-plugin** Do not return raw error message on error ([801980e](https://github.com/vendure-ecommerce/vendure/commit/801980e))
* **core** Correctly parse numeric sessionDuration and verificationTokenDuration values (#3080) ([98e4118](https://github.com/vendure-ecommerce/vendure/commit/98e4118)), closes [#3080](https://github.com/vendure-ecommerce/vendure/issues/3080)
* **core** Fix issues caused by f235249f ([5a4299a](https://github.com/vendure-ecommerce/vendure/commit/5a4299a))
* **core** Fix RequestContext race condition causing null activeOrder ([f235249](https://github.com/vendure-ecommerce/vendure/commit/f235249)), closes [#2097](https://github.com/vendure-ecommerce/vendure/issues/2097)
* **core** Handle empty state for product and variant id filter (#3064) ([9a03c84](https://github.com/vendure-ecommerce/vendure/commit/9a03c84)), closes [#3064](https://github.com/vendure-ecommerce/vendure/issues/3064)
* **core** Prevent theoretical polynomial regex attack ([9f4a814](https://github.com/vendure-ecommerce/vendure/commit/9f4a814))
* **core** Remove duplicate call in applyCouponCode resolver ([bffc58a](https://github.com/vendure-ecommerce/vendure/commit/bffc58a))
* **core** Replace insecure randomness with secure randomBytes ([cb556d8](https://github.com/vendure-ecommerce/vendure/commit/cb556d8))
* **payments-plugin** Use default channel in Stripe webhook calls to reach all orders (#3076) ([8434111](https://github.com/vendure-ecommerce/vendure/commit/8434111)), closes [#3076](https://github.com/vendure-ecommerce/vendure/issues/3076)

#### Perf

* **core** Fix performance when using FacetValue-based checks ([a735bdf](https://github.com/vendure-ecommerce/vendure/commit/a735bdf))
* **admin-ui** List views only load the visible custom fields, closes [#3097](https://github.com/vendure-ecommerce/vendure/issues/3097)

## <small>3.0.3 (2024-09-11)</small>


#### Fixes

* **admin-ui** Display up to 3 decimal places in OrderSummary tax rate ([13a1b21](https://github.com/vendure-ecommerce/vendure/commit/13a1b21)), closes [#3051](https://github.com/vendure-ecommerce/vendure/issues/3051)
* **core** Fix regression in correctly setting OrderLine.featuredAsset ([7d070f2](https://github.com/vendure-ecommerce/vendure/commit/7d070f2))

## <small>3.0.2 (2024-09-10)</small>


#### Fixes

* **admin-ui** Fix removing coupon code from draft order ([04340f1](https://github.com/vendure-ecommerce/vendure/commit/04340f1)), closes [#2969](https://github.com/vendure-ecommerce/vendure/issues/2969)
* **core** Fix search indexing issue when working with multiple channels (#3041) ([75ed6e1](https://github.com/vendure-ecommerce/vendure/commit/75ed6e1)), closes [#3041](https://github.com/vendure-ecommerce/vendure/issues/3041) [#3012](https://github.com/vendure-ecommerce/vendure/issues/3012)
* **core** Prevent exposure of private custom fields via JSON type ([042abdb](https://github.com/vendure-ecommerce/vendure/commit/042abdb)), closes [#3049](https://github.com/vendure-ecommerce/vendure/issues/3049)
* **elasticsearch-plugin** Fix search multichannel indexing issue ([9d6f9cf](https://github.com/vendure-ecommerce/vendure/commit/9d6f9cf)), closes [#3012](https://github.com/vendure-ecommerce/vendure/issues/3012)

#### Perf

* **core** Fix slow `order` query for postgres v16 ([1baa8e7](https://github.com/vendure-ecommerce/vendure/commit/1baa8e7)), closes [#3037](https://github.com/vendure-ecommerce/vendure/issues/3037)
* **core** Omit ID encode/decode step if default EntityIdStrategy used ([ad30b55](https://github.com/vendure-ecommerce/vendure/commit/ad30b55))
* **core** Optimizations to the addItemToOrder path ([70ad853](https://github.com/vendure-ecommerce/vendure/commit/70ad853))
* **core** Optimize order operations ([e3d6c21](https://github.com/vendure-ecommerce/vendure/commit/e3d6c21))
* **core** Optimize resolution of featuredAsset fields ([d7bd446](https://github.com/vendure-ecommerce/vendure/commit/d7bd446))
* **core** Optimize setting active order on session ([c591432](https://github.com/vendure-ecommerce/vendure/commit/c591432))

## <small>3.0.1 (2024-08-21)</small>


#### Fixes

* **admin-ui** Add missing and revise portuguese and brazilian portuguese translations (#3002) ([9b5911f](https://github.com/vendure-ecommerce/vendure/commit/9b5911f)), closes [#3002](https://github.com/vendure-ecommerce/vendure/issues/3002)
* **admin-ui** Fix overflow in channel assignment block (#2984) ([0f8bdb5](https://github.com/vendure-ecommerce/vendure/commit/0f8bdb5)), closes [#2984](https://github.com/vendure-ecommerce/vendure/issues/2984)
* **admin-ui** Make sku optional in create-product-variant-dialog (#3007) ([13fe069](https://github.com/vendure-ecommerce/vendure/commit/13fe069)), closes [#3007](https://github.com/vendure-ecommerce/vendure/issues/3007) [#2999](https://github.com/vendure-ecommerce/vendure/issues/2999)
* **admin-ui** Use correct 24hr format for locale in dates (#2972) ([f078b41](https://github.com/vendure-ecommerce/vendure/commit/f078b41)), closes [#2972](https://github.com/vendure-ecommerce/vendure/issues/2972) [#2970](https://github.com/vendure-ecommerce/vendure/issues/2970)
* **core** Allow fulfillment creation with deleted product variants (#2982) ([752c2b6](https://github.com/vendure-ecommerce/vendure/commit/752c2b6)), closes [#2982](https://github.com/vendure-ecommerce/vendure/issues/2982) [#2434](https://github.com/vendure-ecommerce/vendure/issues/2434)
* **core** Fix EntityHydrator error on long table names (#2959) ([bcfcf7d](https://github.com/vendure-ecommerce/vendure/commit/bcfcf7d)), closes [#2959](https://github.com/vendure-ecommerce/vendure/issues/2959) [#2899](https://github.com/vendure-ecommerce/vendure/issues/2899)
* **core** Fix NaN error thrown when modifying pro-rated discounted OrderLine to 0 (#3009) ([fa50770](https://github.com/vendure-ecommerce/vendure/commit/fa50770)), closes [#3009](https://github.com/vendure-ecommerce/vendure/issues/3009)
* **core** Make firstName and lastName required in CreateCustomerAndUser method (#2996) ([0d8054d](https://github.com/vendure-ecommerce/vendure/commit/0d8054d)), closes [#2996](https://github.com/vendure-ecommerce/vendure/issues/2996)
* **core** Resolve User.roles field in GraphQL APIs (#3011) ([8f99b2d](https://github.com/vendure-ecommerce/vendure/commit/8f99b2d)), closes [#3011](https://github.com/vendure-ecommerce/vendure/issues/3011)
* **core** Return type of collection breadcrumb was missing slug (#2960) ([620eeb1](https://github.com/vendure-ecommerce/vendure/commit/620eeb1)), closes [#2960](https://github.com/vendure-ecommerce/vendure/issues/2960)
* **create** Dynamically find open port if 3000 in use ([a40fbb1](https://github.com/vendure-ecommerce/vendure/commit/a40fbb1))
* **create** Fix typo (#2994) ([999e89e](https://github.com/vendure-ecommerce/vendure/commit/999e89e)), closes [#2994](https://github.com/vendure-ecommerce/vendure/issues/2994)
* **create** Update EmailPlugin config to use templateLoader API ([6708440](https://github.com/vendure-ecommerce/vendure/commit/6708440)), closes [#2981](https://github.com/vendure-ecommerce/vendure/issues/2981)
* **payments-plugin** Fix Mollie not calling webhook on updated orders (#3014) ([694845f](https://github.com/vendure-ecommerce/vendure/commit/694845f)), closes [#3014](https://github.com/vendure-ecommerce/vendure/issues/3014) [#2941](https://github.com/vendure-ecommerce/vendure/issues/2941)
* **payments-plugin** Mollie - add missing request when settled amount is 0 (#2993) ([afd6435](https://github.com/vendure-ecommerce/vendure/commit/afd6435)), closes [#2993](https://github.com/vendure-ecommerce/vendure/issues/2993)

#### Perf

* **core** Improve hydrator performance for customFields (#2961) ([f40761d](https://github.com/vendure-ecommerce/vendure/commit/f40761d)), closes [#2961](https://github.com/vendure-ecommerce/vendure/issues/2961)
* **core** Refactor applyCollectionFiltersInternal method to improve performance (#2978) ([6eeae1c](https://github.com/vendure-ecommerce/vendure/commit/6eeae1c)), closes [#2978](https://github.com/vendure-ecommerce/vendure/issues/2978)

## 3.0.0 (2024-07-17)

Note: the changes in this release are identical to v2.3.0.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ The reason we do not rely on Lerna to push the release to Git is that this repo

## License

See [LICENSE.md](./LICENSE.md)
See [LICENSE.md](./LICENSE.md).
6 changes: 4 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
## Supported Versions

| Version | Supported |
| ------- | ------------------ |
| 1.x.x | :white_check_mark: |
|---------|--------------------|
| 3.x.x | :white_check_mark: |
| 2.x.x | :white_check_mark: |
| 1.x.x | :x: |
| < 1.0 | :x: |

## Reporting a Vulnerability
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ The values starting with `${db...}` are automatically populated by App Platform
to name your database something other than `db`.
:::

:::note
When using the App Platform with a Dev Database, DigitalOcean only provides a self-signed SSL certificate. This may prevent the Vendure app from starting. As a workaround, you can add the environment variable `NODE_TLS_REJECT_UNAUTHORIZED` and set it to `0`.
:::

After saving your environment variables you can click through the confirmation screens to create the app.

## Create the worker resource
Expand All @@ -205,11 +209,37 @@ Again you can edit the plan, and the smallest Basic plan is fine for testing pur

No new environment variables are needed since we'll be sharing the Global variables with the worker.

## Enable access to the required routes

To be able to access the UI and other routes, we need to declare them first.

1. In the app dashboard, click on the **Settings** tab.
2. Click on the **vendure-server** component.

![Open server settings](./05-open-server-settings.webp)

3. Scroll down to **HTTP Request Routes**.
4. Click on **Edit**.
5. Click on **+ Add new route** and fill in the form like this:

![Admin app route](./06-admin-app-route.webp)

6. Make sure to check the **Preserve Path Prefix** option.

You need to do this for the following routes:
- `/admin`
- `/assets`
- `/health`
- `/admin-api`
- `/shop-api`

7. Click on **Save**.

## Test your Vendure server

Once everything has finished deploying, you can click the app URL to open your Vendure server in a new tab.

![Open app](./05-open-app.webp)
![Open app](./07-open-app.webp)

:::info
Append `/admin` to the URL to access the admin UI, and log in with the superadmin credentials you set in the environment variables.
Expand Down
12 changes: 11 additions & 1 deletion docs/docs/guides/deployment/deploying-admin-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,18 @@ title: "Deploying the Admin UI"
showtoc: true
---

## Compiling the Admin UI

If you have customized the Admin UI with extensions, you should [compile your extensions ahead of time as part of the deployment process](/guides/extending-the-admin-ui/getting-started/#compiling-as-a-deployment-step).
If you have customized the Admin UI with extensions, you should compile your custom Admin UI app ahead of time
before deploying it. This will bundle the app into a set of static files which are then served by the AdminUiPlugin.

- [Guide: Compiling the Admin UI as a deployment step](/guides/extending-the-admin-ui/getting-started/#compiling-as-a-deployment-step).

:::warning

It is not recommended to compile the Admin UI on the server at runtime, as this can be slow and resource-intensive.
Instead, compile the Admin UI ahead of time and deploy the compiled assets, as covered in the guide linked above.
:::

## Setting the API host & port

Expand Down
8 changes: 6 additions & 2 deletions docs/docs/guides/developer-guide/plugins/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ For any unit of functionality that you need to add to your project, you'll be cr
For a complete working example of a Vendure plugin, see the [real-world-vendure Reviews plugin](https://github.com/vendure-ecommerce/real-world-vendure/tree/master/src/plugins/reviews)

You can also use the [Vendure CLI](/guides/developer-guide/cli) to quickly scaffold a new plugin.

If you intend to write a shared plugin to be distributed as an npm package, see the [vendure plugin-template repo](https://github.com/vendure-ecommerce/plugin-template)
:::

In this guide, we will implement a simple but fully-functional **wishlist plugin** step-by-step. The goal of this plugin is to allow signed-in customers to add products to a wishlist, and to view and manage their wishlist.
Expand Down Expand Up @@ -782,3 +780,9 @@ mutation RemoveFromWishlist {
</TabItem>
</Tabs>

## Publishing plugins

If you have created a plugin that you would like to share with the community, you can publish it to npm, and even
have it listed on the [Vendure Hub](https://vendure.io/hub).

For a full guide to publishing plugins, see the [Publishing a Plugin how-to guide](/guides/how-to/publish-plugin/).
Loading
Loading