Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump surface from 0.4.0 to 0.5.0 #66

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 21, 2021

Bumps surface from 0.4.0 to 0.5.0.

Changelog

Sourced from surface's changelog.

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
  • 18aaa71 Release v0.5.0
  • 3e39c42 Update CI config
  • 91dd0aa Replace slot option :props with :args (#435)
  • f3ffd9a Pass children as string to expand/3
  • 1b60501 Convert phx_feedback_for into feedback_for
  • bfa9d64 Update migration guide
  • 584feb5 Rename slot props to args (#433)
  • 6fdc6ff Add test for escaped curly braces in elixir strings
  • 1960859 fix file name for warnings in sface files (#432)
  • 6168ea9 remove deprecations that are automatically handled by the converter (#430)
  • 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.0.
- [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.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Jun 21, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 19, 2021

Superseded by #75.

@dependabot dependabot bot closed this Jul 19, 2021
@dependabot dependabot bot deleted the dependabot/hex/surface-0.5.0 branch July 19, 2021 05:09
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.

0 participants