Skip to content

Releases: MarkMpn/Sql4Cds

v10.3.0

03 Feb 08:46
db1848f

Choose a tag to compare

Changes:

See More
  • 3f2c46e Merge pull request #730 from MarkMpn/ai-service
  • cfb5dee Show details of supported models
  • ed8f633 Use configurable list of models
  • 9386d83 AI autocomplete improvements
  • 99e6e53 Improved handling of AI autocomplete responses
  • 0fb1ec8 Skip tests
  • 9c42cb5 Merged from master
  • b992a76 Updated release notes
  • bd3b0a2 Updated gitignore
  • 33461a8 Use public URL for sponsorship client
  • b279192 Added manual credits override option
  • c42e227 Improved button wrapping
  • 277b5fc Fixed wrapping of buttons on mobile layout
  • 0b8f53e Added option to regenerate API key
  • 4377346 Merge pull request #728 from MarkMpn/ssms22
  • 8dc5a27 Run EF Core migrations on startup
  • 000c7a3 Fixed page title
  • c2d94ae Added usage screenshot
  • fd4bdb7 Implemented button to copy API key to clipboard
  • 7643dec Updated organization credit limit
  • 4800e77 Index fixes
  • 4b096db Made hover effect more selective
  • c6cc8a2 Improved display of credit counts
  • 39d74ef Added info on organization sponsorship to home page
  • e40e73b Ensure sponsorship is done as expected user
  • 085b6d7 Show all organizations, not just sponsoring ones
  • 22c00c8 Added info to settings page
  • d83f16b Initial organization support
  • a238f29 Added top-level link to dashboard. Redirect to login as necessary
  • 37e01e7 Updated sponsorship levels. Charge different credits for different models
  • 1ad0a41 Links
  • 33de6e4 Styling
  • 07a8df2 Hide sponsor CTA if already sponsoring
  • f2b4125 Use Azure OpenAI backend
  • 458c0c4 Added option for using sponsorship provider
  • ad9b719 Refactored GitHub sponsorship check
  • eff6c12 Fixed race condition
  • 5482fbb Added index on ApiKey
  • 9d4f862 Initial AI endpoint
  • f6696b4 Show GitHub avatar
  • 83871bd Highlighting
  • 409ba13 Text update
  • b7e7967 Fixed footer overlap
  • a5d657a Added API key generation
  • 0313a26 Show sponsorship details and allow refresh
  • d2b5bce Get credits from sponsorship status
  • 3271a46 Added database
  • 76e112d Added GitHub OAuth
  • b73b23d Initial layout
  • 8a120d0 Fixed error when sorting results on virtual name attribute
  • 603dc81 Tweaked system prompt
  • 4646c2f Made AI autocomplete optional
  • d91eff7 Tidying
  • 5ade187 Improved user feedback
  • a4a5b12 Allow stateful AI client
  • 8e2ad73 Expose the validate_query tool
  • 700825a Allow more reasoning effort for better responses
  • 2b8930a Keep Cancel button enabled when looping over tool outputs
  • 7faae82 AI autocomplete
  • 2e1871a Tidying
  • 278ca6e AI updates
  • 06235c6 SSMS 22 compatibility

This list of changes was auto generated.

v10.2.0

24 Dec 10:10
6203a60

Choose a tag to compare

Merge pull request #727 from MarkMpn/importsequencenumber

v10.2

v10.1.1

03 Nov 18:39
1ce78d9

Choose a tag to compare

Changes:

See More

This list of changes was auto generated.

v10.1.0

02 Sep 07:13
ceb4c56

Choose a tag to compare

Changes:

See More
  • 8ea9e31 Added TRIM overloads
  • 238b90c Updated XTB package
  • 7a248c4 Merge pull request #700 from MarkMpn/coalesce
  • 9c5ab54 Merge branch 'master' into coalesce
  • 7b06f74 Merge pull request #699 from MarkMpn/ambiguous-table
  • 83c7e61 Fixed use of COALESCE & other primary functions in variable assignments [ #698 ]
  • 404d7ee Merge branch 'master' into ambiguous-table
  • afa9de8 Merge pull request #691 from MarkMpn/ssms21
  • cc72be0 Fixed resolving names for DML queries that reference the target table in the source query [ #693 ]
  • 9963bcd Merge branch 'master' into ssms21
  • dc9b636 Merge pull request #696 from MarkMpn/outerapply-filter
  • 75c2a94 Merged from master
  • 395ffbb Merge pull request #695 from MarkMpn/metadata
  • 3ca36a2 Merged from master
  • 62ce8b9 Merge pull request #692 from MarkMpn/binary-literal-filter-2
  • e8863c8 Fixed primary key column description in optionset schema for improved row count estimation when joining to other tables
  • f3ce801 Fold filters to inner side of outer joins for better performance
  • 968bc54 Merge branch 'master' into binary-literal-filter-2
  • 550c054 Merge pull request #694 from MarkMpn/dependabot/npm_and_yarn/AzureDataStudioExtension/tmp-0.2.4
  • 69959c0 Ensure optionset primary key columns are flagged as not null
  • 4b61191 Set up metadata query even if no properties are being requested from it [ #690 ]
  • d6246dd Bump tmp from 0.2.1 to 0.2.4 in /AzureDataStudioExtension
  • 6037a8c Convert binary literals to bigint for use in FetchXML
  • 9e1d545 Publish vsix instead of msi for SSMS21
  • 5daf5c2 Merge pull request #686 from sulimanbenhalim/sulimanbenhalim-minicharteditor-possible-crash-fix
  • 6c06bc6 Fix possible crash in MiniChartEditor

This list of changes was auto generated.

v10.0.0

18 Jul 07:30
48d1806

Choose a tag to compare

Changes:

  • 48d1806 Merge pull request #681 from MarkMpn/v9.6-fixes
  • 0b7a276 Merge branch 'master' into v9.6-fixes
  • 3f7d382 Updated release notes
  • 627b683 Added option to add display name aliases [ #621 ]
  • b414187 Updated package references
  • e7a200d Possible fix for DML multithreading issues
  • 1f48f71 Updated MSTest references
  • 9849564 Removed reference to ScriptDom debugger
  • 3790023 Fixed rounding errors with datetime2 and datetimeoffset when changing scale
  • df4e1f9 Fixed conversion to time
See More
  • 82a1051 Do not spool OPENJSON results [ #682 ]
  • 89c6983 Moved ScriptDom debugger to separate repo
  • b7d08a7 Handle AND/OR within NOT [ #677 ]
  • 6e29dda Removed commented code
  • 92c4095 Load message and recycle bin metadata in background for smoother autocomplete
  • 456cf55 Avoid conflicts between DISTINCT, TOP and aggregates [ #679 ]
  • 509667a Fixed use of DISTINCT with subqueries [ #676 ]
  • 08ff649 Binary data type conversions
  • 2e46652 Expose versionnumber column using RowVersion from retrieved entity and convert to same binary format as used by SQL Server [ #678 ]
  • 0f9ad09 Enabled use of CTEs in INSERT statements [ #596 ]
  • edb5b82 Allow use of CTEs in DELETE and UPDATE statements
  • 89c5801 Added ScriptDom serializers to solution
  • aad8b02 Fixed use of null values in execution plan serializer
  • 34f76c3 Fixed compile error
  • 00c20e4 Allow targeting subqueries in UPDATE statements
  • 077528f Added visualizer support for all new node types
  • f745200 New debug visualiser for ScriptDom
  • 093c049 Fixed stack overflow exception when using custom FetchXML datetime conditions
  • b2d82ff Allow deleting from subquery
  • f941baf Handle duplicated column names from TDS endpoint for DML operations [ #670 ]
  • c05db00 Fixed inserting null literal values into temp tables
  • f0c6bb5 Expose source table/column details for output columns
  • 3975596 Fixed test
  • d8ca9a7 Fixed inserting into principalobjectaccess [ #674 ]
  • 7148aec Do not expose name and type virtual attributes if they already exist as physical attributes
  • e0bbb93 Handle duplicate connection error in same way as other duplicate key errors [ #672, #6 ]
  • dbee262 Wildcard handling improvements
  • 7ab7e35 Merge branch 'v9.6-fixes' of https://github.com/MarkMpn/Sql4Cds into v9.6-fixes
  • 12b8abf Improved error handling for DROP TABLE IF EXISTS [ #664 ]

This list of changes was auto generated.

v9.6.1

30 Apr 18:37
bd263eb

Choose a tag to compare

Changes:

  • bd263eb Merge pull request #669 from MarkMpn/v9.6-fixes
  • bb7a225 Merge branch 'master' into v9.6-fixes
  • 477c7b5 More changelog
  • efaffa2 Updated change log
  • 2d1cc3c Improved null handling when converting "not" conditions from FetchXML to SQL
  • 4e9adaf Do not fold TOP clause to FetchXML for virtual tables [ #656 ]
  • 878a3cc Merge pull request #667 from MarkMpn/v9.6-fixes
  • 411786a Fixed cloning Concatenate nodes [ #665 ]
  • 5b6792d Fixed retrieving activity and elastic table primary keys [ #662 ]
  • faee73c Handle real attributes that have a "type" suffix from another attribute [ #661 ]
See More
  • 0841f1e Fixed DML operations on listmember [ #655 ]
  • a094ec6 Do not use TDS Endpoint for temporary tables [ #663 ]
  • c4a5e79 Added support for more alphanumeric datetime formats [ #657 ]
  • 9a4ea9b Check links to be added for IN/EXISTS predicates are valid before making other changes to the query [ #649 ]
  • ff1e2a4 Fixed arithmetic overflow when adding large row count estimates in Concatenate node [ #651 ]
  • d3aa29d Updated copyright notice
  • d633e08 Do not attempt to restore connections using SDK login control [ #647 ]
  • ae256ab Fixed label on checkbox to restore sessions with the original connection
  • 344b781 Fixed showing the "Confirm close" dialog individually for each tab after already selecting "No" on the same dialog for bulk closing tabs
  • 621bb67 Fixed inserting a primary key value from an existing lookup value [ #643 ]
  • 9660f3f Always include audit.objectid when including audit.changedata to ensure all data is included [ #644, #646 ]

This list of changes was auto generated.

v9.6.0

22 Feb 17:21
9f4364e

Choose a tag to compare

Changes:

See More
  • 49cfaaf Merge pull request #639 from MarkMpn/temp-tables
  • 224cfd5 Merge branch 'temp-tables' of https://github.com/MarkMpn/Sql4Cds into temp-tables
  • 90d4f6c Do not duplicate required columns
  • c938c7c Added error message
  • f2d7493 Ensure an ORDER BY clause is present when using a ROWS/RANGE clause
  • 63c24fd Ensure ranking functions have an ORDER BY clause
  • 40623d4 STRING_AGG is not a valid window function
  • 3a5650f Merge branch 'master' into temp-tables
  • a8ce381 Updated changelog
  • 3e0e8da Merge pull request #638 from MarkMpn/temp-tables
  • a04474c Fixed use of aliases with temporary tables
  • a6cf534 Merge pull request #637 from MarkMpn/window-functions
  • 0fad68e Fixed use of multiple window functions
  • e230069 Merge pull request #635 from MarkMpn/except-error
  • bc91a94 Merge branch 'master' into except-error
  • 524d08f Merge pull request #634 from MarkMpn/nested-loop-duplicate-key
  • a51348c Fixed column selection for EXCEPT/INTERSECT
  • 10357e1 Merge branch 'master' into nested-loop-duplicate-key
  • 819bb61 Allow unpicking layered dictionaries to avoid duplication of parameters
  • ad79f65 Fixed use of cloned connection in multi-threaded partitioned aggregate
  • 480895b Merge pull request #631 from MarkMpn/saved-connection
  • 24d7774 Fixed duplicate key error with nested loop parameters
  • 953f36f Colourize icons in object explorer to match tab icons
  • f728693 Show environment highlight in tab icon
  • 523cc1a Added option to save connection details or not
  • 598dea3 Save & restore connection for each tab [ #394 ]
  • a1fe4ff Merge pull request #628 from MarkMpn/cursors
  • 3d7f68a Merge branch 'cursors' of https://github.com/MarkMpn/Sql4Cds into cursors
  • 747dafc Formatter refactoring
  • 8a4d739 Merge branch 'master' into cursors
  • 9c42859 Formatter improvement
  • a392ada Merge pull request #627 from MarkMpn/cursors
  • 4d83c42 Enforce forward_only cursors
  • cf7b38a Allow using INSERT without explicit column listing with temp tables
  • 37a5cdf Match line spacing in messages view to SSMS
  • 74510a6 Separated fetch & population query column mappings
  • b0b3dae Fixed time & execution count reporting in execution plan view for cursor queries
  • 7f04243 Fixed selection of fallback icon in execution plan view
  • 82f6e44 Allow using SqlNode as a data source
  • e20edca Merged from master
  • 2926c8c Merge pull request #625 from MarkMpn/temp-tables
  • b451664 Added checks for unsupported column features
  • ca0ca26 Merged from master
  • f4a818d Merge pull request #623 from MarkMpn/window-functions
  • e834c71 Merge branch 'master' into window-functions
  • 31ca69c Removed test to check window functions are not supported
  • fdd1803 Fixed stack overflow in recursive CTE
  • 8a27bfa Merge pull request #624 from MarkMpn/security
  • 9e2f919 Updated to .NET 8
  • 8eccf2d Fixed security hotspots from SonarQube
  • e3dd6df Merge branch 'master' into window-functions
  • 11aac0b Use appropriate icon for window spool node
  • 1042b34 Basic window aggregates
  • bd83c6a Perf improvements
  • e07f24c Show elapsed time in execution plan view
  • c8246df Show window spool consumers as lazy spool for consistency with SQL Server
  • 6537ee2 Added basic window aggregate support
  • 3a4e599 Merge pull request #619 from KerryRJ/Fix-sequence-error
  • f7231cf Fixed link to docs
  • 9220b70 Exclude partitionid when searching for a primary key id
  • f300c2c Added RANK and DENSE_RANK support
  • db259d4 Handle all FETCH types
  • 911796a Refactoring to simplify using Guid.TryParse
  • a8ad801 Added test for standard fetch loop
  • 84cf7dc Added FETCH INTO
  • 3f4f5ea Execution plan view more in line with SSMS
  • 643e43f Merged from window-functions
  • 0051c82 Embed window function icons
  • ec2a8f6 Execution plan view
  • df93f55 Update @@FETCH_STATUS variable
  • de0926c Raise correct errors when cursor is open/closed
  • 15f84c4 Extended test
  • 923122b Allow removing variable definition when deallocating cursor
  • 8455297 Fixed handling FETCH query without INTO
  • d8c9fc4 Fixed column name references
  • f6f3e66 Use consistent exception handling
  • e3a11da Keep the same node execution context across resultsets to keep local cursors alive
  • 6bf6e91 Fixed temp table population
  • 5363c02 Merge branch 'temp-tables' into cursors
  • eabc571 Do not show DML confirmation messages for temp tables
  • 43bedb4 Merge branch 'temp-tables' into cursors
  • 69e4e2a Cursor implementation progress
  • 31db506 Merge branch 'window-functions' into cursors
  • b0226f9 Do not introduce redundant ComputeScalarNode when no window functions are present
  • 8fbdc59 Fixed use of non-window functions
  • d233573 Cursor framework
  • ce41fd9 Use consistent method for reporting unsupported statements
  • 9a43f47 Merged from window-functions
  • c78370f Added basic ROW_NUMBER implementation
  • 6f27d6d Fixed case-insensitive column name usage
  • 39c406c Cursor progress
  • 8e4392c Handle msdyn_emission.ownerid column as a string and not a GUID.
  • dc34980 Merged temp table support
  • 53a066a Improved execution plan visualisation
  • 4acb450 Added DELETE and DROP TABLE support
  • 2bcad3b UPDATE compatibility
  • 7e6bad1 Temp table process - CREATE TABLE, INSERT, SELECT
  • 7b684e2 More cursor validation & structure
  • 55f9ef3 Merge remote-tracking branch 'origin/master' into cursors
  • d07c134 Cursor option error checking
  • 1a830cf Cursor basics

This list of changes was auto generated.

v9.5.1

12 Dec 19:24
9b7fb17

Choose a tag to compare

Changes:

  • 9b7fb17 Merge pull request #616 from MarkMpn/slow-conversion
  • f17cc71 Merge branch 'master' into slow-conversion
  • 9ffc8e6 Updated release notes
  • 2d53621 Merge pull request #615 from MarkMpn/slow-conversion
  • 70b6b38 Do not override Equals
  • 5cb65f1 Fixed packaging ADS extension for .NET 8
  • 11a48bc Performance improvements for queries with large number of filter conditions
  • 30326e5 Merge pull request #613 from MarkMpn/in-variables
  • e9bbba1 Fixed use of IN with a single variable

This list of changes was auto generated.

v9.5.0

10 Dec 09:32
53287e4

Choose a tag to compare

Changes:

See More
  • e32dd3e Merge branch 'optionset' of https://github.com/MarkMpn/Sql4Cds into optionset
  • 10f59c8 Fixed nuspec
  • d6013a5 Merge pull request #609 from MarkMpn/optionset
  • 466e5ac Merge branch 'master' into optionset
  • d7e24f2 Fixed exposing optionset metadata and handle null values
  • a6fde45 Merge pull request #606 from MarkMpn/ssms-21
  • 9e65741 Merge branch 'master' into ssms-21
  • 6b305de Autocomplete fixes for sprocs and sproc parameters
  • 967f170 Fixed nuspec for .NET 8
  • f5d8fe1 Fixed handling of anonymous columns in ADS results
  • 535cbd1 Fixed autocomplete of functions that have a defined lookup type parameter
  • 488d65e Merge branch 'ssms-21' of https://github.com/MarkMpn/Sql4Cds into ssms-21
  • 442f2ee Updated changelog
  • 3e6f6c6 Updated to .NET 8
  • ec46b5e Merge pull request #602 from MarkMpn/ssms-21
  • fa0dc95 Merge branch 'master' into ssms-21
  • 4cd8042 Show close window confirmation even when session is remembered, except when closing entire plugin
  • ea007ba Fixed ordering of parameters in generated TVF and sproc scripts [ #601 ]
  • cceb741 Added sponsorship links
  • ed7bbfb Improved handling of comments and whitespace [ #599, #600 ]
  • 3ae08b5 Handle nested primary functions [ #598 ]
  • ecb4f3d Avoid errors with cross-table column comparisons in nested link-entities [ #595 ]
  • 7c3236f Allow querying the values from local optionsets via the metadata.optionsetvalue table
  • 1a6beb2 Merge branch 'ssms-21' of https://github.com/MarkMpn/Sql4Cds into ssms-21
  • fc2986c Expose optionset values via metadata.globaloptionsetvalue [ #543 ]
  • 7253808 Lazy-load metadata of related columns when determining length of virtual __name attribute [ #593 ]
  • 91403e4 Merge pull request #594 from MarkMpn/funding
  • 56a72da Merge branch 'master' into funding
  • 922581d Create FUNDING.yml
  • 793c5fa Merge pull request #592 from MarkMpn/ssms-21
  • d95044c Merge branch 'master' into ssms-21
  • 12e3240 Use correct scale for Azure Data Studio results
  • e3d814a Merge pull request #591 from MarkMpn/issue-templates
  • d17c901 Merge branch 'master' into issue-templates
  • 21a791e Merge pull request #590 from MarkMpn/ssms-21
  • 26c6cc9 Update issue templates
  • acd1aa7 Added INSERT/UPDATE/DELETE support for solutioncomponent
  • 740d011 Merge pull request #586 from MarkMpn/ssms-21
  • 3cc42d8 Updated PR build configuration
  • d3fd5d6 Updated build configuration
  • ff89d7c Updated version script
  • 12e7e15 Merge remote-tracking branch 'origin/master' into ssms-21
  • 6458e2a Merge pull request #585 from MarkMpn/large-inserts
  • 7377792 Removed SSMS 18 & 19
  • 0efc56e Refactored request retrying
  • 8d7b4f6 Added initial SSMS 21 package
  • 1be3e81 Improved stats feedback for large DML operations
  • de62dc1 Merge remote-tracking branch 'origin/master' into large-inserts
  • 3e90c84 Merge pull request #583 from MarkMpn/nested-loop-join-error
  • bee1ac7 Merge branch 'master' into nested-loop-join-error
  • 752db8e Added list of entities that RetrieveTotalRecordCount gives inaccurate results for
  • 5762636 Fixed error when folding single-record joins to nested loop
  • 2531aa1 More intuitive thread scaling & retries
  • eca9902 Handle service protection limit reporting & cancellation for FetchXML and message execution
  • 98290c2 Service protection limit reporting
  • d4360d2 Merge remote-tracking branch 'origin/master' into large-inserts
  • 3343c79 Fixed batch exception handling [ #575 ]

This list of changes was auto generated.

v9.4.1

10 Nov 17:06
15d7236

Choose a tag to compare

Changes:

  • 15d7236 Merge pull request #580 from MarkMpn/v9.4-fixes
  • 99d1f36 Merge branch 'master' into v9.4-fixes
  • 041befa Updated release notes
  • 72d9a9b Merge pull request #579 from MarkMpn/case-insensitive
  • 9c797c2 Fixed use of case-insensitive table names in INSERT statements
  • d8105b1 Merge pull request #578 from MarkMpn/date-filter
  • 0b08139 Merge branch 'master' into date-filter
  • 69c51e1 Improved SQL -> FetchXML conversion of datetime filters [ #576 ]
  • 0dcdf9b Merge pull request #577 from MarkMpn/fetchxml-alias
  • 34d858e Include join alias when converting from Fetch XML to SQL
See More
  • f5cb3cd Merge pull request #574 from MarkMpn/intellisense-comments
  • ff6f01b Fixed intellisense with trailing comments [ #569 ]

This list of changes was auto generated.