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: ccoVeille/go-safecast
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: ccoVeille/go-safecast
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.0
Choose a head ref
  • 14 commits
  • 16 files changed
  • 3 contributors

Commits on Nov 30, 2024

  1. build(deps): bump the all group with 2 updates

    Bumps the all group with 2 updates: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) and [codecov/codecov-action](https://github.com/codecov/codecov-action).
    
    
    Updates `DavidAnson/markdownlint-cli2-action` from 17.0.0 to 18.0.0
    - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
    - [Commits](DavidAnson/markdownlint-cli2-action@v17.0.0...v18.0.0)
    
    Updates `codecov/codecov-action` from 4 to 5
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: DavidAnson/markdownlint-cli2-action
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: all
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: all
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and ccoVeille committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    3bea3b3 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. build(deps): bump crate-ci/typos in the all group across 1 directory

    Bumps the all group with 1 update in the / directory: [crate-ci/typos](https://github.com/crate-ci/typos).
    
    
    Updates `crate-ci/typos` from 1.27.3 to 1.28.2
    - [Release notes](https://github.com/crate-ci/typos/releases)
    - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
    - [Commits](crate-ci/typos@v1.27.3...v1.28.2)
    
    ---
    updated-dependencies:
    - dependency-name: crate-ci/typos
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: all
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and ccoVeille committed Dec 9, 2024
    Configuration menu
    Copy the full SHA
    56e70a4 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2024

  1. ci: we should make sure the code comply gosec

    The whole project is about having code compliant with G115.
    ccoVeille committed Dec 13, 2024
    Configuration menu
    Copy the full SHA
    49c0c79 View commit details
    Browse the repository at this point in the history
  2. ci: lint file names

    remove copy pasta
    ccoVeille committed Dec 13, 2024
    Configuration menu
    Copy the full SHA
    5153904 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2024

  1. chore: rewrite examples

    Providing the value and error would be easier to test
    ccoVeille committed Dec 14, 2024
    Configuration menu
    Copy the full SHA
    f468e0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81da728 View commit details
    Browse the repository at this point in the history
  3. chore: simplify code

    One code to rule them all.
    
    This code is pretty similar to the one @ldemailly provided for
    https://github.com/fortio/safecast
    
    We worked at the same time on the same code, we came to distinct solutions.
    His one was better and simpler than mine, so now I'm simply switching to
    something highly inspired from his code.
    
    Co-Authored-By: Laurent Demailly <ldemailly@gmail.com>
    ccoVeille and ldemailly committed Dec 14, 2024
    Configuration menu
    Copy the full SHA
    cbcae8f View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2024

  1. feat: add conversion to float32 and float64

    The only uses case that can overflow is when a float64 is stored in a float32
    ccoVeille committed Dec 15, 2024
    Configuration menu
    Copy the full SHA
    74e2586 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2024

  1. ci: try to fix codeclimate

    ccoVeille committed Dec 17, 2024
    Configuration menu
    Copy the full SHA
    f7534d4 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump crate-ci/typos from 1.28.2 to 1.28.3 in the all group

    Bumps the all group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos).
    
    
    Updates `crate-ci/typos` from 1.28.2 to 1.28.3
    - [Release notes](https://github.com/crate-ci/typos/releases)
    - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
    - [Commits](crate-ci/typos@v1.28.2...v1.28.3)
    
    ---
    updated-dependencies:
    - dependency-name: crate-ci/typos
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: all
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and ccoVeille committed Dec 17, 2024
    Configuration menu
    Copy the full SHA
    5230cf7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5639866 View commit details
    Browse the repository at this point in the history
  4. feat: add Convert

    and allow to convert from string and bool
    ccoVeille committed Dec 17, 2024
    Configuration menu
    Copy the full SHA
    f0cd846 View commit details
    Browse the repository at this point in the history
  5. doc: improve documentation

    The struct of the error is no longer exported.
    
    It helps to provide a better documentation, even if it's a breaking change.
    ccoVeille committed Dec 17, 2024
    Configuration menu
    Copy the full SHA
    214bd73 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2024

  1. feat: add MustConvert

    This function calls Convert and panics if there is an error
    ccoVeille committed Dec 18, 2024
    Configuration menu
    Copy the full SHA
    18f613b View commit details
    Browse the repository at this point in the history
Loading