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

[new release] styled-ppx (0.57.0) #26159

Closed
wants to merge 1 commit into from

Conversation

davesnx
Copy link
Contributor

@davesnx davesnx commented Jun 27, 2024

Type-safe styled components for ReScript and Melange

CHANGES:

0.57.0

0.56.0

CHANGES:

## 0.57.0

- Improvement for locations in both code-gen and error reporting by @davesnx in davesnx/styled-ppx#456
- Support css min and max functions by @lubegasimon in davesnx/styled-ppx#411
- Update docs by @zakybilfagih in davesnx/styled-ppx#457
- update server-reason-react pin to main branch by @zakybilfagih in davesnx/styled-ppx#460
- Native support for styled.{{tag}} by @zakybilfagih in davesnx/styled-ppx#461
- Fix linear-gradient and radial-gradient  by @davesnx in davesnx/styled-ppx#464
- Add getting started docs by @zakybilfagih in davesnx/styled-ppx#459
- escape curly on remote markdown content by @zakybilfagih in davesnx/styled-ppx#466
- Add Melange and native instructions by @davesnx in davesnx/styled-ppx#465
- Global styles for native server on emotion by @pedrobslisboa in davesnx/styled-ppx#468
- Style HTML tag by @pedrobslisboa in davesnx/styled-ppx#467
- [emotion native] Fix nested pseudoelements by @davesnx in davesnx/styled-ppx#470
- Transform with variable handle unsafe interpolation by @zakybilfagih in davesnx/styled-ppx#471
- Add depext for @emotion/css >= 11.0.0 by @feihong in davesnx/styled-ppx#473
- Add support for transition by @zakybilfagih in davesnx/styled-ppx#472
- Fix animation codegen by @zakybilfagih in davesnx/styled-ppx#475
- Fix error line number coming from parser by @zakybilfagih in davesnx/styled-ppx#478
- Polish emotion-native by @davesnx in davesnx/styled-ppx#481
- Rename `render_style_tag` to `get_stylesheet` (@davesnx)
- Docs: Explain show server rendered stylesheets work natively by @ManasJayanth in davesnx/styled-ppx#480

## 0.56.0

- Improvement for locations in both code-gen and error reporting (davesnx/styled-ppx#456) by @davesnx
- Support css min and max functions (davesnx/styled-ppx#411) by @lubegasimon
- Update docs (davesnx/styled-ppx#457) by @zakybilfagih
- Native support for styled.{{tag}} (davesnx/styled-ppx#461) by @zakybilfagih
- background-clip: text support by @davesnx
- Fix linear-gradient and radial-gradient (davesnx/styled-ppx#464) by @davesnx
- Rename emotion-hash into murmur2 and remove public testing cli by @davesnx
- Use server-reason-react from opam by @davesnx
"melange" {>= "3.0.0"}
"server-reason-react"
"reason-react" {>= "0.14.0"}
"alcotest" {with-test}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"alcotest" {with-test}
"alcotest"

this is currently not just a test dependency, is it expected?

#=== ERROR while compiling styled-ppx.0.57.0 ==================================#
# context              2.2.0~rc1 | linux/x86_64 | ocaml-base-compiler.5.2.0 | pinned(https://github.com/davesnx/styled-ppx/releases/download/0.57.0/styled-ppx-0.57.0.tbz)
# path                 ~/.opam/5.2/.opam-switch/build/styled-ppx.0.57.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p styled-ppx -j 31 @install
# exit-code            1
# env-file             ~/.opam/log/styled-ppx-7-bd5418.env
# output-file          ~/.opam/log/styled-ppx-7-bd5418.out
### output ###
# File "packages/alcotest-extra/dune", line 4, characters 12-20:
# 4 |  (libraries alcotest))
#                 ^^^^^^^^
# Error: Library "alcotest" not found.
# -> required by library "styled-ppx.alcotest-extra" in
#    _build/default/packages/alcotest-extra
# -> required by _build/default/META.styled-ppx
# -> required by _build/install/default/lib/styled-ppx/META
# -> required by _build/default/styled-ppx.install
# -> required by alias install

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh shit, I made a library depending on alcotest but didn't plan to make it "public". Let me push a new version with a fix for this.

@davesnx
Copy link
Contributor Author

davesnx commented Jul 4, 2024

Pushed a new tag 0.57.1 with the alcotest private and other fixes. This can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants