From c32c9249ffaf44958a829248cb51cb0179d03c7a Mon Sep 17 00:00:00 2001
From: Donald Campbell <125581724+donaldcampbelljr@users.noreply.github.com>
Date: Mon, 30 Sep 2024 15:10:08 -0400
Subject: [PATCH] update changelog and version for 2.0.0a2 prerelease

---
 docs/changelog.md      | 30 ++++++++++++++++++++++++++----
 looper/_version.py     |  2 +-
 looper/cli_pydantic.py |  2 +-
 3 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/docs/changelog.md b/docs/changelog.md
index a80b696c..662481f5 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -2,12 +2,34 @@
 
 This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.
 
-## [2.0.0] -- 2024-08-XX
+## [2.0.0a2] -- 2024-09-30
+
+This release breaks backwards compatibility for Looper versions < 2.0.0
+
+### Fixed
+- divvy init [#520](https://github.com/pepkit/looper/issues/520)
+- replaced deprecated PEPHubClient function, `_load_raw_pep` with `.load_raw_pep`
+- looper cli parameters now take priority as originally intended [#518](https://github.com/pepkit/looper/issues/518)
+- fix divvy inspect
+- remove printed dictionary at looper finish [#511](https://github.com/pepkit/looper/issues/511)
+
+### Changed
+- `--looper-config` is now `--config`, `-c`. [#455](https://github.com/pepkit/looper/issues/455)
+- A pipeline interface now consolidates a `sample_interface` and a `project_interface` [#493](https://github.com/pepkit/looper/issues/493)
+- Updated documentation for Looper 2.0.0, removing previous versions [pepspec PR #34](https://github.com/pepkit/pepspec/pull/34)
+- remove position based argument for divvy config, must use --config or run as default config
+
+
+### Added
+- `looper init` tutorial [#466](https://github.com/pepkit/looper/issues/466)
+- looper config allows for `pephub_path` in pipestat config section of `.looper.yaml` [#519](https://github.com/pepkit/looper/issues/519)
+- improve error messaging for bad/malformed looper configurations [#515](https://github.com/pepkit/looper/issues/515)
+- add shortform argument for --package (alias is now -p)
+
+## [1.9.1] -- 2024-07-18
 
 ### Changed
-- refactored some CLI arguments  [455](https://github.com/pepkit/looper/issues/455)
-- consolidate sample and project interfaces under a single pipeline interface [493](https://github.com/pepkit/looper/issues/493)
-- added guided tutorial for initializing looper config file [466](https://github.com/pepkit/looper/issues/466)
+- ensure peppy requirement peppy>=0.40.0,<=0.40.2
 
 ## [1.9.0] -- 2024-06-26
 
diff --git a/looper/_version.py b/looper/_version.py
index 33ca05a0..05c48b5c 100644
--- a/looper/_version.py
+++ b/looper/_version.py
@@ -1,2 +1,2 @@
-__version__ = "2.0.0a1"
+__version__ = "2.0.0a2"
 # You must change the version in parser = pydantic_argparse.ArgumentParser in cli_pydantic.py!!!
diff --git a/looper/cli_pydantic.py b/looper/cli_pydantic.py
index df888fb4..9c66f794 100644
--- a/looper/cli_pydantic.py
+++ b/looper/cli_pydantic.py
@@ -340,7 +340,7 @@ def main(test_args=None) -> dict:
         prog="looper",
         description="Looper: A job submitter for Portable Encapsulated Projects",
         add_help=True,
-        version="2.0.0a1",
+        version="2.0.0a2",
     )
 
     parser = add_short_arguments(parser, ArgumentEnum)