Skip to content

Commit 025978a

Browse files
committed
Increment version to 0.4.0
* Clean up links in CHANGELOG.md while we're at it.
1 parent 78e54b9 commit 025978a

3 files changed

Lines changed: 91 additions & 42 deletions

File tree

CHANGELOG.md

Lines changed: 89 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -9,75 +9,79 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
## [0.4.0] - 2025-11-18
13+
14+
This version hits the milestone to have all major craps bets implemented.
15+
1216
### Added
1317

14-
* New bets: `Horn`, `World` (Whirl), `Big6`/`Big8`, `Buy`, `Lay`, and `Put` (with or without odds) from [@nova-rey](https://github.com/nova-rey)
18+
* New bets: `Horn`, `World` (Whirl), `Big6`/`Big8`, `Buy`, `Lay`, and `Put` (with or without odds) from [@nova-rey] in [#73], [#81]
1519
* Corresponding single bet strategies
1620
* Corresponding odds strategies: `PutOddsAmount`, `PutOddsMultiplier`
1721
* Corresponding examples strategies: `QuickProps`, `BuySampler`, `LaySampler`, `PutWithOdds`
18-
* Vig policy settings to TableSettings
19-
* `WinMultiplier` family of strategies which take a desired win multiple and calculates the correct amount based on the bet amount.
22+
* Vig policy settings to TableSettings ([#73])
23+
* `WinMultiplier` family of strategies which take a desired win multiple and calculates the correct amount based on the bet amount ([#74])
2024
* `WinMultiplier` is the general strategy which takes specific bet type argument
2125
* Convenience strategies for individual bets: `PassLineWinMultiplier`, `ComeWinMultiplier`, `DontPassWinMultiplier`, `DontComeWinMultiplier`, and `PutWinMultiplier`
22-
* `ThreePointMolly` and `ThreePointDolly` strategies with variable odds/win mutipliers
23-
* Stress tests, expanded examples, tools as part of the Vanilla Expansion Project
26+
* `ThreePointMolly` and `ThreePointDolly` strategies with variable odds/win mutipliers ([#82])
27+
* Stress tests, expanded examples, tools as part of the Vanilla Expansion Project ([#73])
2428

2529
### Changed
2630

27-
* The default printout for bets is now more compact and easy to read (the `__str__` method is defined; instead of only `__repr__`)
31+
* The default printout for bets is now more compact and easy to read (the `__str__` method is defined; instead of only `__repr__`) ([#83])
2832

2933
### Fixed
3034

31-
* `DontPass` and `DontCome` bets will now "push" on a come-out 12, bringing the bet down and returing the bet amount to the player. `_WinningLosingNumbersBet` gains `get_push_numbers()` method to accomodate.
32-
* The `Risk12` strategy will now take down place bets after hitting point (i.e. place bets not working), which is aligned to table conventions
33-
* `OddsMultiplier` `__repr__` logic so that floats, ints, and incomplete dictionaries all work for odds/win multiplier
35+
* `DontPass` and `DontCome` bets will now "push" on a come-out 12, bringing the bet down and returing the bet amount to the player. `_WinningLosingNumbersBet` gains `get_push_numbers()` method to accomodate ([#76])
36+
* The `Risk12` strategy will now take down place bets after hitting point (i.e. place bets not working), which is aligned to table conventions ([#78])
37+
* `OddsMultiplier` `__repr__` logic so that floats, ints, and incomplete dictionaries all work for odds/win multiplier ([#74])
3438

3539
## [0.3.2] - 2025-10-11
3640

3741
### What's Changed
38-
* Restrict strategy updates during runout by @skent259 in https://github.com/skent259/crapssim/pull/62
39-
* Update Risk12 strategy by @skent259 in https://github.com/skent259/crapssim/pull/63
40-
* Reorder integration tests by @skent259 in https://github.com/skent259/crapssim/pull/64
41-
* Verbose: print roll and shooter counts by @JotaGreen in https://github.com/skent259/crapssim/pull/65
42-
* Fix odds bet having result when the point is off by @skent259 in https://github.com/skent259/crapssim/pull/66
43-
* Fix ATS bets, ATS strategy, and strategies with persistent bet features by @skent259 in https://github.com/skent259/crapssim/pull/71
42+
* Restrict strategy updates during runout by [@skent259] in [#62]
43+
* Update Risk12 strategy by [@skent259] in [#63]
44+
* Reorder integration tests by [@skent259] in [#64]
45+
* Verbose: print roll and shooter counts by [@JotaGreen] in [#65]
46+
* Fix odds bet having result when the point is off by [@skent259] in [#66]
47+
* Fix ATS bets, ATS strategy, and strategies with persistent bet features by [@skent259] in [#71]
4448

4549

4650
## [0.3.1] - 2025-02-13
4751

4852
### What's Changed
49-
* **BREAKING**: Rename strategy tools and implement new strategy modes by @skent259 in https://github.com/skent259/crapssim/pull/55
53+
* **BREAKING**: Rename strategy tools and implement new strategy modes by [@skent259] in [#55]
5054
* Renamed many strategy tools. In addition, breaking change in functionality of BetPlace, and any strategy that uses BetPlace (including PlaceInside, IronCross, Hammerlock, Risk12, Place68DontCome2Odds). To keep old behavior, you need to update to BetPlace(..., strategy_mode=StrategyMode.ADD_IF_POINT_ON) for the corresponding strategy. This will have place bets working during come-out rolls.
5155
* Fixes PlaceInside strategy is slightly off from table conventions #52
52-
* Add hop bets by @skent259 in https://github.com/skent259/crapssim/pull/56
53-
* Improve printout for verbose table run in 850889453435aa4b2fe09c1abb4b6c0ec6b291ff, #49
54-
* Fix Simple Bets and BetIfTrue not working on Bets with persistent features (on multi sims) https://github.com/skent259/crapssim/issues/48
55-
* Fix Table does not run properly on second call https://github.com/skent259/crapssim/issues/53
56-
* Add BetAll, BetTall, BetSmall strategies by @skent259 in https://github.com/skent259/crapssim/pull/57
57-
* Improve documentation by @skent259 in https://github.com/skent259/crapssim/pull/50
56+
* Add hop bets by [@skent259] in [#56]
57+
* Improve printout for verbose table run in [`8508894`](https://github.com/skent259/crapssim/commit/850889453435aa4b2fe09c1abb4b6c0ec6b291ff), [#49]
58+
* Fix Simple Bets and BetIfTrue not working on Bets with persistent features (on multi sims) [#48]
59+
* Fix Table does not run properly on second call [#53]
60+
* Add BetAll, BetTall, BetSmall strategies by [@skent259] in [#57]
61+
* Improve documentation by [@skent259] in [#50]
5862

5963

6064
## [0.3.0] - 2024-12-01
6165

6266
This is a major update with breaking changes throughout the package. The changes ensure we can implement new bets and make the strategies much easier for new and old users alike, building for the future of the package.
6367

6468
### What's Changed
65-
* Changes for Type Hinting by @amortization in https://github.com/skent259/crapssim/pull/3
66-
* Added a Fire bet by @amortization in https://github.com/skent259/crapssim/pull/12
67-
* Create .gitattributes by @skent259 in https://github.com/skent259/crapssim/pull/15
68-
* Make gitattriuutes by @skent259 in https://github.com/skent259/crapssim/pull/17
69-
* Improve Table Payouts per issue #13 by @amortization in https://github.com/skent259/crapssim/pull/18
70-
* Removed the Python directory as it currently isn't documented or used… by @amortization in https://github.com/skent259/crapssim/pull/9
71-
* Changed how Odds bets work and how Bets are queried by Player by @amortization in https://github.com/skent259/crapssim/pull/20
72-
* Strategy rewrite by @amortization in https://github.com/skent259/crapssim/pull/29
73-
* Bet changes Supersedes #19 by @amortization in https://github.com/skent259/crapssim/pull/30
74-
* Add crapssim development install instructions by @skent259 in https://github.com/skent259/crapssim/pull/22
75-
* Clean up Bet module by @skent259 in https://github.com/skent259/crapssim/pull/36
76-
* Add All, Tall, and Small bets by @skent259 in https://github.com/skent259/crapssim/pull/37
77-
* Add more bet changes by @skent259 in https://github.com/skent259/crapssim/pull/41
78-
* Update dice and table for better randomization. by @skent259 in https://github.com/skent259/crapssim/pull/42
79-
* Clean up strategy module by @skent259 in https://github.com/skent259/crapssim/pull/44
80-
* Incorporate dev updates for version 0.3.0 by @skent259 in https://github.com/skent259/crapssim/pull/45
69+
* Changes for Type Hinting by [@amortization] in [#3]
70+
* Added a Fire bet by [@amortization] in [#12]
71+
* Create .gitattributes by [@skent259] in [#15]
72+
* Make gitattriuutes by [@skent259] in [#17]
73+
* Improve Table Payouts per issue #13 by [@amortization] in [#18]
74+
* Removed the Python directory as it currently isn't documented or used… by [@amortization] in [#9]
75+
* Changed how Odds bets work and how Bets are queried by Player by [@amortization] in [#20]
76+
* Strategy rewrite by [@amortization] in [#29]
77+
* Bet changes Supersedes #19 by [@amortization] in [#30]
78+
* Add crapssim development install instructions by [@skent259] in [#22]
79+
* Clean up Bet module by [@skent259] in [#36]
80+
* Add All, Tall, and Small bets by [@skent259] in [#37]
81+
* Add more bet changes by [@skent259] in [#41]
82+
* Update dice and table for better randomization. by [@skent259] in [#42]
83+
* Clean up strategy module by [@skent259] in [#44]
84+
* Incorporate dev updates for version 0.3.0 by [@skent259] in [#45]
8185

8286

8387
## [0.2.0] - 2021-03-07
@@ -93,9 +97,54 @@ This is a major update with breaking changes throughout the package. The changes
9397
Initial version
9498

9599

96-
[unreleased]: https://github.com/skent259/crapssim/compare/v0.3.2...HEAD
100+
[unreleased]: https://github.com/skent259/crapssim/compare/v0.4.0...HEAD
101+
[0.4.0]: https://github.com/skent259/crapssim/compare/v0.3.2...v0.4.0
97102
[0.3.2]: https://github.com/skent259/crapssim/compare/v0.3.1...v0.3.2
98103
[0.3.1]: https://github.com/skent259/crapssim/compare/v0.3.0...v0.3.1
99104
[0.3.0]: https://github.com/skent259/crapssim/compare/v0.2.0...v0.3.0
100105
[0.2.0]: https://github.com/skent259/crapssim/compare/v0.1.1...v0.2.0
101-
[0.1.1]: https://github.com/skent259/crapssim/releases/tag/v0.1.1
106+
[0.1.1]: https://github.com/skent259/crapssim/releases/tag/v0.1.1
107+
108+
[@skent259]: https://github.com/skent259
109+
[@amortization]: https://github.com/amortization
110+
[@JotaGreen]: https://github.com/JotaGreen
111+
[@nova-rey]: https://github.com/nova-rey
112+
113+
[#3]: https://github.com/skent259/crapssim/pull/3
114+
[#9]: https://github.com/skent259/crapssim/pull/9
115+
[#12]: https://github.com/skent259/crapssim/pull/12
116+
[#15]: https://github.com/skent259/crapssim/pull/15
117+
[#17]: https://github.com/skent259/crapssim/pull/17
118+
[#18]: https://github.com/skent259/crapssim/pull/18
119+
[#20]: https://github.com/skent259/crapssim/pull/20
120+
[#22]: https://github.com/skent259/crapssim/pull/22
121+
[#29]: https://github.com/skent259/crapssim/pull/29
122+
[#30]: https://github.com/skent259/crapssim/pull/30
123+
[#36]: https://github.com/skent259/crapssim/pull/36
124+
[#37]: https://github.com/skent259/crapssim/pull/37
125+
[#41]: https://github.com/skent259/crapssim/pull/41
126+
[#42]: https://github.com/skent259/crapssim/pull/42
127+
[#44]: https://github.com/skent259/crapssim/pull/44
128+
[#45]: https://github.com/skent259/crapssim/pull/45
129+
[#49]: https://github.com/skent259/crapssim/pull/49
130+
[#50]: https://github.com/skent259/crapssim/pull/50
131+
[#55]: https://github.com/skent259/crapssim/pull/55
132+
[#56]: https://github.com/skent259/crapssim/pull/56
133+
[#57]: https://github.com/skent259/crapssim/pull/57
134+
[#62]: https://github.com/skent259/crapssim/pull/62
135+
[#63]: https://github.com/skent259/crapssim/pull/63
136+
[#64]: https://github.com/skent259/crapssim/pull/64
137+
[#65]: https://github.com/skent259/crapssim/pull/65
138+
[#66]: https://github.com/skent259/crapssim/pull/66
139+
[#71]: https://github.com/skent259/crapssim/pull/71
140+
[#73]: https://github.com/skent259/crapssim/pull/71
141+
[#74]: https://github.com/skent259/crapssim/pull/71
142+
[#75]: https://github.com/skent259/crapssim/pull/71
143+
[#76]: https://github.com/skent259/crapssim/pull/71
144+
[#78]: https://github.com/skent259/crapssim/pull/71
145+
[#81]: https://github.com/skent259/crapssim/pull/71
146+
[#82]: https://github.com/skent259/crapssim/pull/71
147+
[#83]: https://github.com/skent259/crapssim/pull/71
148+
149+
[#48]: https://github.com/skent259/crapssim/issues/48
150+
[#53]: https://github.com/skent259/crapssim/issues/53

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = "Sean Kent, amortization, nova-rey"
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = "0.3.2"
25+
release = "0.4.0"
2626

2727

2828
# -- General configuration ---------------------------------------------------

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = crapssim
3-
version = 0.3.2
3+
version = 0.4.0
44
author = "Sean Kent, @amortization, @nova-rey"
55
author_email = skent259@gmail.com
66
description = Simulator for Craps with various betting strategies

0 commit comments

Comments
 (0)