Skip to content

[1.6] Tracking issue #2589

Closed
Closed

Description

@vjeux

I'm going to have more time in the coming weeks to do a proper release, so starting a issue to figure out what needs to be done:

  • Write the changelog
  • Run the JSX ternary big change through Facebook codebase and any edge cases it finds
  • Investigate and fix JSX/fbt issue that prevented to release 1.5 to fb www repo. The fix is likely going to be inside of the fbt transform so not open source.

Correctness issues we should fix:

Activity

  1. suchipi commented on Aug 8, 2017

    @suchipi
    Member

    Let me know if there's anything I can help with in regard to findings with the JSX ternary stuff

  2. rattrayalex commented on Aug 19, 2017

    @rattrayalex
    Collaborator

    @vjeux where do we stand on this? Need any help?

  3. lydell commented on Aug 19, 2017

    @lydell
    Member

    IMO we should let @vjeux double-check the JSX stuff on the Facebook codebase, write the changelog and then release. The other things can be done later and shouldn't block the release.

  4. vjeux commented on Aug 19, 2017

    @vjeux
    ContributorAuthor

    Yeah the blocker is me at this point. This summer has been super intense with bunch of vacation, family visiting, switching teams... it'll all go back to normal at the end of next week.

    Last time I tried to update prettier on the main codebase at Facebook it didn't go smoothly and had to be reverted so I want to get it right this time.

    Once we're past this issue, we should be able to go back to business as usual. I'm also pretty excited because it's going to enable us to use prettier for CSS at fb :)

  5. danawoodman commented on Aug 24, 2017

    @danawoodman

    Would it be possible to instead release a patch release with #2434? This would be such a huge feature yet is backwards compatible that it's a shame that it is just sitting around waiting to be released. I completely understand that you're busy @vjeux, perhaps there is another maintainer that could do such a minor release? If not, I imagine FB has some other developers that would be happy to jump in and help?

  6. vjeux commented on Aug 24, 2017

    @vjeux
    ContributorAuthor

    I'm working on it right now, it's going to be resolved soon :)

  7. vjeux commented on Aug 25, 2017

    @vjeux
    ContributorAuthor

    I just fixed all the issues I could find running it through the fb codebase and understood what was wrong with our custom <fbt>.
    image

    I'll get started writing the changelog now :)

  8. niftylettuce commented on Aug 25, 2017

    @niftylettuce

    Is "prettier" field in package.json going to be supported soon? The issues posted and commented on are misleading and all the issues referenced to this do not discuss this at all, or what version it will be available in.

  9. niftylettuce commented on Aug 25, 2017

    @niftylettuce

    Also, I was not able to get .prettierignore or an ignore option in a .prettierrc file working. I see that a search for "prettierignore" and "prettierrc" yield results in search on this repo in the tests folder, but I don't think this is even integrated yet?

  10. lydell commented on Aug 25, 2017

    @lydell
    Member

    @niftylettuce See #2434 for what Prettier 1.6 will support. The readme is a bit confusing right now, because it refers to master (what will become 1.6), while the latest released version is 1.5.3 (which does not support any kind of configuration file).

  11. vjeux commented on Aug 25, 2017

    @vjeux
    ContributorAuthor

    I'm done writing the release notes, I'd love some review from people with access to the repo that can read it: https://github.com/prettier/prettier/releases/tag/untagged-3197ffbe0b32929f207d

    cc @lydell, @azz, @josephfrazier, @rattrayalex

  12. existentialism commented on Aug 25, 2017

    @existentialism
    Collaborator

    @vjeux LGTM, nice work!

    Small nit:

    styled-components has a lot of different variants

  13. vjeux commented on Aug 25, 2017

    @vjeux
    ContributorAuthor

    @existentialism feel free to edit it directly, I'm sure that there are a bunch of English typos :)

  14. existentialism commented on Aug 25, 2017

    @existentialism
    Collaborator
  15. 1 remaining item

  16. azz commented on Aug 26, 2017

    @azz
    Member

    Just made a couple of small edits to the notes - mainly noting we support .prettierrc, not .prettierconfig.

  17. vjeux commented on Aug 26, 2017

    @vjeux
    ContributorAuthor

    @azz: feel free to expand on the config section if there are relevant details that are useful :)

  18. azz commented on Aug 26, 2017

    @azz
    Member

    I added a link to the relevant section of the readme.

  19. ikatyang commented on Aug 26, 2017

    @ikatyang
    Member

    Just out of curious, shouldn't it be marked as beta tag?

    image

  20. vjeux commented on Aug 26, 2017

    @vjeux
    ContributorAuthor

    @ikatyang oh wow good call, I put the latest tag back to the other one! thanks!

  21. adamroyle commented on Aug 26, 2017

    @adamroyle

    I get error Command failed with exit code 1. when using --list-different, but only when I've executed prettier through a package.json script and prettier has modified some files.

    Prettier formats the files correctly (and there are no errors in my files), just the exit code is 1.

    eg. script in my package.json

    "format": "prettier --list-different --use-tabs --jsx-bracket-same-line --no-semi --print-width 120 --single-quote --write 'backend/scripts/**/*.js'"
    
  22. ikatyang commented on Aug 26, 2017

    @ikatyang
    Member

    @adamroyle

    --list-different

    Another useful flag is --list-different (or -l) which prints the filenames of files that are different from Prettier formatting. If there are differences the script errors out, which is useful in a CI scenario.

  23. azz commented on Aug 27, 2017

    @azz
    Member

    @vjeux I just added the TS2.5 support and the computed property change (#2670) to the release notes.

    proposal-optional-chaining (#2572) is missing from the release notes. Was that intentional due to it being an early stage proposal?

  24. danawoodman commented on Aug 27, 2017

    @danawoodman

    Can the branch be pushed tag to git?

  25. vjeux commented on Aug 27, 2017

    @vjeux
    ContributorAuthor

    @azz: I must have skipped it, there was a bunch of commits, not intentional.

  26. danawoodman commented on Aug 27, 2017

    @danawoodman

    @vjeux can we push tag to git?

  27. SimenB commented on Aug 28, 2017

    @SimenB
    Contributor

    Close this?

  28. added
    locked-due-to-inactivity
    on Jul 6, 2018
  29. locked as resolved and limited conversation to collaborators on Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked-due-to-inactivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions