summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAzerothCoreBot <azerothcorebot@gmail.com>2021-06-29 17:22:50 +0000
committerAzerothCoreBot <azerothcorebot@gmail.com>2021-06-29 17:22:50 +0000
commitf2d66833e981b1ea4fa83aae57830b25b5227ad6 (patch)
tree4d3e3904f85652a2e5e24b5fdff0f11427f5d29c /doc
parent59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244 (diff)
chore(DB): import pending files
Referenced commit(s): 59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog/master.md85
-rw-r--r--doc/changelog/pendings/changes_1624436208627288700.md20
-rw-r--r--doc/changelog/pendings/changes_1624436916395082900.md40
-rw-r--r--doc/changelog/pendings/changes_1624773257463469100.md11
4 files changed, 85 insertions, 71 deletions
diff --git a/doc/changelog/master.md b/doc/changelog/master.md
index 486dd0b952..b1569578e6 100644
--- a/doc/changelog/master.md
+++ b/doc/changelog/master.md
@@ -1,3 +1,88 @@
+## 4.0.0-dev.7 | Commit: [59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244
+](https://github.com/azerothcore/azerothcore-wotlk/commit/59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244
+
+
+### Removed
+- Old gossips api [#5414](https://github.com/azerothcore/azerothcore-wotlk/pull/5414)
+
+### How to upgrade
+- `player->ADD_GOSSIP_ITEM(whatever)` -> `AddGossipItemFor(player, whatever)`
+- `player->ADD_GOSSIP_ITEM_DB(whatever)` -> `AddGossipItemFor(player, whatever)`
+- `player->ADD_GOSSIP_ITEM_EXTENDED(whatever)` -> `AddGossipItemFor(player, whatever)`
+- `player->CLOSE_GOSSIP_MENU()` -> `CloseGossipMenuFor(player)`
+- `player->SEND_GOSSIP_MENU(textid, creature->GetGUID())` -> `SendGossipMenuFor(player, textid, creature->GetGUID())`
+
+You also need `#include "ScriptedGossip.h"` in your cpp files
+
+## 4.0.0-dev.6 | Commit: [59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244
+](https://github.com/azerothcore/azerothcore-wotlk/commit/59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244
+
+
+### Changed
+- New options for loading scripts `static dynamic minimal-static minimal-dynamic` [#5346](https://github.com/azerothcore/azerothcore-wotlk/pull/5346)
+```
+static - Build statically. Default option. for all scripts (As it was before)
+dynamic - Build dynamically. After start support Dynamic Linking Library (DLL) can make separated library for each script. Now don't support
+minimal-static - builds commands and spells statically
+minimal-dynamic - builds commands and spells dynamically. Now don't support
+```
+- Also the default value which is provided by the `SCRIPTS` variable is overwriteable through the `SCRIPTS_COMMANDS, SCRIPTS_SPELLS...` variable.
+- Each subdirectory contains it's own translation unit now which is responsible for loading it's directory
+- If module using deprecated script loader api, you get error message.
+```cmake
+> Module (mod-ah-bot) using deprecated loader api
+```
+
+### How to upgrade
+- For most modules, the `CMakeLists.txt' file is no longer needed
+- Need change script loader file.
+```
+1. Rename extension in file to `.cpp`
+2. Rename general loading function to `Add(module name with replace all whitespace to '_')Scripts()`.
+3. Delete macros `AC_ADD_SCRIPT_LOADER` from `CMakeLists.txt`
+```
+- Example loader script for modules:
+```cpp
+/*
+ * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
+ */
+
+// From SC
+void AddSC_ServerAutoShutdown();
+
+// Add all scripts
+void Addmod_server_auto_shutdownScripts()
+{
+ AddSC_ServerAutoShutdown();
+}
+```
+- List modules support new script loader api:
+https://github.com/azerothcore/mod-server-auto-shutdown
+
+## 4.0.0-dev.5 | Commit: [59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244
+](https://github.com/azerothcore/azerothcore-wotlk/commit/59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244
+
+
+### Added
+- New cmake option `WITH_STRICT_DATABASE_TYPE_CHECKS` [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
+
+### Changed
+- Prevent mixing databases with query holders [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
+- Prevent using prepared statements on wrong database [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
+- Prevent committing transactions started on a different database [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
+- Convert async queries to new query callbacks [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
+
+### How to upgrade
+- `PreparedStatement`
+```diff
+- PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_LOGONPROOF);
++ LoginDatabasePreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_LOGONPROOF);
+```
+- `SQLTransaction`
+```diff
+- SQLTransaction trans = CharacterDatabase.BeginTransaction();
++ CharacterDatabaseTransaction trans = CharacterDatabase.BeginTransaction();
+```
## 4.0.0-dev.4 | Commit: [fbad1f3d6c27a5d3eea22483913c67a827ab01be
](https://github.com/azerothcore/azerothcore-wotlk/commit/fbad1f3d6c27a5d3eea22483913c67a827ab01be
diff --git a/doc/changelog/pendings/changes_1624436208627288700.md b/doc/changelog/pendings/changes_1624436208627288700.md
deleted file mode 100644
index 61bc2b145f..0000000000
--- a/doc/changelog/pendings/changes_1624436208627288700.md
+++ /dev/null
@@ -1,20 +0,0 @@
-### Added
-- New cmake option `WITH_STRICT_DATABASE_TYPE_CHECKS` [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
-
-### Changed
-- Prevent mixing databases with query holders [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
-- Prevent using prepared statements on wrong database [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
-- Prevent committing transactions started on a different database [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
-- Convert async queries to new query callbacks [#5611](https://github.com/azerothcore/azerothcore-wotlk/pull/5611)
-
-### How to upgrade
-- `PreparedStatement`
-```diff
-- PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_LOGONPROOF);
-+ LoginDatabasePreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_LOGONPROOF);
-```
-- `SQLTransaction`
-```diff
-- SQLTransaction trans = CharacterDatabase.BeginTransaction();
-+ CharacterDatabaseTransaction trans = CharacterDatabase.BeginTransaction();
-``` \ No newline at end of file
diff --git a/doc/changelog/pendings/changes_1624436916395082900.md b/doc/changelog/pendings/changes_1624436916395082900.md
deleted file mode 100644
index 5538879a04..0000000000
--- a/doc/changelog/pendings/changes_1624436916395082900.md
+++ /dev/null
@@ -1,40 +0,0 @@
-### Changed
-- New options for loading scripts `static dynamic minimal-static minimal-dynamic` [#5346](https://github.com/azerothcore/azerothcore-wotlk/pull/5346)
-```
-static - Build statically. Default option. for all scripts (As it was before)
-dynamic - Build dynamically. After start support Dynamic Linking Library (DLL) can make separated library for each script. Now don't support
-minimal-static - builds commands and spells statically
-minimal-dynamic - builds commands and spells dynamically. Now don't support
-```
-- Also the default value which is provided by the `SCRIPTS` variable is overwriteable through the `SCRIPTS_COMMANDS, SCRIPTS_SPELLS...` variable.
-- Each subdirectory contains it's own translation unit now which is responsible for loading it's directory
-- If module using deprecated script loader api, you get error message.
-```cmake
-> Module (mod-ah-bot) using deprecated loader api
-```
-
-### How to upgrade
-- For most modules, the `CMakeLists.txt' file is no longer needed
-- Need change script loader file.
-```
-1. Rename extension in file to `.cpp`
-2. Rename general loading function to `Add(module name with replace all whitespace to '_')Scripts()`.
-3. Delete macros `AC_ADD_SCRIPT_LOADER` from `CMakeLists.txt`
-```
-- Example loader script for modules:
-```cpp
-/*
- * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
- */
-
-// From SC
-void AddSC_ServerAutoShutdown();
-
-// Add all scripts
-void Addmod_server_auto_shutdownScripts()
-{
- AddSC_ServerAutoShutdown();
-}
-```
-- List modules support new script loader api:
-https://github.com/azerothcore/mod-server-auto-shutdown
diff --git a/doc/changelog/pendings/changes_1624773257463469100.md b/doc/changelog/pendings/changes_1624773257463469100.md
deleted file mode 100644
index f5711362f7..0000000000
--- a/doc/changelog/pendings/changes_1624773257463469100.md
+++ /dev/null
@@ -1,11 +0,0 @@
-### Removed
-- Old gossips api [#5414](https://github.com/azerothcore/azerothcore-wotlk/pull/5414)
-
-### How to upgrade
-- `player->ADD_GOSSIP_ITEM(whatever)` -> `AddGossipItemFor(player, whatever)`
-- `player->ADD_GOSSIP_ITEM_DB(whatever)` -> `AddGossipItemFor(player, whatever)`
-- `player->ADD_GOSSIP_ITEM_EXTENDED(whatever)` -> `AddGossipItemFor(player, whatever)`
-- `player->CLOSE_GOSSIP_MENU()` -> `CloseGossipMenuFor(player)`
-- `player->SEND_GOSSIP_MENU(textid, creature->GetGUID())` -> `SendGossipMenuFor(player, textid, creature->GetGUID())`
-
-You also need `#include "ScriptedGossip.h"` in your cpp files