The Wayback Machine - https://web.archive.org/web/20230105183402/https://github.com/spring-projects/spring-framework/commits/main
Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jan 4, 2023

  1. Polish #29727: Mention Kotlin andExpectAll in reference manual (#29766)

    This just adds a Kotlin snippet alongside the Java snippet in the
    reference manual.
    
    Relates to gh-29727
    Closes gh-27317
    simonbasle committed Jan 4, 2023

Commits on Jan 3, 2023

  1. Add Kotlin DSL support for MockMVC andExpectAll (#29727)

    As the DSL internally calls `ResultActions.andExpect`, this is done with
    a trick where a synthetic `ResultActions` is provided at top level which
    stores each `ResultMatcher` in a mutable list.
    
    Once the DSL usage is done, the top level DSL `andExpectAll` turns that
    list into a `vararg` passed down to the actual `actions.andExpectAll`.
    
    Closes gh-27317
    simonbasle committed Jan 3, 2023
  2. Fix wrong asserted code in SQLExceptionSubclassTranslatorTests (#29748)

    There was a typo in the test, covering the wrong SQLState code.
    
    Polishes a644245.
    Relates to gh-29699.
    izeye committed Jan 3, 2023

Commits on Dec 20, 2022

Commits on Dec 19, 2022

  1. Fix path within mapping when pattern contains ".*"

    Prior to this commit, extracting the path within handler mapping would
    result in "" if the matching path element would be a Regex and contain
    ".*". This could cause issues with resource handling if the handler
    mapping pattern was similar to `"/folder/file.*.extension"`.
    
    This commit introduces a new `isLiteral()` method in the `PathElement`
    abstract class that expresses whether the path element can be compared
    as a String for path matching or if it requires a more elaborate
    matching process.
    
    Using this method for extracting the path within handler mapping avoids
    relying on wildcard count or other properties.
    
    Fixes gh-29712
    bclozel committed Dec 19, 2022

Commits on Dec 17, 2022

  1. Update Jakarta Mail info in ref docs

    Closes gh-29707
    sbrannen committed Dec 17, 2022
  2. Fix subsection style in WebFlux Concurrency Model

    The block title style previously used was not rendered in HTML and the
    title couldn't be differentiated from the text. Though, it was in the
    PDF, as italics.
    
    Introducing delimited blocks in the open (`--`) style did introduce
    styling, but the vertical alignment isn't great.
    
    This commit turns these block titles to actual (deep) section titles.
    In the final HTML, at this depth there is no numbering but bold styling
    is there. The PDF rendering has also been verified to have relevant
    style.
    
    Closes gh-29694
    simonbasle authored and sbrannen committed Dec 17, 2022
  3. Rework linking to Spring MVC Async support vs WebFlux section

    The link was previously named "Compared to WebFlux", which is easy to
    mix up with the various links to equivalent sections in the WebFlux
    chapter. Here the links point to a small section comparing the Servlet
    Async API to the WebFlux stack from a high perspective.
    
    In this commit we eliminate most of these links, except at the
    beginning of the Asynchronous section. We also add a small mention of
    the Servlet configuration in the comparison paragraphs, since the
    Configuring section is the one furthest from the comparison paragraphs
    that used to have a link to it.
    
    Closes gh-29694
    simonbasle authored and sbrannen committed Dec 17, 2022
  4. Remove ref to JOTM, inactive since 2009

    Closes gh-29694
    simonbasle authored and sbrannen committed Dec 17, 2022
  5. Fix link to Jakarta Mail

    Closes gh-29694
    simonbasle authored and sbrannen committed Dec 17, 2022
  6. Fix typos in reference manual

    Closes gh-29694
    simonbasle authored and sbrannen committed Dec 17, 2022
  7. Polish contribution

    sbrannen committed Dec 17, 2022
  8. Extract ResourceEntityResolver HTTPS schema resolution fallback

    This commit extracts the DTD/XSD remote lookup fallback from the
    resolveEntity() method into a protected method.
    
    A WARN-level logging statement is added to the extracted fallback in
    order to make it clear that remote lookup happened.
    
    Overriding the protected method would allow users to avoid this
    fallback entirely if it isn't desirable, without the need to duplicate
    the local resolution code.
    
    Closes gh-29697
    simonbasle authored and sbrannen committed Dec 17, 2022
Older