Skip to content

Commit

Permalink
5.0.0-alpha.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
enact-bot committed Dec 2, 2024
2 parents bb6c311 + 3e63657 commit d13d6f5
Show file tree
Hide file tree
Showing 56 changed files with 731 additions and 1,807 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ dist: jammy
language: node_js
node_js:
- lts/*
- node
sudo: false
before_install:
- sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

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

## [5.0.0-alpha.3] - 2024-12-02

### Fixed

- `ui/VirtualList` to re-render when the each size of variable sized items changed

## [4.9.4] - 2024-11-19

### Fixed

- `ui/VirtualList` to re-render when the each size of variable sized items changed

## [4.9.3] - 2024-10-29

No significant changes.

## [5.0.0-alpha.2] - 2024-10-08

### Added
Expand Down
4 changes: 2 additions & 2 deletions docs/contributing/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ Enact docs should strive to have a common voice. They should be concise, inform
Tips:
* Use the active voice when writing docs.
* Descriptions should focus on what the componet or property provides.
* Only document the `true` state for boolean propertues unless the `false` state's operation is unclear.
* Descriptions should focus on what the component or property provides.
* Only document the `true` state for boolean properties unless the `false` state's operation is unclear.
* Property descriptions use the present tense and complete either 'This property ...' or 'This property configures ...'
* Callbacks use the future perfect tense and complete the sentence 'This callback will be ...'
* Imperative methods (rarely used) use the present tense and completes the sentence 'Call this method to ...'
Expand Down
2 changes: 1 addition & 1 deletion docs/redux/redux-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Back in the days, we had [connect()](https://github.com/reduxjs/react-redux/blob

Also, we use [useDispatch()](https://github.com/reduxjs/react-redux/blob/master/docs/api/hooks.md#usedispatch) hook to dispatch actions. It gives you the store's `dispatch` method as its result so that you can call it with some `action` to dispatch.

Our components need access to the Redux store so they can subscribe to it. This can be cumbersome as your number of components grows and you have to manually pass store around. `react-redux` incorporates [context](https://react.dev/learn/passing-data-deeply-with-context) in React and provides a [`<Provider />`](https://github.com/reduxjs/react-redux/blob/master/docs/api/Provider.md) component to make store available to all components without passings stores around by hand. You only need to use it once at the `render()` of root component.
Our components need access to the Redux store so they can subscribe to it. This can be cumbersome as your number of components grows and you have to manually pass store around. `react-redux` incorporates [context](https://react.dev/learn/passing-data-deeply-with-context) in React and provides a [`<Provider />`](https://github.com/reduxjs/react-redux/blob/master/docs/api/Provider.md) component to make store available to all components without passing stores around by hand. You only need to use it once at the `render()` of root component.

#### Example

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": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"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": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"description": "Monorepo for all Enact front end libraries.",
"private": true,
"scripts": {
Expand Down
12 changes: 12 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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

## [5.0.0-alpha.3] - 2024-12-02

No significant changes.

## [4.9.4] - 2024-11-19

No significant changes.

## [4.9.3] - 2024-10-29

No significant changes.

## [5.0.0-alpha.2] - 2024-10-08

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/core/handle/handle.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ const log = handle.log = curry((message, ev, ...args) => {
/**
* Invokes a method by name on the component to which {@link core/handle.handle} is bound.
*
* If the methods exists on the object, it is called with the event, props, and context and its
* If the methods exist on the object, it is called with the event, props, and context and its
* return value is returned.
*
* If the method does not exist or handle isn't bound to an instance, it returns `false`.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/kind/kind.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const NoContext = createContext(null);
* @property {Object.<string, string>} css The CSS of the component
* @property {String} [className] The className of the component
* @property {Boolean|String|String[]} [publicClassNames] Specifies which class names are overridable.
* If this value is `true`, all of the class names of the component CSS will become public.
* If this value is `true`, all the class names of the component CSS will become public.
*/

/**
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": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"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
2 changes: 1 addition & 1 deletion packages/core/usePublicClassNames/usePublicClassNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {mergeClassNameMaps} from '../util';
* @param {Object.<string, string>} [customCss] The supplied collection of CSS class names to the
* corresponding internal elements and states of the component
* @param {Boolean|String|String[]} [publicClassNames] The keys of public class names of the component
* If this value is `true`, all of the keys from the component
* If this value is `true`, all the keys from the component
* CSS will become public class names.
* @returns {Object} A merged CSS
* @private
Expand Down
8 changes: 4 additions & 4 deletions packages/core/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ const mapAndFilterChildren = (children, callback, filter) => {
* Sets props that are missing or `undefined` to default values
*
* @function
* @param {Obejct} props Props object
* @param {Obejct} defaultProps Default value object
* @param {Object} props Props object
* @param {Object} defaultProps Default value object
*
* @returns {Object} Props with default values
* @memberof core/util
Expand All @@ -294,8 +294,8 @@ const setDefaultProps = (props, defaultProps = {}) => {
* Performs shallow comparison for given objects.
*
* @function
* @param {Obejct} a An object to compare.
* @param {Obejct} b An object to compare.
* @param {Object} a An object to compare.
* @param {Object} b An object to compare.
*
* @returns {Boolean} `true` if the values of all keys are strictly equal.
* @memberof core/util
Expand Down
12 changes: 12 additions & 0 deletions packages/i18n/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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

## [5.0.0-alpha.3] - 2024-12-02

No significant changes.

## [4.9.4] - 2024-11-19

No significant changes.

## [4.9.3] - 2024-10-29

No significant changes.

## [5.0.0-alpha.2] - 2024-10-08

No significant changes.
Expand Down
6 changes: 3 additions & 3 deletions packages/i18n/Text/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const defaultConfig = {
* when appropriate.
*
* If translations are not available yet and all props do not include a default value,
* `TextDecorator` will render nothing. Once translations are avaiable, the component will update
* `TextDecorator` will render nothing. Once translations are available, the component will update
* with the translated strings.
*
* ```
Expand Down Expand Up @@ -175,7 +175,7 @@ const TextDecorator = hoc(defaultConfig, (config, Wrapped) => {
}
createResBundle({locale, sync: false, onLoad: resolve});
}),
// ResBundle.getString will try to synchronously fetch the plurals resouce so need
// ResBundle.getString will try to synchronously fetch the plurals resource so need
// to proactively fetch it to avoid the sync XHR
new Promise(resolve => IString.loadPlurals(false, null, null, resolve))
]).then(([resBundle]) => {
Expand Down Expand Up @@ -251,7 +251,7 @@ const TextDecorator = hoc(defaultConfig, (config, Wrapped) => {
* Translates its child string value in the current locale.
*
* If translations are not available yet, `Text` will render nothing. Once translations are
* avaiable, the component will update with the translated string.
* available, the component will update with the translated string.
*
* ```
* <Text>Go</Text>
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/docs/ilib.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ locale-specific files will typically include values for "title", "keywords", and
"description". The other properties will keep the values inherited from the
app's top-level `appinfo.json`.

`$L()` is a convience method for `ResBundle`, it is described in the main section of the `i18n` docs [here](../index.md)
`$L()` is a convenience method for `ResBundle`, it is described in the main section of the `i18n` docs [here](../index.md)

## Using iLib for formatting

Expand Down
4 changes: 2 additions & 2 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": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"description": "Internationalization support for Enact using iLib",
"repository": {
"type": "git",
Expand Down Expand Up @@ -48,7 +48,7 @@
]
},
"dependencies": {
"@enact/core": "^5.0.0-alpha.2",
"@enact/core": "^5.0.0-alpha.3",
"prop-types": "^15.8.1",
"ramda": "^0.30.1",
"react": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/src/zoneinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ ZoneInfoFile.prototype.usesDST = function (date) {
* Return the raw offset from UTC that this zone uses at the given time.
*
* @param {Date} date the Gregorian date to test
* @returns {number} offset from from UTC in number of minutes. Negative
* @returns {number} offset from UTC in number of minutes. Negative
* numbers are west of Greenwich, positive are east of Greenwich
*/
ZoneInfoFile.prototype.getRawOffset = function (date) {
Expand Down
12 changes: 12 additions & 0 deletions packages/sampler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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

## [5.0.0-alpha.3] - 2024-12-02

No significant changes.

## [4.9.4] - 2024-11-19

No significant changes.

## [4.9.3] - 2024-10-29

No significant changes.

## [5.0.0-alpha.2] - 2024-10-08

No significant changes.
Expand Down
Loading

0 comments on commit d13d6f5

Please sign in to comment.