Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 19, 2021

Bumps surface from 0.4.0 to 0.5.1.

Changelog

Sourced from surface's changelog.

v0.5.1 (2021-07-13)

  • Add property values to form inputs
  • Handle doctype as text
  • Improve error message when default_translator is not configured for ErrorTag (#449)
  • Raise on invalid attribute/directive in <#slot> (#456)
  • Raise error on {#case} without {#match} (#443)
  • Raise on blocks without expression
  • Fix error line on missing closing tag

v0.5.0 (2021-06-17)

  • Add <:slotname> shorthand for <#template slot="slotname">
  • Introduce block expressions for surface templates (e.g., {#if}..{/if})
  • Introduce {#if} block expression with support for {#elseif} and {#else} sub blocks
  • Introduce {#for} block expression with support for {#else} sub block
  • Introduce {#unless} block expression
  • Introduce new shorthand notation for dynamic attributes/props using the {... } tagged expression
  • Introduce new shorthand notation for attribute assignment using the {= } tagged expression
  • Support private comments using {!-- --} for comments that are not supposed to hit the browser
  • Introduce s- prefix as an alternative to : for directives (i.e. s-if and :if are now equivalent)
  • Introduce :values directive for generating multiple phx-value- attributes
  • Added a convert task to aid migrating to the new syntax
  • Evaluate literal attribute values at compile time instead of runtime
  • Fix compile error when using single quotes as attribute value delimiters
  • Add quote_surface/2 macro to generate Surface AST from template snippets.

Breaking Changes

  • Replace the sigil ~H with ~F to avoid conflict with HEEx
  • Replace interpolation delimiters {{ and }} with { and }
  • Remove support for interpolation inside <style>...</style> and <script>...</script> nodes
  • ErrorTag: Renamed prop phx_feedback_for to feedback_for
  • Slot directive :props has been renamed to :args
  • Option :props for the slot/2 macro has been renamed to :args
  • The use of \<template> has been removed in favor of <#template>
  • The use of <slot> has been removed in favor of <#slot>
  • The use of <If> has been removed in favor of {#if}...{/if}
  • The use of <For> has been removed in favor of {#for}...{/for}
  • MacroComponent.eval_static_props!/3 evaluates and returns only props with option static: true

Deprecations

  • Support for passing non-string attribute values as literals (i.e. selected=true or tabindex=3) has been removed. Any non-string value should be passed as an expression (i.e. selected={true})

v0.4.1 (2021-05-26)

  • Fix warning on Phoenix Live View >= 1.15.6
Commits
  • e347c53 Release v0.5.1
  • 67ebc2e allow form inputs to accept values (#448)
  • d82a2ea Raise on invalid attribute/directive in <#slot> (#456)
  • 09f8a38 Improve error message when default_translator is not configured for ErrorTag ...
  • a054750 Fix is_stateful_component/1
  • 9d8398c Handle doctype as text (#454)
  • 3c8b3fb remove automatic bug labeling (#455)
  • a1d9e0e Fix error line on missing closing tag
  • 7910811 Add a bug template (#440)
  • cacd89f Update Surface version in the Migration Guide
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [surface](https://github.com/surface-ui/surface) from 0.4.0 to 0.5.1.
- [Release notes](https://github.com/surface-ui/surface/releases)
- [Changelog](https://github.com/surface-ui/surface/blob/master/CHANGELOG.md)
- [Commits](surface-ui/surface@v0.4.0...v0.5.1)

---
updated-dependencies:
- dependency-name: surface
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Jul 19, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 2, 2021

Superseded by #82.

@dependabot dependabot bot closed this Aug 2, 2021
@dependabot dependabot bot deleted the dependabot/hex/surface-0.5.1 branch August 2, 2021 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant