From c6c452dd2d6d99599e42195a36081d26fc77a357 Mon Sep 17 00:00:00 2001
From: Matthieu Vachon <matt@streamingfast.io>
Date: Thu, 13 Jul 2023 13:47:06 -0400
Subject: [PATCH] Release 1.2.1

---
 CHANGELOG.md    | 6 ++++++
 Cargo.lock      | 2 +-
 Cargo.toml      | 2 +-
 substreams.yaml | 6 +++---
 4 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b30f43..487fd93 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
 
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [1.2.1]
+
+* Changed imports in `substreams.yaml` definition so that packaged `.spkg` can you the expect path `sf/substreams/sink/database/v1` to exclude and generating from the `.spkg` will generate data on the right path.
+
+If you were using `--exclude-paths` on `substreams protogen` and your path was `database.proto`, you should change to `sf/substreams/sink/database/v1`. We think this affects no one has everyone is probably using the pre-rendered Protobuf found in Rust crate `substreams-database-change`.
+
 ## [1.2.0]
 
 * **Breaking** Renamed `substreams_database_change::pb::database::table_change::Operation::Unset` to be become `...::Operation::Unspecified` to make the Protobuf conforms to buf lint rules.
diff --git a/Cargo.lock b/Cargo.lock
index 670377e..76b3ef1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -400,7 +400,7 @@ dependencies = [
 
 [[package]]
 name = "substreams-database-change"
-version = "1.2.0"
+version = "1.2.1"
 dependencies = [
  "prost",
  "prost-types",
diff --git a/Cargo.toml b/Cargo.toml
index 4f89ae7..2a0d4c9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "substreams-database-change"
-version = "1.2.0"
+version = "1.2.1"
 edition = "2021"
 description = "Substreams database change containg helpers"
 authors = ["StreamingFast Contributors <team@streamingfast.io>"]
diff --git a/substreams.yaml b/substreams.yaml
index 242e824..4efa769 100644
--- a/substreams.yaml
+++ b/substreams.yaml
@@ -1,12 +1,12 @@
 specVersion: v0.1.0
 package:
   name: substreams_sink_database_changes
-  version: v1.1.3
+  version: v1.2.1
   url: https://github.com/streamingfast/substreams-sink-database-changes
   doc: Contains all the definitions for the database changes which can be emitted by a Substreams.
 
 protobuf:
   files:
-    - database.proto
+    - sf/substreams/sink/database/v1/database.proto
   importPaths:
-    - ./proto/sf/substreams/sink/database/v1
+    - ./proto