Skip to content

Latest commit

 

History

History
175 lines (137 loc) · 10.4 KB

CHANGELOG.md

File metadata and controls

175 lines (137 loc) · 10.4 KB

v0.3.1

2024-08-15

Summary

Fixed exports in package.json thanks to @coracuity, and fixes for the pretty printer when handling white space sensitive tags.

Commits

v0.3.0

2024-07-31

Summary

Added a pretty printer so that both HTML and XML can be printed with indentation and newlines instead of a single line. Also fixed that some HTML elements could be created without the required attributes.

On the backside of the project it was converted from Deno to Node.

Commits

  • [ff58c46] Lock dependencies exactly
  • [3b70b51] Fix elements with required attributes constructor
  • [d746ddf] Include the src folder when publishing
  • [beebe85] Add version to package.json, whoops
  • [ed7711f] Remove installation from JSR as the types don't work
  • [6419d22] Update README
  • [52bd486] Update lefthook config
  • [f4d6fc4] Remove .vscode folder
  • [c22cd4c] Add lefthook for pre-commit hooks
  • [db4dd34] Fix linting issues
  • [268ad27] Update publishing configuration
  • [d287118] Move tests to tests folder
  • [7a26578] Update CI pipeline, add JSR config
  • [7dc68a8] Convert from Deno to Node
  • [c9f8be3] Move code into src
  • [624669e] Use correct path to scripts in generated files
  • [424a314] Handle whitespace sensitive tags in pretty printer
  • [35401ec] Refactor and clean up pretty printing children
  • [769f364] Add TODOs, a 'check' command
  • [954ba37] Handle the size of a single string child in renderer
  • [b721ad2] Update HTML renderer to use pretty printer
  • [dcba91a] Rename renderXML functions to remove XML from them
  • [a5880b5] Move stringifyAttributes into pretty printer file
  • [4cfc48b] Escape XML strings in pretty printer
  • [06e8467] Update tests for HTML
  • [d647d1c] Update XML renderer to use new PrettyPrinter
  • [5bad042] Create a pretty printer that's generic across HTML and XML

v0.2.3

2024-07-23

Summary

More documentation updates.

Commits

v0.2.2

2024-07-22

Summary

Add the remaining missing documentation.

Commits

v0.2.1

2024-07-22

Summary

Add documentation to functions, types and README that was forgot in previous release. Whoops.

Commits

  • [5069abe] Add documentation strings to XML module
  • [2c95b10] Make test task check docs too
  • [d5f9da0] Add pretty option to XML renderer
  • [234b1e5] Add RSS examples to README
  • [70d6610] Fix deploy task

v0.2.0

2024-07-22

Summary

Add XML and sitemap constructs to package.

Commits

  • [37418e1] Fix NPM build
  • [99b1b15] Add pretty printing of XML
  • [ba31851] Change types for HTMLDocument class
  • [81cd14c] Allow xsi attributes on sitemaps
  • [204f005] Make doctype required again, I liked it better explicit
  • [a9ca309] Refactor XML types, add declarations
  • [9349d24] Fix README code, again
  • [72b9814] Make the sitemap DSL typesafe
  • [4d1b9d6] Move rendering around, make doctype optional in DSL
  • [7abc854] Add sitemap and XML rendering/building
  • [8d7a79f] Fix README link to lucid
  • [4c7f48d] Remove redundant check in publish step
  • [a1e1439] Correct repo in NPM package
  • [caa2937] Release v0.1.0

v0.1.0

2024-07-22

Summary

Initial release of radiant, a simple and type-safe HTML builder in TypeScript.

Commits

  • [3253ac5] Add elementToObject function, remove deepExplode
  • [ba60bd6] Fill out README, rename to radiant
  • [d4a718d] Add documentation for any and all things
  • [9df5fa9] Add NPM build script
  • [0f21911] Fix example in README
  • [6600cbd] Update scripts, create all tags and elements
  • [31e6027] More type fixing, things now work
  • [9ff298c] Refactor tags and tag maps
  • [ed8d18d] Fill in all content categories
  • [c5793ef] Extract new HTMLElement classes from experiment
  • [9ea3f88] Sort tags alphabetically
  • [b2d6e3e] Add all attributes for HTML elements
  • [f279e2c] Add data-* attributes, some tests
  • [ad2a91b] Caching didn't help or work
  • [c11f3cb] Add caching to CI
  • [8717523] Rewrite with typings that actually work
  • [540f835] Bump action-gh-release to v2
  • [72ff11d] Fix README code
  • [706aa3d] Major typing overhaul thanks to Claude
  • [1d826a3] Apparently Copilot imported a bunch of stuff
  • [00864e4] Add a quick README and LICENSE file
  • [1570546] Add rest of tags from MDN
  • [3c77b97] Add deepExplode utility function for ease of testing
  • [a663899] Refactor types and tags
  • [2654a5b] Remove attempt at merging heads
  • [7e8c4a2] Attempt at merging s
  • [77ce671] Void elements can only have attributes
  • [7d45573] Add document and doctype elements
  • [8799d58] Add back previous content categories
  • [b577e79] Allow attributes to be booleans
  • [691da66] Remove renderPretty, it definitely does not work
  • [73206ab] Remove content categories, don't want it
  • [66b3959] Add some content categories
  • [f64d169] Start filling in tag metadata
  • [978c867] Configure CI/CD
  • [5b35896] Make something that barely works