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

Turbopack: Implement Server Actions #53890

Merged
merged 20 commits into from
Oct 4, 2023
Merged

Turbopack: Implement Server Actions #53890

merged 20 commits into from
Oct 4, 2023

Commits on Oct 3, 2023

  1. Implement Server Actions

    Insert react-experimental import mappings
    
    Parse the action map from comment
    
    tmp
    
    tmp
    
    Small cleanup
    
    Traverse from the rsc_entry, not the loader_tree
    
    Use evaluable asset and chunk_item id
    
    add node manifest loader to originModules to avoid memory leak
    
    clear cache for experimental react version too
    
    add use-flight-response as originModule to avoid leaking memory
    
    Merge server actions manifests
    
    Only transform server actions when enabled
    
    Always generate manifest
    
    Cleanup
    
    Fix merge conflicts
    
    Comments, and always generate the manifest
    
    Include next-swc crate in workspace
    
    Use graph traversal to find actions
    
    Reuse primary_referenced_modules
    
    Remove need for swc_file_name
    
    Use new `all_modules_iter` function
    
    Revert "Use new `all_modules_iter` function"
    
    This reverts commit 4239c5f.
    
    Pin to latest turbopack
    
    Use Mapping so that we don't need to hash again
    
    tmp
    
    Fix writing location for manifests
    
    Fix output path
    
    Fix merge conflicts
    
    Undo import map changes
    jridgewell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    c5bf496 View commit details
    Browse the repository at this point in the history
  2. tmp

    jridgewell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    e53d698 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15c26df View commit details
    Browse the repository at this point in the history
  4. Resolve merge conflicts

    jridgewell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    da8e96f View commit details
    Browse the repository at this point in the history
  5. Review comments

    jridgewell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    1f3345b View commit details
    Browse the repository at this point in the history
  6. Fixes

    jridgewell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    6b6e867 View commit details
    Browse the repository at this point in the history
  7. The comment confused me

    jridgewell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    2f48240 View commit details
    Browse the repository at this point in the history
  8. Fix last remap

    jridgewell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    89d8b15 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    86cc09c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac814e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    70044f9 View commit details
    Browse the repository at this point in the history
  4. Update packages/next-swc/crates/next-api/src/app.rs

    Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
    timneutkens and sokra committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    a7f0b1b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    05fd2fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cd0c3f4 View commit details
    Browse the repository at this point in the history
  7. Update mod.rs

    timneutkens committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    9bc86a9 View commit details
    Browse the repository at this point in the history
  8. Bring back canary change

    timneutkens committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    60df912 View commit details
    Browse the repository at this point in the history
  9. Update to reflect canary

    timneutkens committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    c3554ab View commit details
    Browse the repository at this point in the history
  10. Update to reflect canary

    timneutkens committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    98bae41 View commit details
    Browse the repository at this point in the history
  11. Fix lint and rust check

    huozhi committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    527e831 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    135d749 View commit details
    Browse the repository at this point in the history