Releases: component-network/viewscript-server
v1.2.4
v1.2.3
Full Changelog: v1.2.2...v1.2.3
Improve the internal readability and simplicity of main.js
v1.2.2
Full Changelog: v1.2.1...v1.2.2
- Fix some issues where
head
elements weren't getting de-duplicated as expected. - Change the name of each component's
ts
file fromupgrades.ts
toenhancements.ts
v1.2.1
Full Changelog: v1.2.0...v1.2.1
Fix a bug that messed up how components with elements like scripts that go in the document head get rendered -- due to how we were caching the result of rendering components. I removed that cache for now, until I can figure out how to cache the result of component rendering but still apply the component's head elements to the root component document.
v1.2.0
Full Changelog: v1.1.0...v1.2.0
v1.1.0
Full Changelog: v1.0.3...v1.1.0
- Closes #3 - For bound attributes with no value, use the attribute's bound name instead of an empty string
- Allows us to do
:id
instead of:id="id"
, for example
- Allows us to do
- Add an optional
when
property to component settings, which allows conditional application of additional component data/attributes depending on other incoming ones. - Allow styles to be passed as objects, and merged, via the
data
andwhen
component settings objects.
v1.0.3
v1.0.2
Full Changelog: v1.0.1...v1.0.2
- Support inverted bound element attribute values
- Rename this package from viewscript-ssr to viewscript-server. I prefer clear words to acronyms.
v1.0.1
Full Changelog: v1.0.0...v1.0.1
- Fix a bug which prevented passing plaintext attributes to imported components
- Exclude named slots from children
- Update readme with a very simple example
v1.0.0
Full Changelog: v0.0.0...v1.0.0
Implement a new purely markup-based syntax for rendering templates. This is a work in progress. It needs a lot of testing to be generally usable. I've started to use it for building the component.network website, and this is my only test case for now.