Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dpranke/pyjson5
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: refs/tags/v0.9.28
Choose a base ref
...
head repository: dpranke/pyjson5
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.0
Choose a head ref
  • 8 commits
  • 18 files changed
  • 2 contributors

Commits on Nov 11, 2024

  1. Bump version to 0.9.29_dev.

    dpranke committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    4702255 View commit details
    Browse the repository at this point in the history
  2. Add uv.lock lockfile

    dpranke committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    a0963ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8dbdc58 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Fix format of version for dev builds.

    Per the Python packaging specs, we should be using
    "0.9.28.dev0" instead of "0.9.28dev0" (although both work).
    dpranke committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    795b6fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3b2ffa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    af8fae2 View commit details
    Browse the repository at this point in the history
  4. format //run

    dpranke committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    9adb352 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. Add custom encoding to dump/dumps. (#88)

    Add support for custom encoders (and bump version to 0.10.0).
    
    This change reimplements `dump()` and `dumps()` on top of a  `JSON5Encoder` class that can be subclassed to customize the encoding of a data structure. The new class is somewhat similar to the `JSONEncoder` class in the standard library, except that in addition to a `default()` method that you can define to say how to encode an object that the normal encoder can't handle, there's also an `encode()` method that you can override to customize how existing data types are handled.
    
    The change also adds a `quote_style` argument that can be used to customize how strings are encoded (whether to use double or single quotes by default, etc.).
    dpranke authored Nov 26, 2024
    Configuration menu
    Copy the full SHA
    3bc470c View commit details
    Browse the repository at this point in the history
Loading