Skip to content

Commit

Permalink
4.9.0-beta.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
enact-bot committed Jun 17, 2024
2 parents 2e5d271 + dbe56fa commit dfaa21a
Show file tree
Hide file tree
Showing 18 changed files with 1,350 additions and 1,304 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact project, newest changes on the top.

## [4.9.0-beta.1] - 2024-06-17

No significant changes.

## [4.9.0-alpha.3] - 2024-06-05

### Changed
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "4.9.0-alpha.3",
"version": "4.9.0-beta.1",
"packages": [
"packages/*"
],
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enact",
"version": "4.9.0-alpha.3",
"version": "4.9.0-beta.1",
"description": "Monorepo for all Enact front end libraries.",
"private": true,
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact core module, newest changes on the top.

## [4.9.0-beta.1] - 2024-06-17

No significant changes.

## [4.9.0-alpha.3] - 2024-06-05

No significant changes.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enact/core",
"version": "4.9.0-alpha.3",
"version": "4.9.0-beta.1",
"description": "Enact is an open source JavaScript framework containing everything you need to create a fast, scalable mobile or web application.",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions packages/i18n/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact i18n module, newest changes on the top.

## [4.9.0-beta.1] - 2024-06-17

No significant changes.

## [4.9.0-alpha.3] - 2024-06-05

No significant changes.
Expand Down
6 changes: 3 additions & 3 deletions packages/i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enact/i18n",
"main": "./src/index.js",
"version": "4.9.0-alpha.3",
"version": "4.9.0-beta.1",
"description": "Internationalization support for Enact using iLib",
"repository": {
"type": "git",
Expand Down Expand Up @@ -48,7 +48,7 @@
]
},
"dependencies": {
"@enact/core": "^4.9.0-alpha.3",
"@enact/core": "^4.9.0-beta.1",
"prop-types": "^15.8.1",
"ramda": "^0.29.1",
"react": "^18.3.1",
Expand All @@ -59,7 +59,7 @@
"ilib": "14.19.0 || 14.19.0-webos1"
},
"devDependencies": {
"@enact/ui-test-utils": "^1.0.7",
"@enact/ui-test-utils": "^1.0.8",
"ilib": "14.19.0"
}
}
24 changes: 12 additions & 12 deletions packages/i18n/tests/ui/specs/Loader/Loader-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,37 @@ describe('Loader', () => {
it('should load', async () => {
await Page.open({sync: true, locale: 'ar-SA'});

expect(await Page.loadState()).to.equal('Loaded');
expect(await Page.loadState()).toBe('Loaded');
});

it('should have specified locale', async () => {
await Page.open({sync: true, locale: 'ar-SA'});

expect(await Page.locale()).to.equal('ar-SA');
expect(await Page.locale()).toBe('ar-SA');
});

it('should have LTR text direction', async () => {
await Page.open({sync: true, locale: 'en-US'});

expect(await Page.textDirection()).to.equal('LTR');
expect(await Page.textDirection()).toBe('LTR');
});

it('should have RTL text direction', async () => {
await Page.open({sync: true, locale: 'ar-SA'});

expect(await Page.textDirection()).to.equal('RTL');
expect(await Page.textDirection()).toBe('RTL');
});

it('should have translated text for en-US', async () => {
await Page.open({sync: true, locale: 'en-US'});

expect(await Page.text()).to.equal('test-en');
expect(await Page.text()).toBe('test-en');
});

it('should have translated text for ar-SA', async () => {
await Page.open({sync: true, locale: 'ar-SA'});

expect(await Page.text()).to.equal('test-ar');
expect(await Page.text()).toBe('test-ar');
});
});

Expand All @@ -47,42 +47,42 @@ describe('Loader', () => {
await Page.open({sync: false, locale: 'ar-SA'});

browser.waitUntil(() => Page.loadState() === 'Loaded', 500);
expect(await Page.loadState()).to.equal('Loaded');
expect(await Page.loadState()).toBe('Loaded');
});

it('should have specified locale', async () => {
await Page.open({sync: false, locale: 'ar-SA'});

browser.waitUntil(() => Page.loadState() === 'Loaded', 500);
expect(await Page.locale()).to.equal('ar-SA');
expect(await Page.locale()).toBe('ar-SA');
});

it('should have LTR text direction', async () => {
await Page.open({sync: false, locale: 'en-US'});

browser.waitUntil(() => Page.loadState() === 'Loaded', 500);
expect(await Page.textDirection()).to.equal('LTR');
expect(await Page.textDirection()).toBe('LTR');
});

it('should have RTL text direction', async () => {
await Page.open({sync: false, locale: 'ar-SA'});

browser.waitUntil(() => Page.loadState() === 'Loaded', 500);
expect(await Page.textDirection()).to.equal('RTL');
expect(await Page.textDirection()).toBe('RTL');
});

it('should have translated text for en-US', async () => {
await Page.open({sync: false, locale: 'en-US'});

browser.waitUntil(() => Page.loadState() === 'Loaded', 500);
expect(await Page.text()).to.equal('test-en');
expect(await Page.text()).toBe('test-en');
});

it('should have translated text for ar-SA', async () => {
await Page.open({sync: false, locale: 'ar-SA'});

browser.waitUntil(() => Page.loadState() === 'Loaded', 500);
expect(await Page.text()).to.equal('test-ar');
expect(await Page.text()).toBe('test-ar');
});
});
});
4 changes: 4 additions & 0 deletions packages/sampler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact Sampler, newest changes on the top.

## [4.9.0-beta.1] - 2024-06-17

No significant changes.

## [4.9.0-alpha.3] - 2024-06-05

No significant changes.
Expand Down
Loading

0 comments on commit dfaa21a

Please sign in to comment.