Skip to content

Commit

Permalink
Bump project version and generate changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyabsk committed Nov 26, 2022
1 parent 8b63afc commit 5c82160
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 13 deletions.
27 changes: 27 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@ Changelog

.. towncrier release notes start
Pyrh 2.0.1 (2022-11-25)
=====================

Features
--------

- Add SessionManager to handle oauth and refresh (#215)
- Add marshmallow support for internal models. (#223)
- Added Robinhood watchlists API integration to retrieve watchlist details (stocks) of given authenticated user. (#225)
- Add Instruments model to the project. (#227)


Bugfixes
--------

- Set default challenge method to sms, email no longer works (83c03133b4fc7a8845de2ae1093136973fe988ce)
- Updated the .get_historical_quotes() to use the URL method .with_query() in order to build a URL with params. (#229)
- Fix the options functions. (#235)
- Fix bug in cancel_order due to wrong concatenation syntax. (#296)


Misc
----

- #226


Pyrh 2.0 (2022-11-25)
=====================

Expand Down
14 changes: 12 additions & 2 deletions docs/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Installation
* |black|_
* |flake8|_
* |isort|_

* |pyenv|_ / |pyenv-virtualenv|_ are great and highly recommended but not covered in
this guide

Expand Down Expand Up @@ -54,7 +55,7 @@ Installation
Lint checks are automatically run when you try to push the code. To manually run them
run the following command. If you want to skip the lint check, you can do that by using
`--no-verify` when committing.
``--no-verify`` when committing.

.. code-block:: console
Expand Down Expand Up @@ -90,9 +91,18 @@ add a towncrier_ file of your changes to the newsfragment directory.
Release
*******

To cut a new release go through the following steps
To cut a new release go through the following steps.

* Make sure that the version is updated in both ``__init__.py`` and ``pyproject.toml``
* Make sure you've |set up your PyPI credential| with poetry
* Then run:

.. |set up your PyPI credential|: https://python-poetry.org/docs/repositories/#configuring-credentials
.. code-block:: console
towncrier build --draft # verify this works then run
towncrier build
poetry build
poetry publish --dry-run # verify this succeeds
poetry publish
1 change: 0 additions & 1 deletion newsfragments/215.feature

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/223.feature

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/225.feature

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/226.misc

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/227.feature

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/229.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/235.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/296.bugfix

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyrh"
version = "2.0"
version = "2.0.1"
description = "Unofficial Robinhood Python API"
authors = [
"Unofficial Robinhood Python API Developers"
Expand Down
2 changes: 1 addition & 1 deletion pyrh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .cache import dump_session, load_session
from .robinhood import Robinhood

__version__ = "2.0"
__version__ = "2.0.1"
__all__ = [
"__version__",
"Robinhood",
Expand Down

0 comments on commit 5c82160

Please sign in to comment.