Debian Codegraph @

ansible_collections/lowlydba/sqlserver/CHANGELOG.rst

raw
1 ================================
2 lowlydba.sqlserver Release Notes
3 ================================
4
5 .. contents:: Topics
6
7 v2.8.1
8 ======
9
10 Release Summary
11 ---------------
12
13 Re-release of 2.8.0 code to fix a broken publish workflow.
14
15 v2.8.0
16 ======
17
18 Release Summary
19 ---------------
20
21 Hardened GitHub Actions workflows against supply chain attacks using pinned
22 SHA hashes, scoped permissions, and zizmor security analysis. Added a ``roles``
23 input to the ``user_role`` module for managing multiple database role memberships
24 simultaneously using the ``add``/``remove``/``set`` pattern.
25
26 Minor Changes
27 -------------
28
29 - user_role - Added ``roles`` parameter with ``add``/``remove``/``set`` pattern to manage multiple roles. The existing ``role`` parameter is deprecated and will be removed in 3.0.0. (#352)
30
31 v2.7.0
32 ======
33
34 Release Summary
35 ---------------
36
37 Added output file support for SQL Agent job steps.
38
39 Minor Changes
40 -------------
41
42 - agent_job_step - Added ``output_file`` parameter to specify the output file path for SQL Agent job steps (https://github.com/lowlydba/lowlydba.sqlserver/pull/329).
43
44 v2.6.1
45 ======
46
47 Release Summary
48 ---------------
49
50 Testing updates for Ansible 2.19 compatibility.
51
52 Minor Changes
53 -------------
54
55 - Added support for Ansible 2.19
56 - Updated the test matrix to include Ansible 2.19 and remove Ansible 2.16
57
58 v2.6.0
59 ======
60
61 Release Summary
62 ---------------
63
64 Added support for contained Availability Groups using dbatools 2.1.15 - thanks @DorBreger!
65
66 Minor Changes
67 -------------
68
69 - Added support for contained Availability Groups using dbatools 2.1.15 (https://github.com/lowlydba/lowlydba.sqlserver/pull/249).
70
71 v2.5.0
72 ======
73
74 Release Summary
75 ---------------
76
77 New login_role module for managing server role members!
78
79 Minor Changes
80 -------------
81
82 - Add new `login_role` module to add/remove server roles for logins (https://github.com/lowlydba/lowlydba.sqlserver/pull/293).
83
84 New Modules
85 -----------
86
87 - login_role - Configures a login's server roles.
88
89 v2.4.0
90 ======
91
92 Release Summary
93 ---------------
94
95 New role user_role added to allow adding/removing database roles for users!
96
97 Minor Changes
98 -------------
99
100 - Add new user_role module to manage users' membership to database roles (https://github.com/lowlydba/lowlydba.sqlserver/pull/292).
101
102 New Modules
103 -----------
104
105 - user_role - Configures a user's role in a database.
106
107 v2.3.6
108 ======
109
110 Release Summary
111 ---------------
112
113 Bugfix for creating agent job schedules as explicitly enabled.
114
115 Bugfixes
116 --------
117
118 - Fix error when creating an agent job schedule with `enabled` as true. (https://github.com/lowlydba/lowlydba.sqlserver/pull/288)
119
120 v2.3.5
121 ======
122
123 Release Summary
124 ---------------
125
126 Bugfix for login module when creating new logins.
127
128 Bugfixes
129 --------
130
131 - Fix error that occurred when creating a login with `skip_password_reset` as true. (https://github.com/lowlydba/lowlydba.sqlserver/pull/287)
132
133 v2.3.4
134 ======
135
136 Release Summary
137 ---------------
138
139 Minor bugfix for failed database restores.
140
141 Bugfixes
142 --------
143
144 - Include warning logs in failure output for the restore module to indicate root causes (https://github.com/lowlydba/lowlydba.sqlserver/pull/266).
145
146 v2.3.3
147 ======
148
149 Release Summary
150 ---------------
151
152 Minor bugfix for ag listener input types, thanks @daarrn for the contribution!
153
154 Bugfixes
155 --------
156
157 - fixed the expected type of the ip_address, subnet_ip, and subnet_mask parameters to be lists instead of strings (lowlydba.sqlserver.ag_listener)
158
159 v2.3.2
160 ======
161
162 Release Summary
163 ---------------
164
165 Small fix for documentation and upstream fix available in dbatools v2.1.9.
166
167 Bugfixes
168 --------
169
170 - Update documentation for agent_job_schedule to reflect proper input formatting. (https://github.com/lowlydba/lowlydba.sqlserver/pull/229)
171
172 v2.3.1
173 ======
174
175 Release Summary
176 ---------------
177
178 Update the install script feature to accommodate the latest minor DbOps release (v0.9.x)
179
180 Minor Changes
181 -------------
182
183 - Add new input strings to be compatible with dbops v0.9.x (https://github.com/lowlydba/lowlydba.sqlserver/pull/231)
184
185 v2.3.0
186 ======
187
188 Release Summary
189 ---------------
190
191 New feature from @OsirisDBA for skipping login password resets!
192
193 Minor Changes
194 -------------
195
196 - Add ability to prevent changing login's password, even if password supplied.
197
198 v2.2.3
199 ======
200
201 Release Summary
202 ---------------
203
204 Minor bugfixes.
205
206 Bugfixes
207 --------
208
209 - Add ActiveStartDate to the compare properties so this item is marked accurately as changed.
210 - Fixed the formatting of the SPN by updating the backslash to a forward-slash for the $spn var (lowlydba.sqlserver.spn)
211
212 v2.2.1
213 ======
214
215 Release Summary
216 ---------------
217
218 Bugfix for database module in the context of availability groups.
219
220 Minor Changes
221 -------------
222
223 - Fixes error handling for Remove-DbaDatabase when joined to AvailabilityGroup, exception was not being thrown so we have to parse Status
224
225 v2.2.0
226 ======
227
228 Release Summary
229 ---------------
230
231 Bug fix in the database module.
232
233 Minor Changes
234 -------------
235
236 - Added only_accessible as an optional parameter to the database module (https://github.com/lowlydba/lowlydba.sqlserver/pull/198)
237
238 v2.1.0
239 ======
240
241 Release Summary
242 ---------------
243
244 Add sid to login, thanks @OsirisDBA!
245
246 Minor Changes
247 -------------
248
249 - Add refresh workaround for agent schedule bug where properties returned are stale. (https://github.com/lowlydba/lowlydba.sqlserver/pull/185)
250 - Added SID as an optional parameter to the login module (https://github.com/lowlydba/lowlydba.sqlserver/pull/189)
251
252 v2.0.0
253 ======
254
255 Release Summary
256 ---------------
257
258 A major version bump of DBATools to version 2+. This will guarantee compatibility with PowerShell Core versions 7.3+ and future SQL Server versions. For more information on that release, see https://blog.netnerds.net/2023/03/whats-new-dbatools-2.0/. Outside of major problems, new changes to this collection will not be backported to v1.
259
260 Breaking Changes / Porting Guide
261 --------------------------------
262
263 - Updating minimum DBATools version to v2.0.0 to allow for pwsh 7.3+ compatibility. There may also be breaking change behavior in DBATools, see https://blog.netnerds.net/2023/03/whats-new-dbatools-2.0/. (https://github.com/lowlydba/lowlydba.sqlserver/pull/181)
264
265 v1.3.1
266 ======
267
268 Release Summary
269 ---------------
270
271 Small bugfixes and documentation enhancements.
272
273 Minor Changes
274 -------------
275
276 - Update login module documentation to indicate result will always be changed when a password is supplied. (https://github.com/lowlydba/lowlydba.sqlserver/pull/167)
277
278 Bugfixes
279 --------
280
281 - Fixes to incorrect variable reference in Login module (https://github.com/lowlydba/lowlydba.sqlserver/pull/161)
282
283 v1.3.0
284 ======
285
286 Release Summary
287 ---------------
288
289 New module to manage credentials added!
290
291 Minor Changes
292 -------------
293
294 - Adding a new credential module
295
296 New Modules
297 -----------
298
299 - credential - Configures a credential on a SQL server
300
301 v1.2.1
302 ======
303
304 Release Summary
305 ---------------
306
307 More Azure SQL Managed Instance compatibility fixes.
308
309 Bugfixes
310 --------
311
312 - Added missing mapping for UseDestinationDefaultDirectories (https://github.com/lowlydba/lowlydba.sqlserver/pull/153)
313 - Removed default value for KeepCDC to fix compatability with SQL MI (https://github.com/lowlydba/lowlydba.sqlserver/pull/153)
314 - Removed default value for UseDestinationDefaultDirectories to fix compatability with SQL MI (https://github.com/lowlydba/lowlydba.sqlserver/pull/153)
315
316 v1.2.0
317 ======
318
319 Release Summary
320 ---------------
321
322 Azure SQL MI compatibility fixes & indicating required restarts for settings changes.
323
324 Minor Changes
325 -------------
326
327 - Fixed typo in the traceflag module's documentation. (https://github.com/lowlydba/lowlydba.sqlserver/pull/150)
328 - Return "RestartRequired" when a module performs changes that require an addition service restart to take effect. (https://github.com/lowlydba/lowlydba.sqlserver/pull/150/)
329
330 Bugfixes
331 --------
332
333 - Removed default value for ReplaceDbNameInFile to fix compatability with SQL MI (https://github.com/lowlydba/lowlydba.sqlserver/pull/148)
334
335 v1.1.3
336 ======
337
338 Release Summary
339 ---------------
340
341 Another minor fix to increase SQL Managed Instance support.
342
343 Bugfixes
344 --------
345
346 - Removed default value for reuse_source_folder_structure to fix compatability with SQL MI (https://github.com/lowlydba/lowlydba.sqlserver/pull/145)
347
348 v1.1.2
349 ======
350
351 Release Summary
352 ---------------
353
354 Bug fix for Azure Database Managed Instance compatibility.
355
356 Bugfixes
357 --------
358
359 - Removed the default value for xp_dirtree to allow compatibility with Azure SQL Mangaed instances (https://github.com/lowlydba/lowlydba.sqlserver/pull/141)
360
361 v1.1.1
362 ======
363
364 Minor Changes
365 -------------
366
367 - modules - all modules now document their platform and support for check mode in their attributes documentation (https://github.com/lowlydba/lowlydba.sqlserver/pull/134).
368
369 v1.1.0
370 ======
371
372 Release Summary
373 ---------------
374
375 Adding a new user module.
376
377 New Modules
378 -----------
379
380 - user - Configures a user within a database
381
382 v1.0.4
383 ======
384
385 Release Summary
386 ---------------
387
388 Minor fixes to resolve new dlevel sanity checks.
389
390 Bugfixes
391 --------
392
393 - Fix cleanup_time default to match documentation default & lint fixes (https://github.com/lowlydba/lowlydba.sqlserver/pull/127).
394
395 v1.0.3
396 ======
397
398 Release Summary
399 ---------------
400
401 Minor documentation fixes from the second Ansible inclusion review.
402
403 Bugfixes
404 --------
405
406 - Minor documentation fixes (https://github.com/lowlydba/lowlydba.sqlserver/pull/122).
407
408 v1.0.2
409 ======
410
411 Release Summary
412 ---------------
413
414 Minor documentation bugfixes and enhancements as requested in the Ansible inclusion process.
415
416 Bugfixes
417 --------
418
419 - _SqlServerUtils module_util - added explicit license to private module util (https://github.com/lowlydba/lowlydba.sqlserver/pull/119).
420 - meta/runtime.yml - updated out of date runtime version info (https://github.com/lowlydba/lowlydba.sqlserver/pull/119).
421 - most modules - fixed alignment, formatting, and typos in module documentation (https://github.com/lowlydba/lowlydba.sqlserver/pull/119).
422
423 v1.0.1
424 ======
425
426 Release Summary
427 ---------------
428
429 Minor bug fix.
430
431 Bugfixes
432 --------
433
434 - Fixed bug in how the classifier function name is being assigned to the variable in the resource_governor module.
435
436 v1.0.0
437 ======
438
439 Release Summary
440 ---------------
441
442 Bumping to version 1.0.0 now that this collection is being used in production in at least one place 🎉
443
444 v0.11.2
445 =======
446
447 Release Summary
448 ---------------
449
450 Bumping required dbatools version to ensure the `restore` module works on MacOS PowerShell Core (https://github.com/dataplat/dbatools/pull/8435).
451
452 v0.11.1
453 =======
454
455 Release Summary
456 ---------------
457
458 Bug fixes for AlwaysOn related modules and fixing errors in some documentation examples.
459
460 Bugfixes
461 --------
462
463 - Fix `availability_group` module so that NUL backups can be properly taken if needed.
464 - Fix incorrect examples in `availability_group` module documentation.
465 - Fix incorrect examples in `install_script` module documentation.
466 - Fix incorrect examples in `spn` module documentationb.
467 - Fixed bugs where adding replica did not work properly for several reasons.
468
469 v0.11.0
470 =======
471
472 Release Summary
473 ---------------
474
475 Adding new dbops module.
476
477 New Modules
478 -----------
479
480 - install_script - Runs migration scripts against a database.
481
482 v0.10.1
483 =======
484
485 Release Summary
486 ---------------
487
488 Bug fix for resource_governor.
489
490 Bugfixes
491 --------
492
493 - Fix change detection in resource_governor module.
494
495 v0.10.0
496 =======
497
498 Release Summary
499 ---------------
500
501 The first_responder_kit and tcp_port modules, along with a bump in the required dbatools version.
502
503 Minor Changes
504 -------------
505
506 - Update minimum required DBATools version universally to 1.1.108 to accommodate new tcp module.
507
508 New Modules
509 -----------
510
511 - first_responder_kit - Install/update the First Responder Kit scripts.
512 - tcp_port - Sets the TCP port for the instance.
513
514 v0.9.3
515 ======
516
517 Release Summary
518 ---------------
519
520 More change detection fixing.
521
522 Bugfixes
523 --------
524
525 - memory - Fix improper changed detection.
526
527 v0.9.2
528 ======
529
530 Release Summary
531 ---------------
532
533 Bugfixes for agent related modules that incorrectly reported change statuses.
534
535 Bugfixes
536 --------
537
538 - agent_job - Fix incorrectly reported change status when no change occurred.
539 - agent_job_schedule - Fix incorrectly reported change status when no change occurred.
540 - agent_job_step - Fix incorrectly reported change status when no change occurred.
541
542 v0.9.1
543 ======
544
545 Release Summary
546 ---------------
547
548 Bugfix!
549
550 Bugfixes
551 --------
552
553 - Allow agent job steps to be removed by specifying the step ID only. This is likely needed in cleanup of steps from previous job configurations.
554
555 v0.9.0
556 ======
557
558 Bugfixes
559 --------
560
561 - backup - Only use blocksize when specified.
562
563 New Modules
564 -----------
565
566 - restore - Performs a restore operation.
567
568 v0.8.0
569 ======
570
571 Release Summary
572 ---------------
573
574 A few small fixes and the new 'backup' module.
575
576 Minor Changes
577 -------------
578
579 - Standardize use of 'database' vs 'database_name' in all documentation and options specs. Not a breaking change.
580
581 Bugfixes
582 --------
583
584 - Fix inability to enable an agent job schedule after it has been disabled.
585
586 New Modules
587 -----------
588
589 - backup - Performs a backup operation.
590
591 v0.7.0
592 ======
593
594 Release Summary
595 ---------------
596
597 Add module for DBA Multitool.
598
599 New Modules
600 -----------
601
602 - dba_multitool - Install/update the DBA Multitool suite by John McCAll
603
604 v0.6.0
605 ======
606
607 Release Summary
608 ---------------
609
610 Adding new SPN module
611
612 New Modules
613 -----------
614
615 - spn - Configures SPNs for SQL Server.
616
617 v0.5.0
618 ======
619
620 Release Summary
621 ---------------
622
623 CI and testing improvements, along with the final availability group module ag_replica.
624
625 Minor Changes
626 -------------
627
628 - Remove CI support for Ansible 2.10
629
630 New Modules
631 -----------
632
633 - ag_listener - Configures an availability group listener.
634 - ag_replica - Configures an availability group replica.
635
636 v0.4.0
637 ======
638
639 Release Summary
640 ---------------
641
642 Two new AlwaysOn modules and a few consistency fixes!
643
644 Minor Changes
645 -------------
646
647 - Test for 'Name' property for sa module after dbatools release 1.1.95 standardizes command outputs. (https://github.com/dataplat/dbatools/releases/tag/v1.1.95)
648
649 Breaking Changes / Porting Guide
650 --------------------------------
651
652 - All modules should use a bool 'enabled' instead of a string 'status' to control object state.
653
654 New Modules
655 -----------
656
657 - availability_group - Configures availability group(s).
658 - hadr - Enable or disable HADR.
659
660 v0.3.0
661 ======
662
663 Release Summary
664 ---------------
665
666 New sa module and fixes for login related modules.
667
668 Minor Changes
669 -------------
670
671 - Fix logic to properly pass password policy options to function in the login module.
672
673 New Modules
674 -----------
675
676 - sa - Configure the 'sa' login for security best practices.
677
678 v0.2.0
679 ======
680
681 Release Summary
682 ---------------
683
684 Code cleanup, testing improvements, new _info module!
685
686 Minor Changes
687 -------------
688
689 - Add DbaTools module requirement to documentation and fix missing examples. (https://github.com/lowlydba/lowlydba.sqlserver/pull/47)
690 - Utilize PowerShell Requires for dbatools min version needs instead of custom function. Consolidate/standardize credential setup and serialization. (https://github.com/lowlydba/lowlydba.sqlserver/pull/48)
691
692 New Modules
693 -----------
694
695 - instance_info - Returns basic information for a SQL Server instance.
696
697 v0.1.1
698 ======
699
700 Release Summary
701 ---------------
702
703 Add database tag for Galaxy
704
705 v0.1.0
706 ======
707
708 Release Summary
709 ---------------
710
711 It's a release! First version to publish to Ansible Galaxy.
712
713 New Modules
714 -----------
715
716 - agent_job - Configures a SQL Agent job.
717 - agent_job_category - Configures a SQL Agent job category.
718 - agent_job_schedule - Configures a SQL Agent job schedule.
719 - agent_job_step - Configures a SQL Agent job step.
720 - database - Creates and configures a database.
721 - login - Configures a login for the target SQL Server instance.
722 - maintenance_solution - Install/update Maintenance Solution
723 - memory - Sets the maximum memory for a SQL Server instance.
724 - nonquery - Executes a generic nonquery.
725 - resource_governor - Configures the resource governor on a SQL Server instance.
726 - rg_resource_pool - Configures a resource pool for use by the Resource Governor.
727 - rg_workload_group - Configures a workload group for use by the Resource Governor.
728 - sp_configure - Make instance level system configuration changes via sp_configure.
729 - sp_whoisactive - Install/update sp_whoisactive by Adam Mechanic.
730 - traceflag - Enable or disable global trace flags on a SQL Server instance.