diff --git a/ChangeLog.md b/ChangeLog.md
deleted file mode 100644
--- a/ChangeLog.md
+++ /dev/null
@@ -1,56 +0,0 @@
-### 4.0.28
-
-+ Depend on haskell-gi >= 0.26.9 (see [issue 439](https://github.com/haskell-gi/haskell-gi/issues/439))
-
-### 4.0.27
-
-+ Bump base lower bound
-
-### 4.0.26
-
-+ Bump base lower bound
-
-### 4.0.25
-
-+ Relax constraint on text
-
-### 4.0.24
-
-+ Update to haskell-gi(-base)-0.26
-
-### 4.0.23
-
-+ Update to haskell-gi(-base)-0.25
-
-### 4.0.22
-
-+ Upgrade to haskell-gi-base-0.24
-
-### 4.0.21
-
-+ Update for haskell-gi(-base)-0.23
-
-### 4.0.20
-
-+ Add support for inherited dependencies
-
-### 4.0.19
-
-+ Tighten bounds in haskell-gi(-base)
-
-### 4.0.18
-
-+ List autogenerated modules in .cabal file
-
-### 4.0.17
-
-+ Update to haskell-gi(-base) 0.22
-
-### 4.0.16
-
-+ Update stack version to 12.10
-
-### 4.0.15
-
-+ Remove enable-overloading flags, and use instead explicit CPP checks for 'haskell-gi-overloading-1.0', see [how to disable overloading](https://github.com/haskell-gi/haskell-gi/wiki/Overloading\#disabling-overloading).
-
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,13 +1,13 @@
-The gi-javascriptcore library and included works are provided under the terms of the
+The gi-javascriptcore4 library and included works are provided under the terms of the
 GNU Library General Public License (LGPL) version 2.1 with the following
 exception:
 
-Static linking of applications or any other source to the gi-javascriptcore library
+Static linking of applications or any other source to the gi-javascriptcore4 library
 does not constitute a modified or derivative work and does not require
 the author(s) to provide source code for said work, to link against the
-shared gi-javascriptcore libraries, or to link their applications against a
-user-supplied version of gi-javascriptcore. If you link applications to a modified
-version of gi-javascriptcore, then the changes to gi-javascriptcore must be provided under the
+shared gi-javascriptcore4 libraries, or to link their applications against a
+user-supplied version of gi-javascriptcore4. If you link applications to a modified
+version of gi-javascriptcore4, then the changes to gi-javascriptcore4 must be provided under the
 terms of the LGPL.
 
 ----------------------------------------------------------------------------
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,2 @@
-# Documentation
-Autogenerated documentation for this package can be found at
-
-[https://hackage.haskell.org/package/gi-javascriptcore-4.0.28/docs/GI-JavaScriptCore.html](https://hackage.haskell.org/package/gi-javascriptcore-4.0.28/docs/GI-JavaScriptCore.html)
-
-For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
+# Information
+This is a compatibility package. For newer projects we recommend that you use [gi-javascriptcore4](/package/gi-javascriptcore4) instead.
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,18 +1,5 @@
-{-# LANGUAGE OverloadedStrings #-}
-
-import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..))
-
-import qualified GI.GLib.Config as GLib
-import qualified GI.GObject.Config as GObject
-
+import Data.GI.CodeGen.CabalHooks (setupCompatWrapper)
+import qualified GI.JavaScriptCore.Config as Cfg
 
 main :: IO ()
-main = setupBinding name version pkgName pkgVersion verbose overridesFile inheritedOverrides outputDir
-  where name = "JavaScriptCore"
-        version = "4.0"
-        pkgName = "gi-javascriptcore"
-        pkgVersion = "4.0.28"
-        overridesFile = Nothing
-        verbose = False
-        outputDir = Nothing
-        inheritedOverrides = [TaggedOverride "inherited:GLib" GLib.overrides, TaggedOverride "inherited:GObject" GObject.overrides]
+main = setupCompatWrapper "gi-javascriptcore4" Cfg.modules
diff --git a/gi-javascriptcore.cabal b/gi-javascriptcore.cabal
--- a/gi-javascriptcore.cabal
+++ b/gi-javascriptcore.cabal
@@ -1,84 +1,29 @@
-name:                 gi-javascriptcore
-version:              4.0.28
-synopsis:             JavaScriptCore bindings
-description:          Bindings for JavaScriptCore, autogenerated by haskell-gi.
-homepage:             https://github.com/haskell-gi/haskell-gi
-license:              LGPL-2.1
-license-file:         LICENSE
-author:               Iñaki García Etxebarria
-maintainer:           Iñaki García Etxebarria
-category:             Bindings
-build-type:           Custom
-cabal-version:        2.0
+name:           gi-javascriptcore
+version:        4.0.29
+synopsis:       JavaScriptCore 4.x bindings (compatibility layer)
+description:    This package re-exports (for backward compatibility)
+                the haskell-gi generated bindings in the gi-javascriptcore4 package.
+homepage:       https://github.com/haskell-gi/haskell-gi
+license:        LGPL-2.1
+license-file:   LICENSE
+author:         Iñaki García Etxebarria
+maintainer:     Iñaki García Etxebarria
+category:       Bindings
+build-type:     Custom
+cabal-version:  2.0
 
-extra-source-files: README.md ChangeLog.md stack.yaml
+extra-source-files: README.md
 
 custom-setup
-      setup-depends: base >= 4.11 && < 5,
-                     Cabal >= 1.24 && < 4,
-                     haskell-gi >= 0.26.9 && < 0.27,
-                     gi-gobject == 2.0.*,
-                     gi-glib == 2.0.*
+ setup-depends:
+   base >= 4.11 && <5,
+   haskell-gi ^>= 0.26.14,
+   gi-javascriptcore4 ^>= 4.0.29
 
 library
-      default-language: Haskell2010
-      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators
-      other-extensions: PatternSynonyms, ViewPatterns, TypeApplications
-      ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations
-
-      pkgconfig-depends: javascriptcoregtk-4.0
-      build-depends: base >= 4.7 && <5,
-                     haskell-gi-base >= 0.26 && < 0.27,
-                     haskell-gi >= 0.26.9 && < 0.27,
-                     haskell-gi-overloading < 1.1,
-                     gi-gobject == 2.0.*,
-                     gi-glib == 2.0.*,
-                     bytestring >= 0.10 && < 1,
-                     containers >= 0.5 && < 1,
-                     text >= 1.0 && < 3,
-                     transformers >= 0.4 && < 1
-
-      -- Disable overloading when compiling under GHC 8.2.x
-      -- see https://ghc.haskell.org/trac/ghc/ticket/14382
-      if impl(ghc == 8.2.*)
-              build-depends: haskell-gi-overloading == 0.0
-
-      -- Note that the following list of exposed modules and autogen
-      -- modules is for documentation purposes only, so that some
-      -- documentation appears in hackage. The actual list of modules
-      -- to be built will be built at configure time, based on the
-      -- available introspection data.
+    ghc-options: -Wall
 
-      exposed-modules: GI.JavaScriptCore.Config,
-                       GI.JavaScriptCore,
-                       GI.JavaScriptCore.Callbacks,
-                       GI.JavaScriptCore.Constants,
-                       GI.JavaScriptCore.Enums,
-                       GI.JavaScriptCore.Flags,
-                       GI.JavaScriptCore.Functions,
-                       GI.JavaScriptCore.Objects,
-                       GI.JavaScriptCore.Objects.Class,
-                       GI.JavaScriptCore.Objects.Context,
-                       GI.JavaScriptCore.Objects.Exception,
-                       GI.JavaScriptCore.Objects.Value,
-                       GI.JavaScriptCore.Objects.VirtualMachine,
-                       GI.JavaScriptCore.Objects.WeakValue,
-                       GI.JavaScriptCore.Structs,
-                       GI.JavaScriptCore.Structs.ClassVTable
+    build-depends: base >= 4.11 && <5,
+                   gi-javascriptcore4 ^>= 4.0.29
 
-      autogen-modules: GI.JavaScriptCore.Config,
-                       GI.JavaScriptCore,
-                       GI.JavaScriptCore.Callbacks,
-                       GI.JavaScriptCore.Constants,
-                       GI.JavaScriptCore.Enums,
-                       GI.JavaScriptCore.Flags,
-                       GI.JavaScriptCore.Functions,
-                       GI.JavaScriptCore.Objects,
-                       GI.JavaScriptCore.Objects.Class,
-                       GI.JavaScriptCore.Objects.Context,
-                       GI.JavaScriptCore.Objects.Exception,
-                       GI.JavaScriptCore.Objects.Value,
-                       GI.JavaScriptCore.Objects.VirtualMachine,
-                       GI.JavaScriptCore.Objects.WeakValue,
-                       GI.JavaScriptCore.Structs,
-                       GI.JavaScriptCore.Structs.ClassVTable
+    default-language: Haskell2010
diff --git a/stack.yaml b/stack.yaml
deleted file mode 100644
--- a/stack.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
-packages:
-- '.'
-resolver: lts-13.7
