- Add React 18 as optional peer dependency (amsardesai)
- Upgrade to React 17 (mtjoe3)
- Update types to match latest React types (alden-codaio)
- Update OyElementAttributes TS type to match React type (swac).
- Fix types to be compatible with @types/[email protected] (aldendaniels).
- Add TypeScript typings (@sampsonjoliver).
- Support for rendering in the browser (@ccorcos).
- Bump React version to 16.
- On validated components,
vAlign
is nowvalign
andbgColor
is nowbgcolor
. - Remove
Element
component, since React 16 makes it now a no-op.
- Add
bgColor
option to default template (@hlynurf). - Fix prop-types deprecation (@Rauttis).
- Update clean-css to 4.x (@weaintplastic).
- Bump React version to 15.4.0.
- Deprecate the unsafe bodyContent option in
Oy.renderTemplate
. - Expose rules on
Oy.PropTypes.*
, for use in custom component propType validation (@rendez). - New default rule on Table and TD: BackgroundAbsoluteURLRule (@rendez).
- Bump React version to 15.1.0.
- Fix regression with
headCSS
option where it didn't appear in outputted template.
- Migrate towards new API that consumes the top-level component directly.
- Basic CSS security validation and minification for headCSS.
- Adds better test coverage.
- Add ESLint 2.0.
- Fix babel-react preset bug
- Fix 0.5.1 bug in examples directory
- Fix bug with Babel ES6 module exports change
- Update to Babel 6
- Added
dir
andlang
options toOy.renderTemplate
to support i18n.
- Expose
Table
,TBody
,TR
,TD
,Img
, andA
components with defaultpropType
validations. - Remove Oy.Element
type
prop. UsetagName
instead. - Updated Hello World example.
- Deprecation warning added for Oy.Element
type
prop. UsetagName
instead. - Added warning for Oy.renderTemplate outputs larger than 100KB. See #24
- Opened up Oy-supported attributes to all Oy.Element components.
- New rules:
- EmptyTDRule
- ShorthandFontRule
- Fix regression of
type
attribute propagating to Oy.Element elements. - Namespace
data-*
attributes to decrease likelihood of attribute collisions. - Add tests to components.
- NPM publishing of version 0.2.1
- Refactor to use
is
attribute to removedata-*
find-and-replace.
- Bump React version to 0.14.6.
- Fix issue #19 regarding deleting
type
prop.
- Add HelloWorld example
- New rule:
- ImgDimensionsRule
- Allow custom template generators
- More rules:
- HrefAbsoluteURLRule
- SrcAbsoluteURLRule
- Initial public release
- First few rules:
- SixCharacterHexBackgroundColorRule
- TableBorderRule
- TableCellPaddingRule
- TableCellSpacingRule