Skip to content

Commit

Permalink
Release 4.4.1 (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotanarciso authored Jan 21, 2025
2 parents ed9c959 + 89dd1f2 commit a615461
Show file tree
Hide file tree
Showing 29 changed files with 117 additions and 60 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### [4.4.1-stage.1](https://github.com/aziontech/bundler/compare/v4.4.0...v4.4.1-stage.1) (2025-01-21)


### Bug Fixes

* add no-sandbox args for puppeteer launch in E2E tests and upgrade azion lib ([#420](https://github.com/aziontech/bundler/issues/420)) ([40a4345](https://github.com/aziontech/bundler/commit/40a43454bfe0fac8bd70cb56bce4d9813fc81dd9))

## [4.4.0](https://github.com/aziontech/bundler/compare/v4.3.0...v4.4.0) (2025-01-21)


Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine3.17 AS node
FROM node:18.20.5-alpine3.21 AS node

WORKDIR /

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "edge-functions",
"type": "module",
"version": "4.4.0",
"version": "4.4.1-stage.1",
"description": "Tool to launch and build JavaScript/Frameworks. This tool automates polyfills for Edge Computing and assists in creating Workers, notably for the Azion platform.",
"main": "lib/main.js",
"bin": {
Expand Down Expand Up @@ -55,7 +55,7 @@
"ajv-errors": "^3.0.0",
"ajv-keywords": "^5.1.0",
"assert": "^2.0.0",
"azion": "^1.12.0",
"azion": "^1.12.1",
"babel-loader": "^9.2.1",
"bottleneck": "^2.19.5",
"browserify-zlib": "^0.2.0",
Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/angular-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - angular-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'angular', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/astro-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - astro-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'astro', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/docusaurus-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ describe('E2E - docusaurus project', () => {

await projectInitializer(EXAMPLE_PATH, 'docusaurus', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/eleventy-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - eleventy-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'eleventy', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/gatsby-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - gatsby-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'gatsby', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/hexo-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ describe('E2E - hexo-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'hexo', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/jekyll-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ describe('E2E - jekyll-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'jekyll', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-12-3-4-config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ describe('E2E - next-12-3-4-configs project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-12-3-4-i18n.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ describe('E2E - next-12-3-4-i18n project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-12-3-4-middleware.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ describe('E2E - next-12-3-4-middleware project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
page.setDefaultNavigationTimeout(60000);
}, TIMEOUT);
Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-12-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - next-12-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-13-5-6-config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ describe('E2E - next-13-5-6-configs project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-13-5-6-i18n.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ describe('E2E - next-13-5-6-i18n project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-13-5-6-middleware.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ describe('E2E - next-13-5-6-middleware project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
page.setDefaultNavigationTimeout(60000);
}, TIMEOUT);
Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-14-2-15-middleware.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ describe('E2E - next-14-2-15-middleware project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
page.setDefaultNavigationTimeout(60000);
}, TIMEOUT);
Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-node-pages-12-3-1-fs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ describe('E2E - next-node-pages-12-3-1-fs project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-node-pages-12-3-1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ describe('E2E - next-node-pages-12-3-1 project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/next-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - next-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'next', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/nuxt-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - nuxt-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'nuxt', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/react-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - react-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'react', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/stencil-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - stencil project', () => {

await projectInitializer(EXAMPLE_PATH, 'stencil', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/svelte-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - svelte-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'svelte', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/vitepress-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ describe('E2E - vitepress project', () => {

await projectInitializer(EXAMPLE_PATH, 'vitepress', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/vue-vite-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ describe('E2E - vue-vite-static project', () => {

await projectInitializer(EXAMPLE_PATH, 'vue', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/vuepress-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ describe('E2E - vuepress project', () => {

await projectInitializer(EXAMPLE_PATH, 'vuepress ', serverPort);

browser = await puppeteer.launch({ headless: 'new' });
browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: 'new',
});
page = await browser.newPage();
}, TIMEOUT);

Expand Down
Loading

0 comments on commit a615461

Please sign in to comment.