diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index bf3521eef3..a3cb96288d 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -30,7 +30,7 @@ jobs: dry-run: false language: jvm - name: Upload Crash - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 if: failure() && steps.build.outcome == 'success' with: name: artifacts diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5de5e794b3..a9ba918728 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -23,16 +23,16 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15 + uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 with: languages: ${{ matrix.language }} - name: Autobuild - uses: github/codeql-action/autobuild@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15 + uses: github/codeql-action/autobuild@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15 + uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 diff --git a/.github/workflows/dep_build_v2.yml b/.github/workflows/dep_build_v2.yml index d1fca385d5..681cfa5046 100644 --- a/.github/workflows/dep_build_v2.yml +++ b/.github/workflows/dep_build_v2.yml @@ -20,9 +20,9 @@ jobs: env: JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1" steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Set up JDK - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: distribution: 'temurin' java-version: ${{ matrix.java_version }} diff --git a/.github/workflows/dep_build_v3.yml b/.github/workflows/dep_build_v3.yml index 08faa1cd2b..5791dd8c19 100644 --- a/.github/workflows/dep_build_v3.yml +++ b/.github/workflows/dep_build_v3.yml @@ -20,11 +20,11 @@ jobs: env: JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1" steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: ref: master - name: Set up JDK - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: distribution: 'temurin' java-version: ${{ matrix.java_version }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8fe5619ccc..cbb079b965 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: branches: - master - "3.0" - - "2.18" + - "2.19" paths-ignore: - "README.md" - "release-notes/*" @@ -12,7 +12,7 @@ on: branches: - master - "3.0" - - "2.18" + - "2.19" paths-ignore: - "README.md" - "release-notes/*" @@ -37,9 +37,9 @@ jobs: env: JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1" steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Set up JDK - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: distribution: 'temurin' java-version: ${{ matrix.java_version }} diff --git a/README.md b/README.md index 4fe7c30b0a..8f1025edda 100644 --- a/README.md +++ b/README.md @@ -240,7 +240,7 @@ ObjectMapper mapper = ...; File jsonFile = new File("test.json"); // note: method added in Jackson 2.11 (earlier would need to use // mapper.getFactory().createGenerator(...) -JsonGenerator g = f.createGenerator(jsonFile, JsonEncoding.UTF8); +JsonGenerator g = mapper.createGenerator(jsonFile, JsonEncoding.UTF8); // write JSON: { "message" : "Hello world!" } g.writeStartObject(); g.writeStringField("message", "Hello world!"); diff --git a/pom.xml b/pom.xml index dc0c81b7f2..1fa7778585 100644 --- a/pom.xml +++ b/pom.xml @@ -9,11 +9,11 @@ com.fasterxml.jackson jackson-base - 2.18.0-SNAPSHOT + 2.19.0-SNAPSHOT com.fasterxml.jackson.core jackson-databind - 2.18.0-SNAPSHOT + 2.19.0-SNAPSHOT jackson-databind jar General data-binding functionality for Jackson: works on core streaming API @@ -68,7 +68,7 @@ com.fasterxml.jackson.databind.cfg - 2024-08-30T18:18:56Z + 2024-09-27T01:57:15Z @@ -212,7 +212,6 @@ com.fasterxml.jackson.databind.MapperFootprintTest - **/failing/**/*.java